Overall: 6149/8732 fields covered
ADC10x40012000: Analog-to-digital converter
84/84 fields covered.
Toggle register map Toggle registers SRstatus register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields AWDBit 0: Analog watchdog flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 1: Regular channel end of conversion.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 2: Injected channel end of conversion.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 3: Injected channel start flag.
Allowed values:
0: NotStarted: No injected channel conversion started
1: Started: Injected channel conversion has started
Bit 4: Regular channel start flag.
Allowed values:
0: NotStarted: No regular channel conversion started
1: Started: Regular channel conversion has started
Bit 5: Overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
control register 1
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields AWDCHBits 0-4: Analog watchdog channel select bits.
Allowed values: 0x0-0x12
EOCIEBit 5: Interrupt enable for EOC.
Allowed values:
0: Disabled: EOC interrupt disabled
1: Enabled: EOC interrupt enabled
Bit 6: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analogue watchdog interrupt disabled
1: Enabled: Analogue watchdog interrupt enabled
Bit 7: Interrupt enable for injected channels.
Allowed values:
0: Disabled: JEOC interrupt disabled
1: Enabled: JEOC interrupt enabled
Bit 8: Scan mode.
Allowed values:
0: Disabled: Scan mode disabled
1: Enabled: Scan mode enabled
Bit 9: Enable the watchdog on a single channel in scan mode.
Allowed values:
0: AllChannels: Analog watchdog enabled on all channels
1: SingleChannel: Analog watchdog enabled on a single channel
Bit 10: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bit 11: Discontinuous mode on regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bit 12: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bits 13-15: Discontinuous mode channel count.
Allowed values: 0x0-0x7
JAWDENBit 22: Analog watchdog enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog disabled on injected channels
1: Enabled: Analog watchdog enabled on injected channels
Bit 23: Analog watchdog enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog disabled on regular channels
1: Enabled: Analog watchdog enabled on regular channels
Bits 24-25: Resolution.
Allowed values:
0: TwelveBit: 12-bit (15 ADCCLK cycles)
1: TenBit: 10-bit (13 ADCCLK cycles)
2: EightBit: 8-bit (11 ADCCLK cycles)
3: SixBit: 6-bit (9 ADCCLK cycles)
Bit 26: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
control register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ADONBit 0: A/D Converter ON / OFF.
Allowed values:
0: Disabled: Disable ADC conversion and go to power down mode
1: Enabled: Enable ADC
Bit 1: Continuous conversion.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 8: Direct memory access mode (for single ADC mode).
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 9: DMA disable selection (for single ADC mode).
Allowed values:
0: Single: No new DMA request is issued after the last transfer
1: Continuous: DMA requests are issued as long as data are converted and DMA=1
Bit 10: End of conversion selection.
Allowed values:
0: EachSequence: The EOC bit is set at the end of each sequence of regular conversions
1: EachConversion: The EOC bit is set at the end of each regular conversion
Bit 11: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bits 16-19: External event select for injected group.
Allowed values:
0: TIM1TRGO: Timer 1 TRGO
1: TIM1CH4: Timer 1 CH4
2: TIM2TRGO: Timer 2 TRGO
3: TIM2CH1: Timer 2 CH1
4: TIM3CH4: Timer 3 CH4
5: TIM4TRGO: Timer 4 TRGO
7: TIM8CH4: Timer 8 CH4
8: TIM1TRGO2: Timer 1 TRGO(2)
9: TIM8TRGO: Timer 8 TRGO
10: TIM8TRGO2: Timer 8 TRGO(2)
11: TIM3CH3: Timer 3 CH3
12: TIM5TRGO: Timer 5 TRGO
13: TIM3CH1: Timer 3 CH1
14: TIM6TRGO: Timer 6 TRGO
Bits 20-21: External trigger enable 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
Bit 22: Start conversion of injected channels.
Allowed values:
1: Start: Starts conversion of injected channels
Bits 24-27: External event select for regular group.
Allowed values:
0: TIM1CH1: Timer 1 CH1
1: TIM1CH2: Timer 1 CH2
2: TIM1CH3: Timer 1 CH3
3: TIM2CH2: Timer 2 CH2
4: TIM5TRGO: Timer 5 TRGO
5: TIM4CH4: Timer 4 CH4
6: TIM3CH4: Timer 3 CH4
7: TIM8TRGO: Timer 8 TRGO
8: TIM8TRGO2: Timer 8 TRGO(2)
9: TIM1TRGO: Timer 1 TRGO
10: TIM1TRGO2: Timer 1 TRGO(2)
11: TIM2TRGO: Timer 2 TRGO
12: TIM4TRGO: Timer 4 TRGO
13: TIM6TRGO: Timer 6 TRGO
15: EXTI11: EXTI line 11
Bits 28-29: External trigger enable 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 30: Start conversion of regular channels.
Allowed values:
1: Start: Starts conversion of regular channels
sample time register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 24-26: Channel 18 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
sample time register 2
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields SMP[0]Bits 0-2: Channel 0 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
injected channel data offset register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[2]injected channel data offset register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[3]injected channel data offset register 3
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[4]injected channel data offset register 4
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 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
HTRwatchdog higher threshold register
Offset: 0x24, size: 32, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HTBits 0-11: Analog watchdog higher threshold.
Allowed values: 0x0-0xfff
LTRwatchdog lower threshold 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 LTBits 0-11: Analog watchdog lower threshold.
Allowed values: 0x0-0xfff
SQR1regular sequence register 1
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[13]Bits 0-4: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[14]Bits 5-9: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[15]Bits 10-14: 15 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[16]Bits 15-19: 16 conversion in regular sequence.
Allowed values: 0x0-0x12
LBits 20-23: Regular channel sequence length.
Allowed values: 0x0-0xf
SQR2regular sequence register 2
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields SQ[7]Bits 0-4: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[8]Bits 5-9: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[9]Bits 10-14: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[10]Bits 15-19: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[11]Bits 20-24: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[12]Bits 25-29: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR3regular sequence register 3
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields SQ[1]Bits 0-4: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[2]Bits 5-9: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[3]Bits 10-14: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[4]Bits 15-19: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[5]Bits 20-24: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[6]Bits 25-29: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
JSQRinjected sequence register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields JSQ[1]Bits 0-4: 1 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[2]Bits 5-9: 2 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[3]Bits 10-14: 3 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[4]Bits 15-19: 4 conversion in injected sequence.
Allowed values: 0x0-0x12
JLBits 20-21: Injected sequence length.
Allowed values: 0x0-0x3
JDR[1]injected data register x
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
JDR[2]injected data register x
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 JDATABits 0-15: Injected data.
JDR[3]injected data register x
Offset: 0x44, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
JDR[4]injected data register x
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
DRregular data register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DATABits 0-15: Regular data.
ADC20x40012100: Analog-to-digital converter
84/84 fields covered.
Toggle register map Toggle registers SRstatus register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields AWDBit 0: Analog watchdog flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 1: Regular channel end of conversion.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 2: Injected channel end of conversion.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 3: Injected channel start flag.
Allowed values:
0: NotStarted: No injected channel conversion started
1: Started: Injected channel conversion has started
Bit 4: Regular channel start flag.
Allowed values:
0: NotStarted: No regular channel conversion started
1: Started: Regular channel conversion has started
Bit 5: Overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
control register 1
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields AWDCHBits 0-4: Analog watchdog channel select bits.
Allowed values: 0x0-0x12
EOCIEBit 5: Interrupt enable for EOC.
Allowed values:
0: Disabled: EOC interrupt disabled
1: Enabled: EOC interrupt enabled
Bit 6: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analogue watchdog interrupt disabled
1: Enabled: Analogue watchdog interrupt enabled
Bit 7: Interrupt enable for injected channels.
Allowed values:
0: Disabled: JEOC interrupt disabled
1: Enabled: JEOC interrupt enabled
Bit 8: Scan mode.
Allowed values:
0: Disabled: Scan mode disabled
1: Enabled: Scan mode enabled
Bit 9: Enable the watchdog on a single channel in scan mode.
Allowed values:
0: AllChannels: Analog watchdog enabled on all channels
1: SingleChannel: Analog watchdog enabled on a single channel
Bit 10: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bit 11: Discontinuous mode on regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bit 12: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bits 13-15: Discontinuous mode channel count.
Allowed values: 0x0-0x7
JAWDENBit 22: Analog watchdog enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog disabled on injected channels
1: Enabled: Analog watchdog enabled on injected channels
Bit 23: Analog watchdog enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog disabled on regular channels
1: Enabled: Analog watchdog enabled on regular channels
Bits 24-25: Resolution.
Allowed values:
0: TwelveBit: 12-bit (15 ADCCLK cycles)
1: TenBit: 10-bit (13 ADCCLK cycles)
2: EightBit: 8-bit (11 ADCCLK cycles)
3: SixBit: 6-bit (9 ADCCLK cycles)
Bit 26: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
control register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ADONBit 0: A/D Converter ON / OFF.
Allowed values:
0: Disabled: Disable ADC conversion and go to power down mode
1: Enabled: Enable ADC
Bit 1: Continuous conversion.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 8: Direct memory access mode (for single ADC mode).
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 9: DMA disable selection (for single ADC mode).
Allowed values:
0: Single: No new DMA request is issued after the last transfer
1: Continuous: DMA requests are issued as long as data are converted and DMA=1
Bit 10: End of conversion selection.
Allowed values:
0: EachSequence: The EOC bit is set at the end of each sequence of regular conversions
1: EachConversion: The EOC bit is set at the end of each regular conversion
Bit 11: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bits 16-19: External event select for injected group.
Allowed values:
0: TIM1TRGO: Timer 1 TRGO
1: TIM1CH4: Timer 1 CH4
2: TIM2TRGO: Timer 2 TRGO
3: TIM2CH1: Timer 2 CH1
4: TIM3CH4: Timer 3 CH4
5: TIM4TRGO: Timer 4 TRGO
7: TIM8CH4: Timer 8 CH4
8: TIM1TRGO2: Timer 1 TRGO(2)
9: TIM8TRGO: Timer 8 TRGO
10: TIM8TRGO2: Timer 8 TRGO(2)
11: TIM3CH3: Timer 3 CH3
12: TIM5TRGO: Timer 5 TRGO
13: TIM3CH1: Timer 3 CH1
14: TIM6TRGO: Timer 6 TRGO
Bits 20-21: External trigger enable 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
Bit 22: Start conversion of injected channels.
Allowed values:
1: Start: Starts conversion of injected channels
Bits 24-27: External event select for regular group.
Allowed values:
0: TIM1CH1: Timer 1 CH1
1: TIM1CH2: Timer 1 CH2
2: TIM1CH3: Timer 1 CH3
3: TIM2CH2: Timer 2 CH2
4: TIM5TRGO: Timer 5 TRGO
5: TIM4CH4: Timer 4 CH4
6: TIM3CH4: Timer 3 CH4
7: TIM8TRGO: Timer 8 TRGO
8: TIM8TRGO2: Timer 8 TRGO(2)
9: TIM1TRGO: Timer 1 TRGO
10: TIM1TRGO2: Timer 1 TRGO(2)
11: TIM2TRGO: Timer 2 TRGO
12: TIM4TRGO: Timer 4 TRGO
13: TIM6TRGO: Timer 6 TRGO
15: EXTI11: EXTI line 11
Bits 28-29: External trigger enable 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 30: Start conversion of regular channels.
Allowed values:
1: Start: Starts conversion of regular channels
sample time register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 24-26: Channel 18 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
sample time register 2
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields SMP[0]Bits 0-2: Channel 0 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
injected channel data offset register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[2]injected channel data offset register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[3]injected channel data offset register 3
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[4]injected channel data offset register 4
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 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
HTRwatchdog higher threshold register
Offset: 0x24, size: 32, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HTBits 0-11: Analog watchdog higher threshold.
Allowed values: 0x0-0xfff
LTRwatchdog lower threshold 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 LTBits 0-11: Analog watchdog lower threshold.
Allowed values: 0x0-0xfff
SQR1regular sequence register 1
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[13]Bits 0-4: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[14]Bits 5-9: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[15]Bits 10-14: 15 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[16]Bits 15-19: 16 conversion in regular sequence.
Allowed values: 0x0-0x12
LBits 20-23: Regular channel sequence length.
Allowed values: 0x0-0xf
SQR2regular sequence register 2
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields SQ[7]Bits 0-4: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[8]Bits 5-9: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[9]Bits 10-14: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[10]Bits 15-19: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[11]Bits 20-24: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[12]Bits 25-29: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR3regular sequence register 3
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields SQ[1]Bits 0-4: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[2]Bits 5-9: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[3]Bits 10-14: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[4]Bits 15-19: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[5]Bits 20-24: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[6]Bits 25-29: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
JSQRinjected sequence register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields JSQ[1]Bits 0-4: 1 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[2]Bits 5-9: 2 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[3]Bits 10-14: 3 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[4]Bits 15-19: 4 conversion in injected sequence.
Allowed values: 0x0-0x12
JLBits 20-21: Injected sequence length.
Allowed values: 0x0-0x3
JDR[1]injected data register x
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
JDR[2]injected data register x
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 JDATABits 0-15: Injected data.
JDR[3]injected data register x
Offset: 0x44, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
JDR[4]injected data register x
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
DRregular data register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DATABits 0-15: Regular data.
ADC30x40012200: Analog-to-digital converter
84/84 fields covered.
Toggle register map Toggle registers SRstatus register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields AWDBit 0: Analog watchdog flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 1: Regular channel end of conversion.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 2: Injected channel end of conversion.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 3: Injected channel start flag.
Allowed values:
0: NotStarted: No injected channel conversion started
1: Started: Injected channel conversion has started
Bit 4: Regular channel start flag.
Allowed values:
0: NotStarted: No regular channel conversion started
1: Started: Regular channel conversion has started
Bit 5: Overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
control register 1
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields AWDCHBits 0-4: Analog watchdog channel select bits.
Allowed values: 0x0-0x12
EOCIEBit 5: Interrupt enable for EOC.
Allowed values:
0: Disabled: EOC interrupt disabled
1: Enabled: EOC interrupt enabled
Bit 6: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analogue watchdog interrupt disabled
1: Enabled: Analogue watchdog interrupt enabled
Bit 7: Interrupt enable for injected channels.
Allowed values:
0: Disabled: JEOC interrupt disabled
1: Enabled: JEOC interrupt enabled
Bit 8: Scan mode.
Allowed values:
0: Disabled: Scan mode disabled
1: Enabled: Scan mode enabled
Bit 9: Enable the watchdog on a single channel in scan mode.
Allowed values:
0: AllChannels: Analog watchdog enabled on all channels
1: SingleChannel: Analog watchdog enabled on a single channel
Bit 10: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bit 11: Discontinuous mode on regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bit 12: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bits 13-15: Discontinuous mode channel count.
Allowed values: 0x0-0x7
JAWDENBit 22: Analog watchdog enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog disabled on injected channels
1: Enabled: Analog watchdog enabled on injected channels
Bit 23: Analog watchdog enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog disabled on regular channels
1: Enabled: Analog watchdog enabled on regular channels
Bits 24-25: Resolution.
Allowed values:
0: TwelveBit: 12-bit (15 ADCCLK cycles)
1: TenBit: 10-bit (13 ADCCLK cycles)
2: EightBit: 8-bit (11 ADCCLK cycles)
3: SixBit: 6-bit (9 ADCCLK cycles)
Bit 26: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
control register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ADONBit 0: A/D Converter ON / OFF.
Allowed values:
0: Disabled: Disable ADC conversion and go to power down mode
1: Enabled: Enable ADC
Bit 1: Continuous conversion.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 8: Direct memory access mode (for single ADC mode).
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 9: DMA disable selection (for single ADC mode).
Allowed values:
0: Single: No new DMA request is issued after the last transfer
1: Continuous: DMA requests are issued as long as data are converted and DMA=1
Bit 10: End of conversion selection.
Allowed values:
0: EachSequence: The EOC bit is set at the end of each sequence of regular conversions
1: EachConversion: The EOC bit is set at the end of each regular conversion
Bit 11: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bits 16-19: External event select for injected group.
Allowed values:
0: TIM1TRGO: Timer 1 TRGO
1: TIM1CH4: Timer 1 CH4
2: TIM2TRGO: Timer 2 TRGO
3: TIM2CH1: Timer 2 CH1
4: TIM3CH4: Timer 3 CH4
5: TIM4TRGO: Timer 4 TRGO
7: TIM8CH4: Timer 8 CH4
8: TIM1TRGO2: Timer 1 TRGO(2)
9: TIM8TRGO: Timer 8 TRGO
10: TIM8TRGO2: Timer 8 TRGO(2)
11: TIM3CH3: Timer 3 CH3
12: TIM5TRGO: Timer 5 TRGO
13: TIM3CH1: Timer 3 CH1
14: TIM6TRGO: Timer 6 TRGO
Bits 20-21: External trigger enable 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
Bit 22: Start conversion of injected channels.
Allowed values:
1: Start: Starts conversion of injected channels
Bits 24-27: External event select for regular group.
Allowed values:
0: TIM1CH1: Timer 1 CH1
1: TIM1CH2: Timer 1 CH2
2: TIM1CH3: Timer 1 CH3
3: TIM2CH2: Timer 2 CH2
4: TIM5TRGO: Timer 5 TRGO
5: TIM4CH4: Timer 4 CH4
6: TIM3CH4: Timer 3 CH4
7: TIM8TRGO: Timer 8 TRGO
8: TIM8TRGO2: Timer 8 TRGO(2)
9: TIM1TRGO: Timer 1 TRGO
10: TIM1TRGO2: Timer 1 TRGO(2)
11: TIM2TRGO: Timer 2 TRGO
12: TIM4TRGO: Timer 4 TRGO
13: TIM6TRGO: Timer 6 TRGO
15: EXTI11: EXTI line 11
Bits 28-29: External trigger enable 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 30: Start conversion of regular channels.
Allowed values:
1: Start: Starts conversion of regular channels
sample time register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 24-26: Channel 18 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
sample time register 2
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields SMP[0]Bits 0-2: Channel 0 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles3: 3 cycles
1: Cycles15: 15 cycles
2: Cycles28: 28 cycles
3: Cycles56: 56 cycles
4: Cycles84: 84 cycles
5: Cycles112: 112 cycles
6: Cycles144: 144 cycles
7: Cycles480: 480 cycles
injected channel data offset register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[2]injected channel data offset register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[3]injected channel data offset register 3
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
JOFR[4]injected channel data offset register 4
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 JOFFSETBits 0-11: Data offset for injected channel.
Allowed values: 0x0-0xfff
HTRwatchdog higher threshold register
Offset: 0x24, size: 32, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HTBits 0-11: Analog watchdog higher threshold.
Allowed values: 0x0-0xfff
LTRwatchdog lower threshold 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 LTBits 0-11: Analog watchdog lower threshold.
Allowed values: 0x0-0xfff
SQR1regular sequence register 1
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[13]Bits 0-4: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[14]Bits 5-9: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[15]Bits 10-14: 15 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[16]Bits 15-19: 16 conversion in regular sequence.
Allowed values: 0x0-0x12
LBits 20-23: Regular channel sequence length.
Allowed values: 0x0-0xf
SQR2regular sequence register 2
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields SQ[7]Bits 0-4: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[8]Bits 5-9: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[9]Bits 10-14: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[10]Bits 15-19: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[11]Bits 20-24: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[12]Bits 25-29: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR3regular sequence register 3
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields SQ[1]Bits 0-4: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[2]Bits 5-9: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[3]Bits 10-14: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[4]Bits 15-19: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[5]Bits 20-24: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[6]Bits 25-29: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
JSQRinjected sequence register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields JSQ[1]Bits 0-4: 1 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[2]Bits 5-9: 2 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[3]Bits 10-14: 3 conversion in injected sequence.
Allowed values: 0x0-0x12
JSQ[4]Bits 15-19: 4 conversion in injected sequence.
Allowed values: 0x0-0x12
JLBits 20-21: Injected sequence length.
Allowed values: 0x0-0x3
JDR[1]injected data register x
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
JDR[2]injected data register x
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 JDATABits 0-15: Injected data.
JDR[3]injected data register x
Offset: 0x44, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
JDR[4]injected data register x
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 JDATABits 0-15: Injected data.
DRregular data register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DATABits 0-15: Regular data.
ADC_Common0x40012300: Common ADC registers
27/27 fields covered.
Toggle register map Toggle registers CSRADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
18/18 fields covered.
Toggle fields AWD1Bit 0: Analog watchdog flag of ADC 1.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 1: End of conversion of ADC 1.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 2: Injected channel end of conversion of ADC 1.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 3: Injected channel Start flag of ADC 1.
Allowed values:
0: NotStarted: No injected channel conversion started
1: Started: Injected channel conversion has started
Bit 4: Regular channel Start flag of ADC 1.
Allowed values:
0: NotStarted: No regular channel conversion started
1: Started: Regular channel conversion has started
Bit 5: Overrun flag of ADC 1.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 8: Analog watchdog flag of ADC 2.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: End of conversion of ADC 2.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 10: Injected channel end of conversion of ADC 2.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 11: Injected channel Start flag of ADC 2.
Allowed values:
0: NotStarted: No injected channel conversion started
1: Started: Injected channel conversion has started
Bit 12: Regular channel Start flag of ADC 2.
Allowed values:
0: NotStarted: No regular channel conversion started
1: Started: Regular channel conversion has started
Bit 13: Overrun flag of ADC 2.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 16: Analog watchdog flag of ADC 3.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 17: End of conversion of ADC 3.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 18: Injected channel end of conversion of ADC 3.
Allowed values:
0: NotComplete: Conversion is not complete
1: Complete: Conversion complete
Bit 19: Injected channel Start flag of ADC 3.
Allowed values:
0: NotStarted: No injected channel conversion started
1: Started: Injected channel conversion has started
Bit 20: Regular channel Start flag of ADC 3.
Allowed values:
0: NotStarted: No regular channel conversion started
1: Started: Regular channel conversion has started
Bit 21: Overrun flag of ADC3.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
ADC common control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields MULTIBits 0-4: Multi ADC mode selection.
Allowed values:
0: Independent: All the ADCs independent: independent mode
1: DualRJ: Dual ADC1 and ADC2, combined regular and injected simultaneous mode
2: DualRA: Dual ADC1 and ADC2, combined regular and alternate trigger mode
5: DualJ: Dual ADC1 and ADC2, injected simultaneous mode only
6: DualR: Dual ADC1 and ADC2, regular simultaneous mode only
7: DualI: Dual ADC1 and ADC2, interleaved mode only
9: DualA: Dual ADC1 and ADC2, alternate trigger mode only
17: TripleRJ: Triple ADC, regular and injected simultaneous mode
18: TripleRA: Triple ADC, regular and alternate trigger mode
21: TripleJ: Triple ADC, injected simultaneous mode only
22: TripleR: Triple ADC, regular simultaneous mode only
23: TripleI: Triple ADC, interleaved mode only
24: TripleA: Triple ADC, alternate trigger mode only
Bits 8-11: Delay between 2 sampling phases.
Allowed values: 0x0-0xf
DDSBit 13: DMA disable selection for multi-ADC mode.
Allowed values:
0: Single: No new DMA request is issued after the last transfer
1: Continuous: DMA requests are issued as long as data are converted and DMA=01, 10 or 11
Bits 14-15: Direct memory access mode for multi ADC mode.
Allowed values:
0: Disabled: DMA mode disabled
1: Mode1: DMA mode 1 enabled (2 / 3 half-words one by one - 1 then 2 then 3)
2: Mode2: DMA mode 2 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
3: Mode3: DMA mode 3 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
Bits 16-17: ADC prescaler.
Allowed values:
0: Div2: PCLK2 divided by 2
1: Div4: PCLK2 divided by 4
2: Div6: PCLK2 divided by 6
3: Div8: PCLK2 divided by 8
Bit 22: VBAT enable.
Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled
Bit 23: Temperature sensor and VREFINT enable.
Allowed values:
0: Disabled: Temperature sensor and V_REFINT channel disabled
1: Enabled: Temperature sensor and V_REFINT channel enabled
ADC common regular data register for dual and triple modes
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATA2Bits 0-15: 1st data item of a pair of regular conversions.
DATA2Bits 16-31: 2nd data item of a pair of regular conversions.
CAN10x40006400: Controller area network
82/266 fields covered.
Toggle register map Toggle registers MCRmaster control register
Offset: 0x0, size: 32, reset: 0x00010002, access: read-write
0/10 fields covered.
Toggle fields INRQBit 0: INRQ.
SLEEPBit 1: SLEEP.
TXFPBit 2: TXFP.
RFLMBit 3: RFLM.
NARTBit 4: NART.
AWUMBit 5: AWUM.
ABOMBit 6: ABOM.
TTCMBit 7: TTCM.
RESETBit 15: RESET.
DBFBit 16: DBF.
MSRmaster status register
Offset: 0x4, size: 32, reset: 0x00000C02, access: Unspecified
6/9 fields covered.
Toggle fields INAKBit 0: INAK.
SLAKBit 1: SLAK.
ERRIBit 2: ERRI.
WKUIBit 3: WKUI.
SLAKIBit 4: SLAKI.
TXMBit 8: TXM.
RXMBit 9: RXM.
SAMPBit 10: SAMP.
RXBit 11: RX.
TSRtransmit status register
Offset: 0x8, size: 32, reset: 0x1C000000, access: Unspecified
7/22 fields covered.
Toggle fields RQCP[0]Bit 0: RQCP0.
TXOK[0]Bit 1: TXOK0.
ALST[0]Bit 2: ALST0.
TERR[0]Bit 3: TERR0.
ABRQ[0]Bit 7: ABRQ0.
RQCP[1]Bit 8: RQCP1.
TXOK[1]Bit 9: TXOK1.
ALST[1]Bit 10: ALST1.
TERR[1]Bit 11: TERR1.
ABRQ[1]Bit 15: ABRQ1.
RQCP[2]Bit 16: RQCP2.
TXOK[2]Bit 17: TXOK2.
ALST[2]Bit 18: ALST2.
TERR[2]Bit 19: TERR2.
ABRQ[2]Bit 23: ABRQ2.
CODEBits 24-25: CODE.
TME[0]Bit 26: Lowest priority flag for mailbox 0.
TME[1]Bit 27: Lowest priority flag for mailbox 1.
TME[2]Bit 28: Lowest priority flag for mailbox 2.
LOW[0]Bit 29: Lowest priority flag for mailbox 0.
LOW[1]Bit 30: Lowest priority flag for mailbox 1.
LOW[2]Bit 31: Lowest priority flag for mailbox 2.
RF[0]Rreceive FIFO 0 register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields FMPBits 0-1: FMP0.
FULLBit 3: FULL0.
Allowed values:
0: NotFull: FIFO x is not full
1: Full: FIFO x is full
Bit 4: FOVR0.
Allowed values:
0: NoOverrun: No FIFO x overrun
1: Overrun: FIFO x overrun
Bit 5: RFOM0.
Allowed values:
1: Release: Set by software to release the output mailbox of the FIFO
receive FIFO 1 register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields FMPBits 0-1: FMP0.
FULLBit 3: FULL0.
Allowed values:
0: NotFull: FIFO x is not full
1: Full: FIFO x is full
Bit 4: FOVR0.
Allowed values:
0: NoOverrun: No FIFO x overrun
1: Overrun: FIFO x overrun
Bit 5: RFOM0.
Allowed values:
1: Release: Set by software to release the output mailbox of the FIFO
interrupt enable register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields TMEIEBit 0: TMEIE.
Allowed values:
0: Disabled: No interrupt when RQCPx bit is set
1: Enabled: Interrupt generated when RQCPx bit is set
Bit 1: FMPIE0.
Allowed values:
0: Disabled: No interrupt generated when state of FMP[1:0] bits are not 00
1: Enabled: Interrupt generated when state of FMP[1:0] bits are not 00b
Bit 2: FFIE0.
Allowed values:
0: Disabled: No interrupt when FULL bit is set
1: Enabled: Interrupt generated when FULL bit is set
Bit 3: FOVIE0.
Allowed values:
0: Disabled: No interrupt when FOVR bit is set
1: Enabled: Interrupt generated when FOVR bit is set
Bit 4: FMPIE1.
Allowed values:
0: Disabled: No interrupt generated when state of FMP[1:0] bits are not 00b
1: Enabled: Interrupt generated when state of FMP[1:0] bits are not 00b
Bit 5: FFIE1.
Allowed values:
0: Disabled: No interrupt when FULL bit is set
1: Enabled: Interrupt generated when FULL bit is set
Bit 6: FOVIE1.
Allowed values:
0: Disabled: No interrupt when FOVR is set
1: Enabled: Interrupt generation when FOVR is set
Bit 8: EWGIE.
Allowed values:
0: Disabled: ERRI bit will not be set when EWGF is set
1: Enabled: ERRI bit will be set when EWGF is set
Bit 9: EPVIE.
Allowed values:
0: Disabled: ERRI bit will not be set when EPVF is set
1: Enabled: ERRI bit will be set when EPVF is set
Bit 10: BOFIE.
Allowed values:
0: Disabled: ERRI bit will not be set when BOFF is set
1: Enabled: ERRI bit will be set when BOFF is set
Bit 11: LECIE.
Allowed values:
0: Disabled: ERRI bit will not be set when the error code in LEC[2:0] is set by hardware on error detection
1: Enabled: ERRI bit will be set when the error code in LEC[2:0] is set by hardware on error detection
Bit 15: ERRIE.
Allowed values:
0: Disabled: No interrupt will be generated when an error condition is pending in the CAN_ESR
1: Enabled: An interrupt will be generation when an error condition is pending in the CAN_ESR
Bit 16: WKUIE.
Allowed values:
0: Disabled: No interrupt when WKUI is set
1: Enabled: Interrupt generated when WKUI bit is set
Bit 17: SLKIE.
Allowed values:
0: Disabled: No interrupt when SLAKI bit is set
1: Enabled: Interrupt generated when SLAKI bit is set
interrupt enable register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
6/6 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RECBit 0: EWGF.
EPVFBit 1: EPVF.
BOFFBit 2: BOFF.
LECBits 4-6: LEC.
Allowed values:
0: NoError: No Error
1: Stuff: Stuff Error
2: Form: Form Error
3: Ack: Acknowledgment Error
4: BitRecessive: Bit recessive Error
5: BitDominant: Bit dominant Error
6: Crc: CRC Error
7: Custom: Set by software
Bits 16-23: TEC.
RECBits 24-31: REC.
BTRbit timing register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
2/6 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SILMBits 0-9: BRP.
TS1Bits 16-19: TS1.
TS2Bits 20-22: TS2.
SJWBits 24-25: SJW.
LBKMBit 30: LBKM.
Allowed values:
0: Disabled: Loop Back Mode disabled
1: Enabled: Loop Back Mode enabled
Bit 31: SILM.
Allowed values:
0: Normal: Normal operation
1: Silent: Silent Mode
TX mailbox identifier register
Offset: 0x180, size: 32, reset: 0x00000000, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 0: TXRQ.
RTRBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
TDTR [0]mailbox data length control and time stamp register
Offset: 0x184, size: 32, reset: 0x00000000, access: read-write
1/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
TGTBit 8: TGT.
TIMEBits 16-31: TIME.
TDLR [0]mailbox data low register
Offset: 0x188, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
TDHR [0]mailbox data high register
Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
TIR [1]TX mailbox identifier register
Offset: 0x190, size: 32, reset: 0x00000000, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 0: TXRQ.
RTRBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
TDTR [1]mailbox data length control and time stamp register
Offset: 0x194, size: 32, reset: 0x00000000, access: read-write
1/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
TGTBit 8: TGT.
TIMEBits 16-31: TIME.
TDLR [1]mailbox data low register
Offset: 0x198, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
TDHR [1]mailbox data high register
Offset: 0x19c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
TIR [2]TX mailbox identifier register
Offset: 0x1a0, size: 32, reset: 0x00000000, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 0: TXRQ.
RTRBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
TDTR [2]mailbox data length control and time stamp register
Offset: 0x1a4, size: 32, reset: 0x00000000, access: read-write
1/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
TGTBit 8: TGT.
TIMEBits 16-31: TIME.
TDLR [2]mailbox data low register
Offset: 0x1a8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
TDHR [2]mailbox data high register
Offset: 0x1ac, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
RIR [0]receive FIFO mailbox identifier register
Offset: 0x1b0, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
RDTR [0]mailbox data high register
Offset: 0x1b4, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
FMIBits 8-15: FMI.
TIMEBits 16-31: TIME.
RDLR [0]mailbox data high register
Offset: 0x1b8, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
RDHR [0]receive FIFO mailbox data high register
Offset: 0x1bc, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
RIR [1]receive FIFO mailbox identifier register
Offset: 0x1c0, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
RDTR [1]mailbox data high register
Offset: 0x1c4, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
FMIBits 8-15: FMI.
TIMEBits 16-31: TIME.
RDLR [1]mailbox data high register
Offset: 0x1c8, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
RDHR [1]receive FIFO mailbox data high register
Offset: 0x1cc, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
FMRfilter master register
Offset: 0x200, size: 32, reset: 0x2A1C0E01, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FINITBit 0: FINIT.
FM1Rfilter mode register
Offset: 0x204, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields FBM[0]Bit 0: Filter mode.
FBM[1]Bit 1: Filter mode.
FBM[2]Bit 2: Filter mode.
FBM[3]Bit 3: Filter mode.
FBM[4]Bit 4: Filter mode.
FBM[5]Bit 5: Filter mode.
FBM[6]Bit 6: Filter mode.
FBM[7]Bit 7: Filter mode.
FBM[8]Bit 8: Filter mode.
FBM[9]Bit 9: Filter mode.
FBM[10]Bit 10: Filter mode.
FBM[11]Bit 11: Filter mode.
FBM[12]Bit 12: Filter mode.
FBM[13]Bit 13: Filter mode.
FS1Rfilter scale register
Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields FSC[0]Bit 0: Filter scale configuration.
FSC[1]Bit 1: Filter scale configuration.
FSC[2]Bit 2: Filter scale configuration.
FSC[3]Bit 3: Filter scale configuration.
FSC[4]Bit 4: Filter scale configuration.
FSC[5]Bit 5: Filter scale configuration.
FSC[6]Bit 6: Filter scale configuration.
FSC[7]Bit 7: Filter scale configuration.
FSC[8]Bit 8: Filter scale configuration.
FSC[9]Bit 9: Filter scale configuration.
FSC[10]Bit 10: Filter scale configuration.
FSC[11]Bit 11: Filter scale configuration.
FSC[12]Bit 12: Filter scale configuration.
FSC[13]Bit 13: Filter scale configuration.
FFA1Rfilter FIFO assignment register
Offset: 0x214, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields FFA[0]Bit 0: Filter FIFO assignment for filter 0.
FFA[1]Bit 1: Filter FIFO assignment for filter 1.
FFA[2]Bit 2: Filter FIFO assignment for filter 2.
FFA[3]Bit 3: Filter FIFO assignment for filter 3.
FFA[4]Bit 4: Filter FIFO assignment for filter 4.
FFA[5]Bit 5: Filter FIFO assignment for filter 5.
FFA[6]Bit 6: Filter FIFO assignment for filter 6.
FFA[7]Bit 7: Filter FIFO assignment for filter 7.
FFA[8]Bit 8: Filter FIFO assignment for filter 8.
FFA[9]Bit 9: Filter FIFO assignment for filter 9.
FFA[10]Bit 10: Filter FIFO assignment for filter 10.
FFA[11]Bit 11: Filter FIFO assignment for filter 11.
FFA[12]Bit 12: Filter FIFO assignment for filter 12.
FFA[13]Bit 13: Filter FIFO assignment for filter 13.
FA1Rfilter activation register
Offset: 0x21c, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields FACT[0]Bit 0: Filter active.
FACT[1]Bit 1: Filter active.
FACT[2]Bit 2: Filter active.
FACT[3]Bit 3: Filter active.
FACT[4]Bit 4: Filter active.
FACT[5]Bit 5: Filter active.
FACT[6]Bit 6: Filter active.
FACT[7]Bit 7: Filter active.
FACT[8]Bit 8: Filter active.
FACT[9]Bit 9: Filter active.
FACT[10]Bit 10: Filter active.
FACT[11]Bit 11: Filter active.
FACT[12]Bit 12: Filter active.
FACT[13]Bit 13: Filter active.
FR1 [0]Filter bank x register 1
Offset: 0x240, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [0]Filter bank x register 2
Offset: 0x244, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [1]Filter bank x register 1
Offset: 0x248, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [1]Filter bank x register 2
Offset: 0x24c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [2]Filter bank x register 1
Offset: 0x250, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [2]Filter bank x register 2
Offset: 0x254, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [3]Filter bank x register 1
Offset: 0x258, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [3]Filter bank x register 2
Offset: 0x25c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [4]Filter bank x register 1
Offset: 0x260, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [4]Filter bank x register 2
Offset: 0x264, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [5]Filter bank x register 1
Offset: 0x268, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [5]Filter bank x register 2
Offset: 0x26c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [6]Filter bank x register 1
Offset: 0x270, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [6]Filter bank x register 2
Offset: 0x274, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [7]Filter bank x register 1
Offset: 0x278, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [7]Filter bank x register 2
Offset: 0x27c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [8]Filter bank x register 1
Offset: 0x280, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [8]Filter bank x register 2
Offset: 0x284, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [9]Filter bank x register 1
Offset: 0x288, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [9]Filter bank x register 2
Offset: 0x28c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [10]Filter bank x register 1
Offset: 0x290, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [10]Filter bank x register 2
Offset: 0x294, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [11]Filter bank x register 1
Offset: 0x298, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [11]Filter bank x register 2
Offset: 0x29c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [12]Filter bank x register 1
Offset: 0x2a0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [12]Filter bank x register 2
Offset: 0x2a4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [13]Filter bank x register 1
Offset: 0x2a8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [13]Filter bank x register 2
Offset: 0x2ac, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [14]Filter bank x register 1
Offset: 0x2b0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [14]Filter bank x register 2
Offset: 0x2b4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [15]Filter bank x register 1
Offset: 0x2b8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [15]Filter bank x register 2
Offset: 0x2bc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [16]Filter bank x register 1
Offset: 0x2c0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [16]Filter bank x register 2
Offset: 0x2c4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [17]Filter bank x register 1
Offset: 0x2c8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [17]Filter bank x register 2
Offset: 0x2cc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [18]Filter bank x register 1
Offset: 0x2d0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [18]Filter bank x register 2
Offset: 0x2d4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [19]Filter bank x register 1
Offset: 0x2d8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [19]Filter bank x register 2
Offset: 0x2dc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [20]Filter bank x register 1
Offset: 0x2e0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [20]Filter bank x register 2
Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [21]Filter bank x register 1
Offset: 0x2e8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [21]Filter bank x register 2
Offset: 0x2ec, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [22]Filter bank x register 1
Offset: 0x2f0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [22]Filter bank x register 2
Offset: 0x2f4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [23]Filter bank x register 1
Offset: 0x2f8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [23]Filter bank x register 2
Offset: 0x2fc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [24]Filter bank x register 1
Offset: 0x300, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [24]Filter bank x register 2
Offset: 0x304, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [25]Filter bank x register 1
Offset: 0x308, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [25]Filter bank x register 2
Offset: 0x30c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [26]Filter bank x register 1
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [26]Filter bank x register 2
Offset: 0x314, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [27]Filter bank x register 1
Offset: 0x318, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [27]Filter bank x register 2
Offset: 0x31c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
CRC0x40023000: Cryptographic processor
10/10 fields covered.
Toggle register map Toggle registers DRData register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DRBits 0-31: Data Register.
Allowed values: 0x0-0xffffffff
DR16Data register - half-word sized
Offset: 0x0, size: 16, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR16Bits 0-15: Data register bits.
Allowed values: 0x0-0xffff
DR8Data register - byte sized
Offset: 0x0, size: 8, reset: 0x000000FF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR8Bits 0-7: Data register bits.
Allowed values: 0x0-0xff
IDRIndependent Data register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 IDRBits 0-7: Independent Data register.
Allowed values: 0x0-0xff
CRControl register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields RESETBit 0: RESET bit.
Allowed values:
1: Reset: Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF
Bits 3-4: Polynomial size.
Allowed values:
0: Polysize32: 32-bit polynomial
1: Polysize16: 16-bit polynomial
2: Polysize8: 8-bit polynomial
3: Polysize7: 7-bit polynomial
Bits 5-6: Reverse input data.
Allowed values:
0: Normal: Bit order not affected
1: Byte: Bit reversal done by byte
2: HalfWord: Bit reversal done by half-word
3: Word: Bit reversal done by word
Bit 7: Reverse output data.
Allowed values:
0: Normal: Bit order not affected
1: Reversed: Bit reversed output
Initial CRC value
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INITBits 0-31: Programmable initial CRC value.
Allowed values: 0x0-0xffffffff
POLCRC polynomial
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 POLBits 0-31: Programmable polynomial.
Allowed values: 0x0-0xffffffff
CRYP0x50060000: Cryptographic processor
7/38 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
Toggle fields ENBit 0: AES enable.
DATATYPEBits 1-2: Data type selection (for data in and data out to/from the cryptographic block).
MODEBits 3-4: AES operating mode.
CHMODBits 5-6: AES chaining mode.
CCFCBit 7: Computation complete flag clear.
ERRCBit 8: Error clear.
CCFIEBit 9: CCF flag interrupt enable.
ERRIEBit 10: Error interrupt enable.
DMAINENBit 11: Enable DMA management of data input phase.
DMAOUTENBit 12: Enable DMA management of data output phase.
GCMPHBits 13-14: Used only for GCM, GMAC and CMAC algorithms and has no effect when other.
KEYSIZEBit 18: Key size selection.
SRstatus register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields CCFBit 0: Computation complete flag.
RDERRBit 1: Read error flag.
WRERRBit 2: Write error flag.
BusyBit 3: Busy flag.
DINRdata input register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DINRBits 0-31: Data input.
DOUTRdata output register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DOUTRBits 0-31: Data output.
KEYR0key register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR0Bits 0-30: Data output register.
KEYR1key register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR1Bits 0-31: Data output register.
KEYR2key register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR2Bits 0-30: Data output register.
KEYR3key register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR3Bits 0-31: Data output register.
IVR0initialization vector register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVR0Bits 0-31: initialization vector register.
IVR1initialization vector register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVR1Bits 0-31: Initialization vector register.
IVR2initialization vector register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVR2Bits 0-31: Initialization vector register.
IVR3initialization vector register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVR3Bits 0-31: Initialization vector register.
KEYR4key registers
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR4Bits 0-31: Data output register.
KEYR5key registers
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR5Bits 0-31: Data output register.
KEYR6key registers
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR6Bits 0-31: Data output register.
KEYR7key registers
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYR7Bits 0-31: Data output register.
SUSP0RSuspend registers
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP0RBits 0-31: AES Suspend.
SUSP1RSuspend registers
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP1RBits 0-31: AES Suspend.
SUSP2RSuspend registers
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP2RBits 0-31: AES Suspend.
SUSP3RSuspend registers
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP3RBits 0-31: IV127.
SUSP4RSuspend registers
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP4RBits 0-31: AES Suspend.
SUSP5RSuspend registers
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP5RBits 0-31: AES Suspend.
SUSP6RSuspend registers
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP6RBits 0-31: AES Suspend.
SUSP7RSuspend registers
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSP7RBits 0-31: AES Suspend.
DAC0x40007400: Digital-to-analog converter
34/34 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields EN[1]Bit 0: DAC channel1 enable.
Allowed values:
0: Disabled: DAC channel X disabled
1: Enabled: DAC channel X enabled
Bit 1: DAC channel1 output buffer disable.
Allowed values:
0: Enabled: DAC channel X output buffer enabled
1: Disabled: DAC channel X output buffer disabled
Bit 2: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC channel X trigger disabled
1: Enabled: DAC channel X trigger enabled
Bits 3-5: DAC channel1 trigger selection.
Allowed values:
0: Tim6Trgo: Timer 6 TRGO event
1: Tim8Trgo: Timer 8 TRGO event
2: Tim7Trgo: Timer 7 TRGO event
3: Tim5Trgo: Timer 5 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Swtrig: Software trigger
Bits 6-7: DAC channel1 noise/triangle wave generation enable.
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2 (+): Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11 (+): Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable.
Allowed values:
0: Disabled: DAC channel X DMA mode disabled
1: Enabled: DAC channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 16: DAC channel2 enable.
Allowed values:
0: Disabled: DAC channel X disabled
1: Enabled: DAC channel X enabled
Bit 17: DAC channel2 output buffer disable.
Allowed values:
0: Enabled: DAC channel X output buffer enabled
1: Disabled: DAC channel X output buffer disabled
Bit 18: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC channel X trigger disabled
1: Enabled: DAC channel X trigger enabled
Bits 19-21: DAC channel2 trigger selection.
Allowed values:
0: Tim6Trgo: Timer 6 TRGO event
1: Tim8Trgo: Timer 8 TRGO event
2: Tim7Trgo: Timer 7 TRGO event
3: Tim5Trgo: Timer 5 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Swtrig: Software trigger
Bits 22-23: DAC channel2 noise/triangle wave generation enable.
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2 (+): Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11 (+): Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable.
Allowed values:
0: Disabled: DAC channel X DMA mode disabled
1: Enabled: DAC channel X DMA mode enabled
Bit 29: DAC channel2 DMA Underrun Interrupt enable.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
Toggle fields SWTRIG[1]Bit 0: DAC channel1 software trigger.
Allowed values:
0: Disabled: DAC channel X software trigger disabled
1: Enabled: DAC channel X software trigger enabled
Bit 1: DAC channel2 software trigger.
Allowed values:
0: Disabled: DAC channel X software trigger disabled
1: Enabled: DAC channel X software trigger enabled
channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12L[1]channel1 12-bit left aligned data holding 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 DACCDHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8R[1]channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12R[2]channel2 12-bit right-aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12L[2]channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8R[2]channel2 8-bit right aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12RDDual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC[2]DHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 16-27: DAC channel2 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12LDDUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC[2]DHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 20-31: DAC channel2 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8RDDUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACC[1]DHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DACC[2]DHRBits 8-15: DAC channel2 8-bit right-aligned data.
Allowed values: 0x0-0xff
DOR[1]channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDORBits 0-11: DAC channel1 data output.
DOR[2]channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDORBits 0-11: DAC channel1 data output.
SRstatus register
Offset: 0x34, 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 DMAUDR[2]Bit 13: DAC channel1 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 29: DAC channel2 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
0xe0042000: Debug support
2/28 fields covered.
Toggle register map Toggle registers IDCODEIDCODE
Offset: 0x0, size: 32, reset: 0x10006411, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 REV_IDBits 0-11: DEV_ID.
REV_IDBits 16-31: REV_ID.
CRControl Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields DBG_SLEEPBit 0: DBG_SLEEP.
DBG_STOPBit 1: DBG_STOP.
DBG_STANDBYBit 2: DBG_STANDBY.
TRACE_IOENBit 5: TRACE_IOEN.
TRACE_MODEBits 6-7: TRACE_MODE.
APB1_FZDebug MCU APB1 Freeze registe
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
Toggle fields DBG_TIM2_STOPBit 0: DBG_TIM2_STOP.
DBG_TIM3_STOPBit 1: DBG_TIM3 _STOP.
DBG_TIM4_STOPBit 2: DBG_TIM4_STOP.
DBG_TIM5_STOPBit 3: DBG_TIM5_STOP.
DBG_TIM6_STOPBit 4: DBG_TIM6_STOP.
DBG_TIM7_STOPBit 5: DBG_TIM7_STOP.
DBG_TIM12_STOPBit 6: DBG_TIM12_STOP.
DBG_TIM13_STOPBit 7: DBG_TIM13_STOP.
DBG_TIM14_STOPBit 8: DBG_TIM14_STOP.
DBG_WWDG_STOPBit 11: DBG_WWDG_STOP.
DBG_IWDG_STOPBit 12: DBG_IWDEG_STOP.
DBG_J2C1_SMBUS_TIMEOUTBit 21: DBG_J2C1_SMBUS_TIMEOUT.
DBG_J2C2_SMBUS_TIMEOUTBit 22: DBG_J2C2_SMBUS_TIMEOUT.
DBG_J2C3SMBUS_TIMEOUTBit 23: DBG_J2C3SMBUS_TIMEOUT.
DBG_CAN1_STOPBit 25: DBG_CAN1_STOP.
DBG_CAN2_STOPBit 26: DBG_CAN2_STOP.
APB2_FZDebug MCU APB2 Freeze registe
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields DBG_TIM1_STOPBit 0: TIM1 counter stopped when core is halted.
DBG_TIM8_STOPBit 1: TIM8 counter stopped when core is halted.
DBG_TIM9_STOPBit 16: TIM9 counter stopped when core is halted.
DBG_TIM10_STOPBit 17: TIM10 counter stopped when core is halted.
DBG_TIM11_STOPBit 18: TIM11 counter stopped when core is halted.
DMA10x40026000: DMA controller
272/296 fields covered.
Toggle register map Toggle registers LISRlow interrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
20/20 fields covered.
Toggle fields FEIF0Bit 0: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 2: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 3: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 4: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 5: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 6: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 8: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 9: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 10: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 11: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 16: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 18: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 19: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 20: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 21: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 22: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 24: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 25: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 26: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 27: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
high interrupt status register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-only
20/20 fields covered.
Toggle fields FEIF4Bit 0: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 2: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 3: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 4: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 5: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 6: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 8: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 9: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 10: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 11: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 16: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 18: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 19: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 20: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 21: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 22: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 24: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 25: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 26: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 27: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
low interrupt flag clear register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
20/20 fields covered.
Toggle fields CFEIF0Bit 0: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 2: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 3: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 4: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 5: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 6: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 8: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 9: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 10: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 11: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 16: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 18: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 19: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 20: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 21: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 22: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 24: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 25: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 26: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 27: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
high interrupt flag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: write-only
20/20 fields covered.
Toggle fields CFEIF4Bit 0: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 2: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 3: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 4: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 5: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 6: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 8: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 9: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 10: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 11: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 16: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 18: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 19: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 20: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 21: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 22: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 24: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 25: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 26: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 27: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
stream x configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [0]stream x number of data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [0]stream x peripheral address register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [0]stream x memory 0 address register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [0]stream x memory 1 address register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [0]stream x FIFO control register
Offset: 0x24, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [1]stream x number of data register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [1]stream x peripheral address register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [1]stream x memory 0 address register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [1]stream x memory 1 address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [1]stream x FIFO control register
Offset: 0x3c, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [2]stream x number of data register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [2]stream x peripheral address register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [2]stream x memory 0 address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [2]stream x memory 1 address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [2]stream x FIFO control register
Offset: 0x54, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [3]stream x number of data register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [3]stream x peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [3]stream x memory 0 address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [3]stream x memory 1 address register
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [3]stream x FIFO control register
Offset: 0x6c, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [4]stream x number of data register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [4]stream x peripheral address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [4]stream x memory 0 address register
Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [4]stream x memory 1 address register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [4]stream x FIFO control register
Offset: 0x84, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [5]stream x number of data register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [5]stream x peripheral address register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [5]stream x memory 0 address register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [5]stream x memory 1 address register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [5]stream x FIFO control register
Offset: 0x9c, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [6]stream x number of data register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [6]stream x peripheral address register
Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [6]stream x memory 0 address register
Offset: 0xac, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [6]stream x memory 1 address register
Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [6]stream x FIFO control register
Offset: 0xb4, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0xb8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [7]stream x number of data register
Offset: 0xbc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [7]stream x peripheral address register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [7]stream x memory 0 address register
Offset: 0xc4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [7]stream x memory 1 address register
Offset: 0xc8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [7]stream x FIFO control register
Offset: 0xcc, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
0x40026400: DMA controller
272/296 fields covered.
Toggle register map Toggle registers LISRlow interrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
20/20 fields covered.
Toggle fields FEIF0Bit 0: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 2: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 3: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 4: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 5: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 6: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 8: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 9: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 10: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 11: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 16: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 18: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 19: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 20: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 21: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 22: Stream x FIFO error interrupt flag (x=3..0).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 24: Stream x direct mode error interrupt flag (x=3..0).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 25: Stream x transfer error interrupt flag (x=3..0).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 26: Stream x half transfer interrupt flag (x=3..0).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 27: Stream x transfer complete interrupt flag (x = 3..0).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
high interrupt status register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-only
20/20 fields covered.
Toggle fields FEIF4Bit 0: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 2: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 3: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 4: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 5: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 6: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 8: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 9: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 10: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 11: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 16: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 18: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 19: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 20: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 21: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
Bit 22: Stream x FIFO error interrupt flag (x=7..4).
Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x
Bit 24: Stream x direct mode error interrupt flag (x=7..4).
Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x
Bit 25: Stream x transfer error interrupt flag (x=7..4).
Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x
Bit 26: Stream x half transfer interrupt flag (x=7..4).
Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x
Bit 27: Stream x transfer complete interrupt flag (x=7..4).
Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x
low interrupt flag clear register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
20/20 fields covered.
Toggle fields CFEIF0Bit 0: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 2: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 3: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 4: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 5: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 6: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 8: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 9: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 10: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 11: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 16: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 18: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 19: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 20: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 21: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 22: Stream x clear FIFO error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 24: Stream x clear direct mode error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 25: Stream x clear transfer error interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 26: Stream x clear half transfer interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 27: Stream x clear transfer complete interrupt flag (x = 3..0).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
high interrupt flag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: write-only
20/20 fields covered.
Toggle fields CFEIF4Bit 0: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 2: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 3: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 4: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 5: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 6: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 8: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 9: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 10: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 11: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 16: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 18: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 19: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 20: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 21: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
Bit 22: Stream x clear FIFO error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding CFEIFx flag
Bit 24: Stream x clear direct mode error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding DMEIFx flag
Bit 25: Stream x clear transfer error interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TEIFx flag
Bit 26: Stream x clear half transfer interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding HTIFx flag
Bit 27: Stream x clear transfer complete interrupt flag (x = 7..4).
Allowed values:
1: Clear: Clear the corresponding TCIFx flag
stream x configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [0]stream x number of data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [0]stream x peripheral address register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [0]stream x memory 0 address register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [0]stream x memory 1 address register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [0]stream x FIFO control register
Offset: 0x24, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [1]stream x number of data register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [1]stream x peripheral address register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [1]stream x memory 0 address register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [1]stream x memory 1 address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [1]stream x FIFO control register
Offset: 0x3c, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [2]stream x number of data register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [2]stream x peripheral address register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [2]stream x memory 0 address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [2]stream x memory 1 address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [2]stream x FIFO control register
Offset: 0x54, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [3]stream x number of data register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [3]stream x peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [3]stream x memory 0 address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [3]stream x memory 1 address register
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [3]stream x FIFO control register
Offset: 0x6c, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [4]stream x number of data register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [4]stream x peripheral address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [4]stream x memory 0 address register
Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [4]stream x memory 1 address register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [4]stream x FIFO control register
Offset: 0x84, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [5]stream x number of data register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [5]stream x peripheral address register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [5]stream x memory 0 address register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [5]stream x memory 1 address register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [5]stream x FIFO control register
Offset: 0x9c, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [6]stream x number of data register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [6]stream x peripheral address register
Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [6]stream x memory 0 address register
Offset: 0xac, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [6]stream x memory 1 address register
Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [6]stream x FIFO control register
Offset: 0xb4, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
stream x configuration register
Offset: 0xb8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields ENBit 0: Stream enable / flag stream ready when read low.
Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled
Bit 1: Direct mode error interrupt enable.
Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled
Bit 2: Transfer error interrupt enable.
Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled
Bit 3: Half transfer interrupt enable.
Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled
Bit 4: Transfer complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 5: Peripheral flow controller.
Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller
Bits 6-7: Data transfer direction.
Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory
Bit 8: Circular mode.
Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled
Bit 9: Peripheral increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bit 10: Memory increment mode.
Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer
Bits 11-12: Peripheral data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bits 13-14: Memory data size.
Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)
Bit 15: Peripheral increment offset size.
Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)
Bits 16-17: Priority level.
Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high
Bit 18: Double buffer mode.
Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer
Bit 19: Current target (only in double buffer mode).
Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1
Bits 21-22: Peripheral burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 23-24: Memory burst transfer configuration.
Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats
Bits 25-28: Channel selection.
Allowed values: 0x0-0xf
NDTR [7]stream x number of data register
Offset: 0xbc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [7]stream x peripheral address register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
M0AR [7]stream x memory 0 address register
Offset: 0xc4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M0ABits 0-31: Memory 0 address.
M1AR [7]stream x memory 1 address register
Offset: 0xc8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 M1ABits 0-31: Memory 1 address (used in case of Double buffer mode).
FCR [7]stream x FIFO control register
Offset: 0xcc, size: 32, reset: 0x00000021, access: Unspecified
4/4 fields covered.
Toggle fields FTHBits 0-1: FIFO threshold selection.
Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO
Bit 2: Direct mode disable.
Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled
Bits 3-5: FIFO status.
Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full
Bit 7: FIFO error interrupt enable.
Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled
0x40013c00: External interrupt/event controller
144/144 fields covered.
Toggle register map Toggle registers IMRInterrupt mask register (EXTI_IMR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields IM[0]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
Event mask register (EXTI_EMR)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields EM[0]Bit 0: Event Mask on line 0.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 1: Event Mask on line 1.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 2: Event Mask on line 2.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 3: Event Mask on line 3.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 4: Event Mask on line 4.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 5: Event Mask on line 5.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 6: Event Mask on line 6.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 7: Event Mask on line 7.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 8: Event Mask on line 8.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 9: Event Mask on line 9.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 10: Event Mask on line 10.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 11: Event Mask on line 11.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 12: Event Mask on line 12.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 13: Event Mask on line 13.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 14: Event Mask on line 14.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 15: Event Mask on line 15.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 16: Event Mask on line 16.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 17: Event Mask on line 17.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 18: Event Mask on line 18.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 19: Event Mask on line 19.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 20: Event Mask on line 20.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 21: Event Mask on line 21.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 22: Event Mask on line 22.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 23: Event Mask on line 23.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Rising Trigger selection register (EXTI_RTSR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields TR[0]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 18: Rising trigger event configuration of line 18.
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 23: Rising trigger event configuration of line 23.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Falling Trigger selection register (EXTI_FTSR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields TR[0]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 18: Falling trigger event configuration of line 18.
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 23: Falling trigger event configuration of line 23.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Software interrupt event register (EXTI_SWIER)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields SWIER[0]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 18: Software Interrupt on line 18.
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
Bit 23: Software Interrupt on line 23.
Allowed values:
1: Pend: Generates an interrupt request
Pending register (EXTI_PR)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields PR[0]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 18: Pending bit 18.
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
Bit 23: Pending bit 23.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
0x40023c00: FLASH
57/57 fields covered.
Toggle register map Toggle registers ACRFlash access control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields LATENCYBits 0-3: Latency.
Allowed values:
0: WS0: 0 wait states
1: WS1: 1 wait states
2: WS2: 2 wait states
3: WS3: 3 wait states
4: WS4: 4 wait states
5: WS5: 5 wait states
6: WS6: 6 wait states
7: WS7: 7 wait states
8: WS8: 8 wait states
9: WS9: 9 wait states
10: WS10: 10 wait states
11: WS11: 11 wait states
12: WS12: 12 wait states
13: WS13: 13 wait states
14: WS14: 14 wait states
15: WS15: 15 wait states
Bit 8: Prefetch enable.
Allowed values:
0: Disabled: Prefetch is disabled
1: Enabled: Prefetch is enabled
Bit 9: ART Accelerator Enable.
Allowed values:
0: Disabled: ART Accelerator is disabled
1: Enabled: ART Accelerator is enabled
Bit 11: ART Accelerator reset.
Allowed values:
0: NoReset: Accelerator is not reset
1: Reset: Accelerator is reset
Flash key register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: FPEC key.
Allowed values: 0x0-0xffffffff
OPTKEYRFlash option key register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OPTKEYRBits 0-31: Option byte key.
Allowed values: 0x0-0xffffffff
SRStatus register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
8/8 fields covered.
Toggle fields EOPBit 0: End of operation.
Allowed values:
0: Inactive: No error
1: Active: One or more Flash operations has/have completed successfully
Bit 1: Operation error.
Allowed values:
0: Inactive: No error
1: Active: A Flash operation request is detected and cannot be run because of parallelism
Bit 4: Write protection error.
Allowed values:
0: Inactive: No error
1: Active: The address to be erased/programmed belongs to a write-protected part of the Flash memory
Bit 5: Programming alignment error.
Allowed values:
0: Inactive: No error
1: Active: The data to program cannot be contained in the same 128-bit Flash memory row
Bit 6: Programming parallelism error.
Allowed values:
0: Inactive: No error
1: Active: The size of the access during the program sequence doesn't correspond to the parallelism configuration PSIZE
Bit 7: Erase Sequence Error.
Allowed values:
0: Inactive: No error
1: Active: A write access to the Flash memory is performed by the code while the control register has not been correctly configured
Bit 8: Read Protection Error (PCROP).
Allowed values:
0: Inactive: No error
1: Active: A read access through the D-bus is performed to an address belonging to a proprietary readout protected Flash sector
Bit 16: Busy.
Allowed values:
0: NotBusy: No Flash memory operation ongoing
1: Busy: Flash memory operation ongoing
Control register
Offset: 0x10, size: 32, reset: 0x80000000, access: read-write
10/10 fields covered.
Toggle fields PGBit 0: Programming.
Allowed values:
1: Program: Flash programming activated
Bit 1: Sector Erase.
Allowed values:
1: SectorErase: Erase activated for selected sector
Bit 2: Mass Erase of sectors 0 to 11.
Allowed values:
1: MassErase: Erase activated for all user sectors
Bits 3-7: Sector number.
Allowed values: 0x0-0xb
PSIZEBits 8-9: Program size.
Allowed values:
0: PSIZE8: Program x8
1: PSIZE16: Program x16
2: PSIZE32: Program x32
3: PSIZE64: Program x64
Bit 16: Start.
Allowed values:
1: Start: Trigger an erase operation
Bit 24: End of operation interrupt enable.
Allowed values:
0: Disabled: End of operation interrupt disabled
1: Enabled: End of operation interrupt enabled
Bit 25: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt generation disabled
1: Enabled: Error interrupt generation enabled
Bit 26: PCROP error interrupt enable.
Allowed values:
0: Disabled: PCROP error interrupt generation disabled
1: Enabled: PCROP error interrupt generation enabled
Bit 31: Lock.
Allowed values:
0: Unlocked: FLASH_CR register is unlocked
1: Locked: FLASH_CR register is locked
Flash option control register
Offset: 0x14, size: 32, reset: 0x0FFFAAED, access: read-write
22/22 fields covered.
Toggle fields OPTLOCKBit 0: Option lock.
Allowed values:
0: Unlocked: The write and erase operations in the Option bytes area are disabled
1: Locked: The write and erase operations in the Option bytes area are enabled
Bit 1: Option start.
Allowed values:
0: Complete: Cleared when BSY bit is cleared in SR
1: Requested: Options modification requested
Bits 2-3: BOR reset Level.
Allowed values:
0: BOR_Off: Reset threshold level for POR/PDR (around 1.7V)
1: BOR_Level1: Reset threshold level for VBOR1 (around 2.2 V)
2: BOR_Level2: Reset threshold level for VBOR2 (around 2.5 V)
3: BOR_Level3: Reset threshold level for VBOR3 (around 2.8 V)
Bit 4: User option bytes.
Allowed values:
0: Hardware: Hardware window watchdog
1: Software: Software window watchdog
Bit 5: WDG_SW User option bytes.
Allowed values:
0: Hardware: Hardware independant watchdog
1: Software: Software independant watchdog
Bit 6: nRST_STOP User option bytes.
Allowed values:
0: Reset: Reset generated when entering Stop mode
1: NoReset: No reset generated
Bit 7: nRST_STDBY User option bytes.
Allowed values:
0: Reset: Reset generated when entering Standby mode
1: NoReset: No reset generated
Bits 8-15: Read protect.
Allowed values:
170: Level0: Read protection not active
204: Level2: Chip read protection active
0 (+): Level1: Read protection of memories active
Bit 16: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 17: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 18: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 19: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 20: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 21: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 22: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 23: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 24: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 25: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 26: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 27: Not write protect.
Allowed values:
0: Active: Write protection active on sector %s
1: Inactive: Write protection inactive on sector %s
Bit 30: Independent watchdog counter freeze in standby mode.
Allowed values:
0: Inactive: IWDG counter frozen in Standby mode
1: Active: IWDG counter active in Standby mode
Bit 31: Independent watchdog counter freeze in Stop mode.
Allowed values:
0: Inactive: IWDG counter frozen in Stop mode
1: Active: IWDG counter active in Stop mode
Flash option control register 1
Offset: 0x18, size: 32, reset: 0x0FFF0000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BOOT_ADD1Bits 0-15: Boot base address when Boot pin =0.
Allowed values:
0: ItcmRam: Boot from ITCM RAM (0x0000 0000)
64: SystemMemoryBootloader: Boot from System memory bootloader (0x0010 0000)
128: FlashItcmInterface: Boot from Flash on ITCM interface (0x0020 0000)
8192: FlashAximInterface: Boot from Flash on AXIM interface (0x0800 0000)
32768: DtcmRam: Boot from DTCM RAM (0x2000 0000)
32772: Sram1: Boot from SRAM1 (0x2001 0000)
32787: Sram2: Boot from SRAM2 (0x2003 C000)
1 (+): BootAddress: Boot from specified address (granularity of 16KB)
Bits 16-31: Boot base address when Boot pin =1.
Allowed values:
0: ItcmRam: Boot from ITCM RAM (0x0000 0000)
64: SystemMemoryBootloader: Boot from System memory bootloader (0x0010 0000)
128: FlashItcmInterface: Boot from Flash on ITCM interface (0x0020 0000)
8192: FlashAximInterface: Boot from Flash on AXIM interface (0x0800 0000)
32768: DtcmRam: Boot from DTCM RAM (0x2000 0000)
32772: Sram1: Boot from SRAM1 (0x2001 0000)
32787: Sram2: Boot from SRAM2 (0x2003 C000)
1 (+): BootAddress: Boot from specified address (granularity of 16KB)
Flash option control register
Offset: 0x1c, size: 32, reset: 0x800000FF, access: read-write
9/9 fields covered.
Toggle fields PCROP[0]Bit 0: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 1: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 2: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 3: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 4: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 5: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 6: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 7: PCROP option byte.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
Bit 31: PCROP zone preserved when RDP level decreased.
Allowed values:
0: Inactive: PCROP protection inactive on sector %s
1: Active: PCROP protection active on sector %s
0xa0000000: Flexible memory controller
173/173 fields covered.
Toggle register map Toggle registers BCR1SRAM/NOR-Flash chip-select control register 1
Offset: 0x0, size: 32, reset: 0x000030D0, access: read-write
16/16 fields covered.
Toggle fields MBKENBit 0: MBKEN.
Allowed values:
0: Disabled: Corresponding memory bank is disabled
1: Enabled: Corresponding memory bank is enabled
Bit 1: MUXEN.
Allowed values:
0: Disabled: Address/Data non-multiplexed
1: Enabled: Address/Data multiplexed on databus
Bits 2-3: MTYP.
Allowed values:
0: SRAM: SRAM memory type
1: PSRAM: PSRAM (CRAM) memory type
2: Flash: NOR Flash/OneNAND Flash
Bits 4-5: MWID.
Allowed values:
0: Bits8: Memory data bus width 8 bits
1: Bits16: Memory data bus width 16 bits
2: Bits32: Memory data bus width 32 bits
Bit 6: FACCEN.
Allowed values:
0: Disabled: Corresponding NOR Flash memory access is disabled
1: Enabled: Corresponding NOR Flash memory access is enabled
Bit 8: BURSTEN.
Allowed values:
0: Disabled: Burst mode disabled
1: Enabled: Burst mode enabled
Bit 9: WAITPOL.
Allowed values:
0: ActiveLow: NWAIT active low
1: ActiveHigh: NWAIT active high
Bit 11: WAITCFG.
Allowed values:
0: BeforeWaitState: NWAIT signal is active one data cycle before wait state
1: DuringWaitState: NWAIT signal is active during wait state
Bit 12: WREN.
Allowed values:
0: Disabled: Write operations disabled for the bank by the FMC
1: Enabled: Write operations enabled for the bank by the FMC
Bit 13: WAITEN.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are taken into account
1: Enabled: NWAIT signal enabled
Bit 14: EXTMOD.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are not taken into account
1: Enabled: Values inside the FMC_BWTR are taken into account
Bit 15: ASYNCWAIT.
Allowed values:
0: Disabled: Wait signal not used in asynchronous mode
1: Enabled: Wait signal used even in asynchronous mode
Bits 16-18: CRAM page size.
Allowed values:
0: NoBurstSplit: No burst split when crossing page boundary
1: Bytes128: 128 bytes CRAM page size
2: Bytes256: 256 bytes CRAM page size
3: Bytes512: 512 bytes CRAM page size
4: Bytes1024: 1024 bytes CRAM page size
Bit 19: CBURSTRW.
Allowed values:
0: Disabled: Write operations are always performed in asynchronous mode
1: Enabled: Write operations are performed in synchronous mode
Bit 20: CCLKEN.
Allowed values:
0: Disabled: The FMC_CLK is generated continuously during asynchronous and synchronous access. The FMC_CLK clock is activated when the CCLKEN is set
1: Enabled: The FMC_CLK is only generated during the synchronous memory access (read/write transaction)
Bit 21: Write FIFO Disable.
Allowed values:
0: Enabled: Write FIFO enabled
1: Disabled: Write FIFO disabled
SRAM/NOR-Flash chip-select timing register 1
Offset: 0x4, size: 32, reset: 0xFFFFFFFF, access: read-write
7/7 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: BUSTURN.
Allowed values: 0x0-0xf
CLKDIVBits 20-23: CLKDIV.
Allowed values: 0x1-0xf
DATLATBits 24-27: DATLAT.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SRAM/NOR-Flash chip-select control register 2
Offset: 0x8, size: 32, reset: 0x000030D0, access: read-write
14/14 fields covered.
Toggle fields MBKENBit 0: MBKEN.
Allowed values:
0: Disabled: Corresponding memory bank is disabled
1: Enabled: Corresponding memory bank is enabled
Bit 1: MUXEN.
Allowed values:
0: Disabled: Address/Data non-multiplexed
1: Enabled: Address/Data multiplexed on databus
Bits 2-3: MTYP.
Allowed values:
0: SRAM: SRAM memory type
1: PSRAM: PSRAM (CRAM) memory type
2: Flash: NOR Flash/OneNAND Flash
Bits 4-5: MWID.
Allowed values:
0: Bits8: Memory data bus width 8 bits
1: Bits16: Memory data bus width 16 bits
2: Bits32: Memory data bus width 32 bits
Bit 6: FACCEN.
Allowed values:
0: Disabled: Corresponding NOR Flash memory access is disabled
1: Enabled: Corresponding NOR Flash memory access is enabled
Bit 8: BURSTEN.
Allowed values:
0: Disabled: Burst mode disabled
1: Enabled: Burst mode enabled
Bit 9: WAITPOL.
Allowed values:
0: ActiveLow: NWAIT active low
1: ActiveHigh: NWAIT active high
Bit 11: WAITCFG.
Allowed values:
0: BeforeWaitState: NWAIT signal is active one data cycle before wait state
1: DuringWaitState: NWAIT signal is active during wait state
Bit 12: WREN.
Allowed values:
0: Disabled: Write operations disabled for the bank by the FMC
1: Enabled: Write operations enabled for the bank by the FMC
Bit 13: WAITEN.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are taken into account
1: Enabled: NWAIT signal enabled
Bit 14: EXTMOD.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are not taken into account
1: Enabled: Values inside the FMC_BWTR are taken into account
Bit 15: ASYNCWAIT.
Allowed values:
0: Disabled: Wait signal not used in asynchronous mode
1: Enabled: Wait signal used even in asynchronous mode
Bits 16-18: CRAM page size.
Allowed values:
0: NoBurstSplit: No burst split when crossing page boundary
1: Bytes128: 128 bytes CRAM page size
2: Bytes256: 256 bytes CRAM page size
3: Bytes512: 512 bytes CRAM page size
4: Bytes1024: 1024 bytes CRAM page size
Bit 19: CBURSTRW.
Allowed values:
0: Disabled: Write operations are always performed in asynchronous mode
1: Enabled: Write operations are performed in synchronous mode
SRAM/NOR-Flash chip-select timing register 2
Offset: 0xc, size: 32, reset: 0xFFFFFFFF, access: read-write
7/7 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: BUSTURN.
Allowed values: 0x0-0xf
CLKDIVBits 20-23: CLKDIV.
Allowed values: 0x1-0xf
DATLATBits 24-27: DATLAT.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SRAM/NOR-Flash chip-select control register 3
Offset: 0x10, size: 32, reset: 0x000030D0, access: read-write
14/14 fields covered.
Toggle fields MBKENBit 0: MBKEN.
Allowed values:
0: Disabled: Corresponding memory bank is disabled
1: Enabled: Corresponding memory bank is enabled
Bit 1: MUXEN.
Allowed values:
0: Disabled: Address/Data non-multiplexed
1: Enabled: Address/Data multiplexed on databus
Bits 2-3: MTYP.
Allowed values:
0: SRAM: SRAM memory type
1: PSRAM: PSRAM (CRAM) memory type
2: Flash: NOR Flash/OneNAND Flash
Bits 4-5: MWID.
Allowed values:
0: Bits8: Memory data bus width 8 bits
1: Bits16: Memory data bus width 16 bits
2: Bits32: Memory data bus width 32 bits
Bit 6: FACCEN.
Allowed values:
0: Disabled: Corresponding NOR Flash memory access is disabled
1: Enabled: Corresponding NOR Flash memory access is enabled
Bit 8: BURSTEN.
Allowed values:
0: Disabled: Burst mode disabled
1: Enabled: Burst mode enabled
Bit 9: WAITPOL.
Allowed values:
0: ActiveLow: NWAIT active low
1: ActiveHigh: NWAIT active high
Bit 11: WAITCFG.
Allowed values:
0: BeforeWaitState: NWAIT signal is active one data cycle before wait state
1: DuringWaitState: NWAIT signal is active during wait state
Bit 12: WREN.
Allowed values:
0: Disabled: Write operations disabled for the bank by the FMC
1: Enabled: Write operations enabled for the bank by the FMC
Bit 13: WAITEN.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are taken into account
1: Enabled: NWAIT signal enabled
Bit 14: EXTMOD.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are not taken into account
1: Enabled: Values inside the FMC_BWTR are taken into account
Bit 15: ASYNCWAIT.
Allowed values:
0: Disabled: Wait signal not used in asynchronous mode
1: Enabled: Wait signal used even in asynchronous mode
Bits 16-18: CRAM page size.
Allowed values:
0: NoBurstSplit: No burst split when crossing page boundary
1: Bytes128: 128 bytes CRAM page size
2: Bytes256: 256 bytes CRAM page size
3: Bytes512: 512 bytes CRAM page size
4: Bytes1024: 1024 bytes CRAM page size
Bit 19: CBURSTRW.
Allowed values:
0: Disabled: Write operations are always performed in asynchronous mode
1: Enabled: Write operations are performed in synchronous mode
SRAM/NOR-Flash chip-select timing register 3
Offset: 0x14, size: 32, reset: 0xFFFFFFFF, access: read-write
7/7 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: BUSTURN.
Allowed values: 0x0-0xf
CLKDIVBits 20-23: CLKDIV.
Allowed values: 0x1-0xf
DATLATBits 24-27: DATLAT.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SRAM/NOR-Flash chip-select control register 4
Offset: 0x18, size: 32, reset: 0x000030D0, access: read-write
14/14 fields covered.
Toggle fields MBKENBit 0: MBKEN.
Allowed values:
0: Disabled: Corresponding memory bank is disabled
1: Enabled: Corresponding memory bank is enabled
Bit 1: MUXEN.
Allowed values:
0: Disabled: Address/Data non-multiplexed
1: Enabled: Address/Data multiplexed on databus
Bits 2-3: MTYP.
Allowed values:
0: SRAM: SRAM memory type
1: PSRAM: PSRAM (CRAM) memory type
2: Flash: NOR Flash/OneNAND Flash
Bits 4-5: MWID.
Allowed values:
0: Bits8: Memory data bus width 8 bits
1: Bits16: Memory data bus width 16 bits
2: Bits32: Memory data bus width 32 bits
Bit 6: FACCEN.
Allowed values:
0: Disabled: Corresponding NOR Flash memory access is disabled
1: Enabled: Corresponding NOR Flash memory access is enabled
Bit 8: BURSTEN.
Allowed values:
0: Disabled: Burst mode disabled
1: Enabled: Burst mode enabled
Bit 9: WAITPOL.
Allowed values:
0: ActiveLow: NWAIT active low
1: ActiveHigh: NWAIT active high
Bit 11: WAITCFG.
Allowed values:
0: BeforeWaitState: NWAIT signal is active one data cycle before wait state
1: DuringWaitState: NWAIT signal is active during wait state
Bit 12: WREN.
Allowed values:
0: Disabled: Write operations disabled for the bank by the FMC
1: Enabled: Write operations enabled for the bank by the FMC
Bit 13: WAITEN.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are taken into account
1: Enabled: NWAIT signal enabled
Bit 14: EXTMOD.
Allowed values:
0: Disabled: Values inside the FMC_BWTR are not taken into account
1: Enabled: Values inside the FMC_BWTR are taken into account
Bit 15: ASYNCWAIT.
Allowed values:
0: Disabled: Wait signal not used in asynchronous mode
1: Enabled: Wait signal used even in asynchronous mode
Bits 16-18: CRAM page size.
Allowed values:
0: NoBurstSplit: No burst split when crossing page boundary
1: Bytes128: 128 bytes CRAM page size
2: Bytes256: 256 bytes CRAM page size
3: Bytes512: 512 bytes CRAM page size
4: Bytes1024: 1024 bytes CRAM page size
Bit 19: CBURSTRW.
Allowed values:
0: Disabled: Write operations are always performed in asynchronous mode
1: Enabled: Write operations are performed in synchronous mode
SRAM/NOR-Flash chip-select timing register 4
Offset: 0x1c, size: 32, reset: 0xFFFFFFFF, access: read-write
7/7 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: BUSTURN.
Allowed values: 0x0-0xf
CLKDIVBits 20-23: CLKDIV.
Allowed values: 0x1-0xf
DATLATBits 24-27: DATLAT.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
PC Card/NAND Flash control register
Offset: 0x80, size: 32, reset: 0x00000018, access: read-write
8/8 fields covered.
Toggle fields PWAITENBit 1: PWAITEN.
Allowed values:
0: Disabled: Wait feature disabled
1: Enabled: Wait feature enabled
Bit 2: PBKEN.
Allowed values:
0: Disabled: Corresponding memory bank is disabled
1: Enabled: Corresponding memory bank is enabled
Bit 3: PTYP.
Allowed values:
1: NANDFlash: NAND Flash
Bits 4-5: PWID.
Allowed values:
0: Bits8: External memory device width 8 bits
1: Bits16: External memory device width 16 bits
Bit 6: ECCEN.
Allowed values:
0: Disabled: ECC logic is disabled and reset
1: Enabled: ECC logic is enabled
Bits 9-12: TCLR.
Allowed values: 0x0-0xf
TARBits 13-16: TAR.
Allowed values: 0x0-0xf
ECCPSBits 17-19: ECCPS.
Allowed values:
0: Bytes256: ECC page size 256 bytes
1: Bytes512: ECC page size 512 bytes
2: Bytes1024: ECC page size 1024 bytes
3: Bytes2048: ECC page size 2048 bytes
4: Bytes4096: ECC page size 4096 bytes
5: Bytes8192: ECC page size 8192 bytes
FIFO status and interrupt register
Offset: 0x84, size: 32, reset: 0x00000040, access: Unspecified
7/7 fields covered.
Toggle fields IRSBit 0: IRS.
Allowed values:
0: DidNotOccur: Interrupt rising edge did not occur
1: Occurred: Interrupt rising edge occurred
Bit 1: ILS.
Allowed values:
0: DidNotOccur: Interrupt high-level did not occur
1: Occurred: Interrupt high-level occurred
Bit 2: IFS.
Allowed values:
0: DidNotOccur: Interrupt falling edge did not occur
1: Occurred: Interrupt falling edge occurred
Bit 3: IREN.
Allowed values:
0: Disabled: Interrupt rising edge detection request disabled
1: Enabled: Interrupt rising edge detection request enabled
Bit 4: ILEN.
Allowed values:
0: Disabled: Interrupt high-level detection request disabled
1: Enabled: Interrupt high-level detection request enabled
Bit 5: IFEN.
Allowed values:
0: Disabled: Interrupt falling edge detection request disabled
1: Enabled: Interrupt falling edge detection request enabled
Bit 6: FEMPT.
Allowed values:
0: NotEmpty: FIFO not empty
1: Empty: FIFO empty
Common memory space timing register
Offset: 0x88, size: 32, reset: 0xFCFCFCFC, access: read-write
4/4 fields covered.
Toggle fields MEMSETBits 0-7: MEMSETx.
Allowed values: 0x0-0xfe
MEMWAITBits 8-15: MEMWAITx.
Allowed values: 0x1-0xfe
MEMHOLDBits 16-23: MEMHOLDx.
Allowed values: 0x1-0xfe
MEMHIZBits 24-31: MEMHIZx.
Allowed values: 0x0-0xfe
PATTAttribute memory space timing register
Offset: 0x8c, size: 32, reset: 0xFCFCFCFC, access: read-write
4/4 fields covered.
Toggle fields ATTSETBits 0-7: ATTSETx.
Allowed values: 0x0-0xfe
ATTWAITBits 8-15: ATTWAITx.
Allowed values: 0x1-0xfe
ATTHOLDBits 16-23: ATTHOLDx.
Allowed values: 0x1-0xfe
ATTHIZBits 24-31: ATTHIZx.
Allowed values: 0x0-0xfe
ECCRECC result register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ECCBits 0-31: ECCx.
Allowed values: 0x0-0xffffffff
BWTR[1]SRAM/NOR-Flash write timing registers 1
Offset: 0x104, size: 32, reset: 0x0FFFFFFF, access: read-write
5/5 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: Bus turnaround phase duration.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SRAM/NOR-Flash write timing registers 2
Offset: 0x10c, size: 32, reset: 0x0FFFFFFF, access: read-write
5/5 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: Bus turnaround phase duration.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SRAM/NOR-Flash write timing registers 3
Offset: 0x114, size: 32, reset: 0x0FFFFFFF, access: read-write
5/5 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: Bus turnaround phase duration.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SRAM/NOR-Flash write timing registers 4
Offset: 0x11c, size: 32, reset: 0x0FFFFFFF, access: read-write
5/5 fields covered.
Toggle fields ADDSETBits 0-3: ADDSET.
Allowed values: 0x0-0xf
ADDHLDBits 4-7: ADDHLD.
Allowed values: 0x1-0xf
DATASTBits 8-15: DATAST.
Allowed values: 0x1-0xff
BUSTURNBits 16-19: Bus turnaround phase duration.
Allowed values: 0x0-0xf
ACCMODBits 28-29: ACCMOD.
Allowed values:
0: A: Access mode A
1: B: Access mode B
2: C: Access mode C
3: D: Access mode D
SDRAM Control Register 1
Offset: 0x140, size: 32, reset: 0x000002D0, access: read-write
9/9 fields covered.
Toggle fields NCBits 0-1: Number of column address bits.
Allowed values:
0: Bits8: 8 bits
1: Bits9: 9 bits
2: Bits10: 10 bits
3: Bits11: 11 bits
Bits 2-3: Number of row address bits.
Allowed values:
0: Bits11: 11 bits
1: Bits12: 12 bits
2: Bits13: 13 bits
Bits 4-5: Memory data bus width.
Allowed values:
0: Bits8: Memory data bus width 8 bits
1: Bits16: Memory data bus width 16 bits
2: Bits32: Memory data bus width 32 bits
Bit 6: Number of internal banks.
Allowed values:
0: NB2: Two internal Banks
1: NB4: Four internal Banks
Bits 7-8: CAS latency.
Allowed values:
1: Clocks1: 1 cycle
2: Clocks2: 2 cycles
3: Clocks3: 3 cycles
Bit 9: Write protection.
Allowed values:
0: Disabled: Write accesses allowed
1: Enabled: Write accesses ignored
Bits 10-11: SDRAM clock configuration.
Allowed values:
0: Disabled: SDCLK clock disabled
2: Div2: SDCLK period = 2 x HCLK period
3: Div3: SDCLK period = 3 x HCLK period
Bit 12: Burst read.
Allowed values:
0: Disabled: Single read requests are not managed as bursts
1: Enabled: Single read requests are always managed as bursts
Bits 13-14: Read pipe.
Allowed values:
0: NoDelay: No clock cycle delay
1: Clocks1: One clock cycle delay
2: Clocks2: Two clock cycles delay
SDRAM Control Register 2
Offset: 0x144, size: 32, reset: 0x000002D0, access: read-write
8/8 fields covered.
Toggle fields NCBits 0-1: Number of column address bits.
Allowed values:
0: Bits8: 8 bits
1: Bits9: 9 bits
2: Bits10: 10 bits
3: Bits11: 11 bits
Bits 2-3: Number of row address bits.
Allowed values:
0: Bits11: 11 bits
1: Bits12: 12 bits
2: Bits13: 13 bits
Bits 4-5: Memory data bus width.
Allowed values:
0: Bits8: Memory data bus width 8 bits
1: Bits16: Memory data bus width 16 bits
2: Bits32: Memory data bus width 32 bits
Bit 6: Number of internal banks.
Allowed values:
0: NB2: Two internal Banks
1: NB4: Four internal Banks
Bits 7-8: CAS latency.
Allowed values:
1: Clocks1: 1 cycle
2: Clocks2: 2 cycles
3: Clocks3: 3 cycles
Bit 9: Write protection.
Allowed values:
0: Disabled: Write accesses allowed
1: Enabled: Write accesses ignored
Bits 10-11: SDRAM clock configuration.
Allowed values:
0: Disabled: SDCLK clock disabled
2: Div2: SDCLK period = 2 x HCLK period
3: Div3: SDCLK period = 3 x HCLK period
Bit 12: Burst read.
Allowed values:
0: Disabled: Single read requests are not managed as bursts
1: Enabled: Single read requests are always managed as bursts
SDRAM Timing register 1
Offset: 0x148, size: 32, reset: 0x0FFFFFFF, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TRCDBits 0-3: Load Mode Register to Active.
Allowed values: 0x0-0xf
TXSRBits 4-7: Exit self-refresh delay.
Allowed values: 0x0-0xf
TRASBits 8-11: Self refresh time.
Allowed values: 0x0-0xf
TRCBits 12-15: Row cycle delay.
Allowed values: 0x0-0xf
TWRBits 16-19: Recovery delay.
Allowed values: 0x0-0xf
TRPBits 20-23: Row precharge delay.
Allowed values: 0x0-0xf
TRCDBits 24-27: Row to column delay.
Allowed values: 0x0-0xf
SDTR[2]SDRAM Timing register 2
Offset: 0x14c, size: 32, reset: 0x0FFFFFFF, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TRCDBits 0-3: Load Mode Register to Active.
Allowed values: 0x0-0xf
TXSRBits 4-7: Exit self-refresh delay.
Allowed values: 0x0-0xf
TRASBits 8-11: Self refresh time.
Allowed values: 0x0-0xf
TRCBits 12-15: Row cycle delay.
Allowed values: 0x0-0xf
TWRBits 16-19: Recovery delay.
Allowed values: 0x0-0xf
TRPBits 20-23: Row precharge delay.
Allowed values: 0x0-0xf
TRCDBits 24-27: Row to column delay.
Allowed values: 0x0-0xf
SDCMRSDRAM Command Mode register
Offset: 0x150, 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 MRDBits 0-2: Command mode.
Allowed values:
0: Normal: Normal Mode
1: ClockConfigurationEnable: Clock Configuration Enable
2: PALL: PALL (All Bank Precharge) command
3: AutoRefreshCommand: Auto-refresh command
4: LoadModeRegister: Load Mode Resgier
5: SelfRefreshCommand: Self-refresh command
6: PowerDownCommand: Power-down command
Bit 3: Command target bank 2.
Allowed values:
0: NotIssued: Command not issued to SDRAM Bank 1
1: Issued: Command issued to SDRAM Bank 1
Bit 4: Command target bank 1.
Allowed values:
0: NotIssued: Command not issued to SDRAM Bank 1
1: Issued: Command issued to SDRAM Bank 1
Bits 5-8: Number of Auto-refresh.
Allowed values: 0x0-0xf
MRDBits 9-21: Mode Register definition.
Allowed values: 0x0-0x1fff
SDRTRSDRAM Refresh Timer register
Offset: 0x154, 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 REIEBit 0: Clear Refresh error flag.
Allowed values:
1: Clear: Refresh Error Flag is cleared
Bits 1-13: Refresh Timer Count.
Allowed values: 0x0-0x1fff
REIEBit 14: RES Interrupt Enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated if RE = 1
SDRAM Status register
Offset: 0x158, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields REBit 0: Refresh error flag.
Allowed values:
0: NoError: No refresh error has been detected
1: Error: A refresh error has been detected
Bits 1-2: Status Mode for Bank 1.
Allowed values:
0: Normal: Normal Mode
1: SelfRefresh: Self-refresh mode
2: PowerDown: Power-down mode
Bits 3-4: Status Mode for Bank 2.
Allowed values:
0: Normal: Normal Mode
1: SelfRefresh: Self-refresh mode
2: PowerDown: Power-down mode
Bit 5: Busy status.
Allowed values:
0: NotBusy: SDRAM Controller is ready to accept a new request
1: Busy: SDRAM Controller is not ready to accept a new request
0x40020000: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xA8000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x64000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40020400: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000280, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x000000C0, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000100, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40020800: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40020c00: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40021000: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40021400: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40021800: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40021c00: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40022000: General-purpose I/Os
161/161 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function lowregister
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
0x40005400: Inter-integrated circuit
75/75 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields SADDBits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
RELOADBit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
TEXTENBit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
Toggle fields TXEBit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
I2C20x40005800: Inter-integrated circuit
75/75 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields SADDBits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
RELOADBit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
TEXTENBit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
Toggle fields TXEBit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
I2C30x40005c00: Inter-integrated circuit
75/75 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields SADDBits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
RELOADBit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
TEXTENBit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
Toggle fields TXEBit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
IWDG0x40003000: Independent watchdog
7/7 fields covered.
Toggle register map Offset Name31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) KR KEY 0x4 (16-bit) PR PR 0x8 (16-bit) RLR RL 0xc (16-bit) SR WVU RVU PVU 0x10 (16-bit) WINR WIN Toggle registers KRKey register
Offset: 0x0, size: 16, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 KEYBits 0-15: Key value (write only, read 0000h).
Allowed values:
21845: Unlock: Enable access to PR, RLR and WINR registers
43690: Feed: Feed watchdog with RLR register value
52428: Start: Start the watchdog
Prescaler register
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PRBits 0-2: Prescaler divider.
Allowed values:
0: DivideBy4: Divider /4
1: DivideBy8: Divider /8
2: DivideBy16: Divider /16
3: DivideBy32: Divider /32
4: DivideBy64: Divider /64
5: DivideBy128: Divider /128
6 (+): DivideBy256: Divider /256
Reload register
Offset: 0x8, size: 16, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RLBits 0-11: Watchdog counter reload value.
Allowed values: 0x0-0xfff
SRStatus register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-only
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WVUBit 0: Watchdog prescaler value update.
RVUBit 1: Watchdog counter reload value update.
WVUBit 2: Watchdog counter window value update.
WINRWindow register
Offset: 0x10, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WINBits 0-11: Watchdog counter window value.
Allowed values: 0x0-0xfff
LPTIM10x40002400: Low power timer
40/40 fields covered.
Toggle register map Toggle registers ISRInterrupt and Status Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Toggle fields CMPMBit 0: Compare match.
Allowed values:
1: Set: Compare match
Bit 1: Autoreload match.
Allowed values:
1: Set: Autoreload match
Bit 2: External trigger edge event.
Allowed values:
1: Set: External trigger edge event
Bit 3: Compare register update OK.
Allowed values:
1: Set: Compare register update OK
Bit 4: Autoreload register update OK.
Allowed values:
1: Set: Autoreload register update OK
Bit 5: Counter direction change down to up.
Allowed values:
1: Set: Counter direction change down to up
Bit 6: Counter direction change up to down.
Allowed values:
1: Set: Counter direction change up to down
Interrupt Clear Register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
7/7 fields covered.
Toggle fields CMPMCFBit 0: compare match Clear Flag.
Allowed values:
1: Clear: Compare match Clear Flag
Bit 1: Autoreload match Clear Flag.
Allowed values:
1: Clear: Autoreload match Clear Flag
Bit 2: External trigger valid edge Clear Flag.
Allowed values:
1: Clear: External trigger valid edge Clear Flag
Bit 3: Compare register update OK Clear Flag.
Allowed values:
1: Clear: Compare register update OK Clear Flag
Bit 4: Autoreload register update OK Clear Flag.
Allowed values:
1: Clear: Autoreload register update OK Clear Flag
Bit 5: Direction change to UP Clear Flag.
Allowed values:
1: Clear: Direction change to up Clear Flag
Bit 6: Direction change to down Clear Flag.
Allowed values:
1: Clear: Direction change to down Clear Flag
Interrupt Enable Register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields CMPMIEBit 0: Compare match Interrupt Enable.
Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled
Bit 1: Autoreload match Interrupt Enable.
Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled
Bit 2: External trigger valid edge Interrupt Enable.
Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled
Bit 3: Compare register update OK Interrupt Enable.
Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled
Bit 4: Autoreload register update OK Interrupt Enable.
Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled
Bit 5: Direction change to UP Interrupt Enable.
Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled
Bit 6: Direction change to down Interrupt Enable.
Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled
Configuration Register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields CKSELBit 0: Clock selector.
Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1
Bits 1-2: Clock Polarity.
Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.
Bits 3-4: Configurable digital filter for external clock.
Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition
Bits 6-7: Configurable digital filter for trigger.
Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger
Bits 9-11: Clock prescaler.
Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128
Bits 13-15: Trigger selector.
Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7
Bits 17-18: Trigger enable and polarity.
Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges
Bit 19: Timeout enable.
Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter
Bit 20: Waveform shape.
Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode
Bit 21: Waveform shape polarity.
Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers
Bit 22: Registers update mode.
Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period
Bit 23: counter mode enabled.
Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1
Bit 24: Encoder mode enable.
Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled
Control Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields ENABLEBit 0: LPTIM Enable.
Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled
Bit 1: LPTIM start in single mode.
Allowed values:
1: Start: LPTIM start in Single mode
Bit 2: Timer start in continuous mode.
Allowed values:
1: Start: Timer start in Continuous mode
Compare Register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CMPBits 0-15: Compare value.
Allowed values: 0x0-0xffff
ARRAutoreload Register
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto reload value.
Allowed values: 0x0-0xffff
CNTCounter Register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: Counter value.
Allowed values: 0x0-0xffff
OTG_FS_DEVICE0x50000800: USB on the go full speed
49/292 fields covered.
Toggle register map Toggle registers DCFGOTG_FS device configuration register (OTG_FS_DCFG)
Offset: 0x0, size: 32, reset: 0x02200000, access: read-write
0/4 fields covered.
Toggle fields DSPDBits 0-1: Device speed.
NZLSOHSKBit 2: Non-zero-length status OUT handshake.
DADBits 4-10: Device address.
PFIVLBits 11-12: Periodic frame interval.
DCTLOTG_FS device control register (OTG_FS_DCTL)
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
2/10 fields covered.
Toggle fields RWUSIGBit 0: Remote wakeup signaling.
SDISBit 1: Soft disconnect.
GINSTSBit 2: Global IN NAK status.
GONSTSBit 3: Global OUT NAK status.
TCTLBits 4-6: Test control.
SGINAKBit 7: Set global IN NAK.
CGINAKBit 8: Clear global IN NAK.
SGONAKBit 9: Set global OUT NAK.
CGONAKBit 10: Clear global OUT NAK.
POPRGDNEBit 11: Power-on programming done.
DSTSOTG_FS device status register (OTG_FS_DSTS)
Offset: 0x8, size: 32, reset: 0x00000010, access: read-only
4/4 fields covered.
Toggle fields SUSPSTSBit 0: Suspend status.
ENUMSPDBits 1-2: Enumerated speed.
EERRBit 3: Erratic error.
FNSOFBits 8-21: Frame number of the received SOF.
DIEPMSKOTG_FS device IN endpoint common interrupt mask register (OTG_FS_DIEPMSK)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields XFRCMBit 0: Transfer completed interrupt mask.
EPDMBit 1: Endpoint disabled interrupt mask.
TOMBit 3: Timeout condition mask (Non-isochronous endpoints).
ITTXFEMSKBit 4: IN token received when TxFIFO empty mask.
INEPNMMBit 5: IN token received with EP mismatch mask.
INEPNEMBit 6: IN endpoint NAK effective mask.
DOEPMSKOTG_FS device OUT endpoint common interrupt mask register (OTG_FS_DOEPMSK)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields XFRCMBit 0: Transfer completed interrupt mask.
EPDMBit 1: Endpoint disabled interrupt mask.
STUPMBit 3: SETUP phase done mask.
OTEPDMBit 4: OUT token received when endpoint disabled mask.
DAINTOTG_FS device all endpoints interrupt register (OTG_FS_DAINT)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OEPINTBits 0-15: IN endpoint interrupt bits.
OEPINTBits 16-31: OUT endpoint interrupt bits.
DAINTMSKOTG_FS all endpoints interrupt mask register (OTG_FS_DAINTMSK)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OEPMBits 0-15: IN EP interrupt mask bits.
OEPMBits 16-31: OUT EP interrupt mask bits.
DVBUSDISOTG_FS device VBUS discharge time register
Offset: 0x28, size: 32, reset: 0x000017D7, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 VBUSDTBits 0-15: Device VBUS discharge time.
DVBUSPULSEOTG_FS device VBUS pulsing time register
Offset: 0x2c, size: 32, reset: 0x000005B8, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DVBUSPBits 0-11: Device VBUS pulsing time.
DIEPEMPMSKOTG_FS device IN endpoint FIFO empty interrupt mask register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTXFEMBits 0-15: IN EP Tx FIFO empty interrupt mask bits.
CTL [0]OTG_FS device control IN endpoint 0 control register (OTG_FS_DIEPCTL0)
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
4/10 fields covered.
Toggle fields MPSIZBits 0-1: Maximum packet size.
USBAEPBit 15: USB active endpoint.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [0]device endpoint-x interrupt register
Offset: 0x108, size: 32, reset: 0x00000080, access: Unspecified
1/6 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
TOCBit 3: TOC.
ITTXFEBit 4: ITTXFE.
INEPNEBit 6: INEPNE.
TXFEBit 7: TXFE.
TSIZ [0]device endpoint-0 transfer size register
Offset: 0x110, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PKTCNTBits 0-6: Transfer size.
PKTCNTBits 19-20: Packet count.
TXFSTS [0]OTG_FS device IN endpoint transmit FIFO status register
Offset: 0x118, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space available.
CTL [1]OTG device endpoint-1 control register
Offset: 0x120, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TXFNUM.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRM_SD1PIDBit 29: SODDFRM/SD1PID.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [1]device endpoint-1 interrupt register
Offset: 0x128, size: 32, reset: 0x00000080, access: Unspecified
1/6 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
TOCBit 3: TOC.
ITTXFEBit 4: ITTXFE.
INEPNEBit 6: INEPNE.
TXFEBit 7: TXFE.
TSIZ [1]device endpoint-1 transfer size register
Offset: 0x130, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
TXFSTS [1]OTG_FS device IN endpoint transmit FIFO status register
Offset: 0x138, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space available.
CTL [2]OTG device endpoint-1 control register
Offset: 0x140, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TXFNUM.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRM_SD1PIDBit 29: SODDFRM/SD1PID.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [2]device endpoint-1 interrupt register
Offset: 0x148, size: 32, reset: 0x00000080, access: Unspecified
1/6 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
TOCBit 3: TOC.
ITTXFEBit 4: ITTXFE.
INEPNEBit 6: INEPNE.
TXFEBit 7: TXFE.
TSIZ [2]device endpoint-1 transfer size register
Offset: 0x150, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
TXFSTS [2]OTG_FS device IN endpoint transmit FIFO status register
Offset: 0x158, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space available.
CTL [3]OTG device endpoint-1 control register
Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TXFNUM.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRM_SD1PIDBit 29: SODDFRM/SD1PID.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [3]device endpoint-1 interrupt register
Offset: 0x168, size: 32, reset: 0x00000080, access: Unspecified
1/6 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
TOCBit 3: TOC.
ITTXFEBit 4: ITTXFE.
INEPNEBit 6: INEPNE.
TXFEBit 7: TXFE.
TSIZ [3]device endpoint-1 transfer size register
Offset: 0x170, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
TXFSTS [3]OTG_FS device IN endpoint transmit FIFO status register
Offset: 0x178, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space available.
CTL [4]OTG device endpoint-1 control register
Offset: 0x180, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TXFNUM.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRM_SD1PIDBit 29: SODDFRM/SD1PID.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [4]device endpoint-1 interrupt register
Offset: 0x188, size: 32, reset: 0x00000080, access: Unspecified
1/6 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
TOCBit 3: TOC.
ITTXFEBit 4: ITTXFE.
INEPNEBit 6: INEPNE.
TXFEBit 7: TXFE.
TSIZ [4]device endpoint-1 transfer size register
Offset: 0x190, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
TXFSTS [4]OTG_FS device IN endpoint transmit FIFO status register
Offset: 0x198, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space available.
CTL [5]OTG device endpoint-1 control register
Offset: 0x1a0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TXFNUM.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRM_SD1PIDBit 29: SODDFRM/SD1PID.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [5]device endpoint-1 interrupt register
Offset: 0x1a8, size: 32, reset: 0x00000080, access: Unspecified
1/6 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
TOCBit 3: TOC.
ITTXFEBit 4: ITTXFE.
INEPNEBit 6: INEPNE.
TXFEBit 7: TXFE.
TSIZ [5]device endpoint-1 transfer size register
Offset: 0x1b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
TXFSTS [5]OTG_FS device IN endpoint transmit FIFO status register
Offset: 0x1b8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space available.
CTL [0]device endpoint-0 control register
Offset: 0x300, size: 32, reset: 0x00008000, access: Unspecified
5/10 fields covered.
Toggle fields MPSIZBits 0-1: MPSIZ.
USBAEPBit 15: USBAEP.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
SNPMBit 20: SNPM.
STALLBit 21: STALL handshake.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [0]device endpoint-0 interrupt register
Offset: 0x308, size: 32, reset: 0x00000080, access: read-write
0/5 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
STUPBit 3: STUP.
OTEPDISBit 4: OTEPDIS.
B2BSTUPBit 6: B2BSTUP.
TSIZ [0]device OUT endpoint-0 transfer size register
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STUPCNTBits 0-6: Transfer size.
PKTCNTBit 19: Packet count.
STUPCNTBits 29-30: SETUP packet count.
CTL [1]device endpoint-1 control register
Offset: 0x320, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
SNPMBit 20: SNPM.
STALLBit 21: STALL handshake.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRMBit 29: SODDFRM.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [1]device endpoint-1 interrupt register
Offset: 0x328, size: 32, reset: 0x00000080, access: read-write
0/5 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
STUPBit 3: STUP.
OTEPDISBit 4: OTEPDIS.
B2BSTUPBit 6: B2BSTUP.
TSIZ [1]device OUT endpoint-1 transfer size register
Offset: 0x330, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
CTL [2]device endpoint-1 control register
Offset: 0x340, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
SNPMBit 20: SNPM.
STALLBit 21: STALL handshake.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRMBit 29: SODDFRM.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [2]device endpoint-1 interrupt register
Offset: 0x348, size: 32, reset: 0x00000080, access: read-write
0/5 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
STUPBit 3: STUP.
OTEPDISBit 4: OTEPDIS.
B2BSTUPBit 6: B2BSTUP.
TSIZ [2]device OUT endpoint-1 transfer size register
Offset: 0x350, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
CTL [3]device endpoint-1 control register
Offset: 0x360, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
SNPMBit 20: SNPM.
STALLBit 21: STALL handshake.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRMBit 29: SODDFRM.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [3]device endpoint-1 interrupt register
Offset: 0x368, size: 32, reset: 0x00000080, access: read-write
0/5 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
STUPBit 3: STUP.
OTEPDISBit 4: OTEPDIS.
B2BSTUPBit 6: B2BSTUP.
TSIZ [3]device OUT endpoint-1 transfer size register
Offset: 0x370, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
CTL [4]device endpoint-1 control register
Offset: 0x380, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
SNPMBit 20: SNPM.
STALLBit 21: STALL handshake.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRMBit 29: SODDFRM.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [4]device endpoint-1 interrupt register
Offset: 0x388, size: 32, reset: 0x00000080, access: read-write
0/5 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
STUPBit 3: STUP.
OTEPDISBit 4: OTEPDIS.
B2BSTUPBit 6: B2BSTUP.
TSIZ [4]device OUT endpoint-1 transfer size register
Offset: 0x390, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
CTL [5]device endpoint-1 control register
Offset: 0x3a0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: MPSIZ.
USBAEPBit 15: USBAEP.
EONUM_DPIDBit 16: EONUM/DPID.
NAKSTSBit 17: NAKSTS.
EPTYPBits 18-19: EPTYP.
SNPMBit 20: SNPM.
STALLBit 21: STALL handshake.
CNAKBit 26: CNAK.
SNAKBit 27: SNAK.
SD0PID_SEVNFRMBit 28: SD0PID/SEVNFRM.
SODDFRMBit 29: SODDFRM.
EPDISBit 30: EPDIS.
EPENABit 31: EPENA.
INT [5]device endpoint-1 interrupt register
Offset: 0x3a8, size: 32, reset: 0x00000080, access: read-write
0/5 fields covered.
Toggle fields XFRCBit 0: XFRC.
EPDISDBit 1: EPDISD.
STUPBit 3: STUP.
OTEPDISBit 4: OTEPDIS.
B2BSTUPBit 6: B2BSTUP.
TSIZ [5]device OUT endpoint-1 transfer size register
Offset: 0x3b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
OTG_FS_GLOBAL0x50000000: USB on the go full speed
46/170 fields covered.
Toggle register map Toggle registers GOTGCTLOTG_FS control and status register (OTG_FS_GOTGCTL)
Offset: 0x0, size: 32, reset: 0x00000800, access: Unspecified
7/19 fields covered.
Toggle fields SRQSCSBit 0: Session request success.
SRQBit 1: Session request.
VBVALOENBit 2: VBUS valid override enable.
VBVALOVALBit 3: VBUS valid override value.
AVALOENBit 4: A-peripheral session valid override enable.
AVALOVALBit 5: A-peripheral session valid override value.
BVALOENBit 6: B-peripheral session valid override enable.
BVALOVALBit 7: B-peripheral session valid override value.
HNGSCSBit 8: Host negotiation success.
HNPRQBit 9: HNP request.
HSHNPENBit 10: Host set HNP enable.
DHNPENBit 11: Device HNP enabled.
EHENBit 12: Embedded host enable.
CIDSTSBit 16: Connector ID status.
DBCTBit 17: Long/short debounce time.
ASVLDBit 18: A-session valid.
BSVLDBit 19: B-session valid.
OTGVERBit 20: OTG version.
CURMODBit 21: Current mode of operation.
GOTGINTOTG_FS interrupt register (OTG_FS_GOTGINT)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
Toggle fields SEDETBit 2: Session end detected.
Bit 8: Session request success status change.
HNSSCHGBit 9: Host negotiation success status change.
HNGDETBit 17: Host negotiation detected.
ADTOCHGBit 18: A-device timeout change.
DBCDNEBit 19: Debounce done.
IDCHNGBit 20: ID input pin changed.
GAHBCFGOTG_FS AHB configuration register (OTG_FS_GAHBCFG)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields GINTBit 0: Global interrupt mask.
TXFELVLBit 7: TxFIFO empty level.
PTXFELVLBit 8: Periodic TxFIFO empty level.
GUSBCFGOTG_FS USB configuration register (OTG_FS_GUSBCFG)
Offset: 0xc, size: 32, reset: 0x00000A00, access: Unspecified
0/7 fields covered.
Toggle fields TOCALBits 0-2: FS timeout calibration.
PHYSELBit 6: Full Speed serial transceiver select.
SRPCAPBit 8: SRP-capable.
HNPCAPBit 9: HNP-capable.
TRDTBits 10-13: USB turnaround time.
FHMODBit 29: Force host mode.
FDMODBit 30: Force device mode.
GRSTCTLOTG_FS reset register (OTG_FS_GRSTCTL)
Offset: 0x10, size: 32, reset: 0x20000000, access: Unspecified
1/7 fields covered.
Toggle fields CSRSTBit 0: Core soft reset.
HSRSTBit 1: HCLK soft reset.
FCRSTBit 2: Host frame counter reset.
RXFFLSHBit 4: RxFIFO flush.
TXFFLSHBit 5: TxFIFO flush.
TXFNUMBits 6-10: TxFIFO number.
AHBIDLBit 31: AHB master idle.
GINTSTSOTG_FS core interrupt register (OTG_FS_GINTSTS)
Offset: 0x14, size: 32, reset: 0x04000020, access: Unspecified
11/26 fields covered.
Toggle fields CMODBit 0: Current mode of operation.
MMISBit 1: Mode mismatch interrupt.
OTGINTBit 2: OTG interrupt.
SOFBit 3: Start of frame.
RXFLVLBit 4: RxFIFO non-empty.
NPTXFEBit 5: Non-periodic TxFIFO empty.
GINAKEFFBit 6: Global IN non-periodic NAK effective.
GOUTNAKEFFBit 7: Global OUT NAK effective.
ESUSPBit 10: Early suspend.
USBSUSPBit 11: USB suspend.
USBRSTBit 12: USB reset.
ENUMDNEBit 13: Enumeration done.
ISOODRPBit 14: Isochronous OUT packet dropped interrupt.
EOPFBit 15: End of periodic frame interrupt.
IEPINTBit 18: IN endpoint interrupt.
OEPINTBit 19: OUT endpoint interrupt.
IISOIXFRBit 20: Incomplete isochronous IN transfer.
IPXFR_INCOMPISOOUTBit 21: Incomplete periodic transfer(Host mode)/Incomplete isochronous OUT transfer(Device mode).
RSTDETBit 23: Reset detected interrupt.
HPRTINTBit 24: Host port interrupt.
HCINTBit 25: Host channels interrupt.
PTXFEBit 26: Periodic TxFIFO empty.
CIDSCHGBit 28: Connector ID status change.
DISCINTBit 29: Disconnect detected interrupt.
SRQINTBit 30: Session request/new session detected interrupt.
WKUPINTBit 31: Resume/remote wakeup detected interrupt.
GINTMSKOTG_FS interrupt mask register (OTG_FS_GINTMSK)
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
0/26 fields covered.
Toggle fields MMISMBit 1: Mode mismatch interrupt mask.
OTGINTBit 2: OTG interrupt mask.
SOFMBit 3: Start of frame mask.
RXFLVLMBit 4: Receive FIFO non-empty mask.
NPTXFEMBit 5: Non-periodic TxFIFO empty mask.
GINAKEFFMBit 6: Global non-periodic IN NAK effective mask.
GONAKEFFMBit 7: Global OUT NAK effective mask.
ESUSPMBit 10: Early suspend mask.
USBSUSPMBit 11: USB suspend mask.
USBRSTBit 12: USB reset mask.
ENUMDNEMBit 13: Enumeration done mask.
ISOODRPMBit 14: Isochronous OUT packet dropped interrupt mask.
EOPFMBit 15: End of periodic frame interrupt mask.
IEPINTBit 18: IN endpoints interrupt mask.
OEPINTBit 19: OUT endpoints interrupt mask.
IISOIXFRMBit 20: Incomplete isochronous IN transfer mask.
IPXFRM_IISOOXFRMBit 21: Incomplete periodic transfer mask(Host mode)/Incomplete isochronous OUT transfer mask(Device mode).
RSTDETMBit 23: Reset detected interrupt mask.
PRTIMBit 24: Host port interrupt mask.
HCIMBit 25: Host channels interrupt mask.
PTXFEMBit 26: Periodic TxFIFO empty mask.
LPMINBit 27: LPM interrupt mask.
CIDSCHGMBit 28: Connector ID status change mask.
DISCINTBit 29: Disconnect detected interrupt mask.
SRQIMBit 30: Session request/new session detected interrupt mask.
WUIMBit 31: Resume/remote wakeup detected interrupt mask.
GRXSTSR_DeviceOTG_FS Receive status debug read(Device mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields EPNUMBits 0-3: Endpoint number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
FRMNUMBits 21-24: Frame number.
GRXSTSR_HostOTG_FS Receive status debug read(Host mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields CHNUMBits 0-3: Endpoint number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
STSPHSTBit 27: Status phase start.
GRXSTSP_DeviceOTG status read and pop register (Device mode)
Offset: 0x20, size: 32, reset: 0x02000400, access: read-only
5/5 fields covered.
Toggle fields EPNUMBits 0-3: Endpoint number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
FRMNUMBits 21-24: Frame number.
GRXSTSP_HostOTG status read and pop register (Host mode)
Offset: 0x20, size: 32, reset: 0x02000400, access: read-only
5/5 fields covered.
Toggle fields CHNUMBits 0-3: Channel number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
STSPHSTBit 27: Status phase start.
GRXFSIZOTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)
Offset: 0x24, size: 32, reset: 0x00000200, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXFDBits 0-15: RxFIFO depth.
DIEPTXF0OTG_FS Endpoint 0 Transmit FIFO size
Offset: 0x28, size: 32, reset: 0x00000200, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TX0FDBits 0-15: Endpoint 0 transmit RAM start address.
TX0FDBits 16-31: Endpoint 0 TxFIFO depth.
HNPTXFSIZ_HostOTG_FS Host non-periodic transmit FIFO size register
Offset: 0x28, size: 32, reset: 0x00000200, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 NPTXFDBits 0-15: Non-periodic transmit RAM start address.
NPTXFDBits 16-31: Non-periodic TxFIFO depth.
HNPTXSTSOTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)
Offset: 0x2c, size: 32, reset: 0x00080200, access: read-only
3/3 fields covered.
Toggle fields NPTXFSAVBits 0-15: Non-periodic TxFIFO space available.
NPTQXSAVBits 16-23: Non-periodic transmit request queue space available.
NPTXQTOPBits 24-30: Top of the non-periodic transmit request queue.
GI2CCTLOTG I2C access register
Offset: 0x30, size: 32, reset: 0x02000400, access: read-write
0/9 fields covered.
Toggle fields RWDATABits 0-7: I2C Read/Write Data.
REGADDRBits 8-15: I2C Register Address.
ADDRBits 16-22: I2C Address.
I2CENBit 23: I2C Enable.
ACKBit 24: I2C ACK.
I2CDEVADRBits 26-27: I2C Device Address.
I2CDATSE0Bit 28: I2C DatSe0 USB mode.
RWBit 30: Read/Write Indicator.
BSYDNEBit 31: I2C Busy/Done.
GCCFGOTG_FS general core configuration register (OTG_FS_GCCFG)
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields DCDETBit 0: Data contact detection (DCD) status.
PDETBit 1: Primary detection (PD) status.
SDETBit 2: Secondary detection (SD) status.
PS2DETBit 3: DM pull-up detection status.
PWRDWNBit 16: Power down.
BCDENBit 17: Battery charging detector (BCD) enable.
DCDENBit 18: Data contact detection (DCD) mode enable.
PDENBit 19: Primary detection (PD) mode enable.
SDENBit 20: Secondary detection (SD) mode enable.
VBDENBit 21: USB VBUS detection enable.
CIDcore ID register
Offset: 0x3c, size: 32, reset: 0x00001000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRODUCT_IDBits 0-31: Product ID field.
GLPMCFGOTG core LPM configuration register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
4/15 fields covered.
Toggle fields LPMENBit 0: LPM support enable.
LPMACKBit 1: LPM token acknowledge enable.
BESLBits 2-5: Best effort service latency.
REMWAKEBit 6: bRemoteWake value.
L1SSENBit 7: L1 Shallow Sleep enable.
BESLTHRSBits 8-11: BESL threshold.
L1DSENBit 12: L1 deep sleep enable.
LPMRSTBits 13-14: LPM response.
SLPSTSBit 15: Port sleep status.
L1RSMOKBit 16: Sleep State Resume OK.
LPMCHIDXBits 17-20: LPM Channel Index.
LPMRCNTBits 21-23: LPM retry count.
SNDLPMBit 24: Send LPM transaction.
LPMRCNTSTSBits 25-27: LPM retry count status.
ENBESLBit 28: Enable best effort service latency.
HPTXFSIZOTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)
Offset: 0x100, size: 32, reset: 0x02000600, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PTXFSIZBits 0-15: Host periodic TxFIFO start address.
PTXFSIZBits 16-31: Host periodic TxFIFO depth.
DIEPTXF[1]OTG_FS device IN endpoint transmit FIFO size register
Offset: 0x104, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFO2 transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[2]OTG_FS device IN endpoint transmit FIFO size register
Offset: 0x108, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFO2 transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[3]OTG_FS device IN endpoint transmit FIFO size register
Offset: 0x10c, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFO2 transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[4]OTG_FS device IN endpoint transmit FIFO size register
Offset: 0x110, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFO2 transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[5]OTG_FS device IN endpoint transmit FIFO size register
Offset: 0x114, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFO2 transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
OTG_FS_HOST0x50000400: USB on the go full speed
9/407 fields covered.
Toggle register map Toggle registers HCFGOTG_FS host configuration register (OTG_FS_HCFG)
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
Toggle fields FSLSPCSBits 0-1: FS/LS PHY clock select.
FSLSSBit 2: FS- and LS-only support.
HFIROTG_FS Host frame interval register
Offset: 0x4, size: 32, reset: 0x0000EA60, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FRIVLBits 0-15: Frame interval.
HFNUMOTG_FS host frame number/frame time remaining register (OTG_FS_HFNUM)
Offset: 0x8, size: 32, reset: 0x00003FFF, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FTREMBits 0-15: Frame number.
FTREMBits 16-31: Frame time remaining.
HPTXSTSOTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)
Offset: 0x10, size: 32, reset: 0x00080100, access: Unspecified
2/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PTXQTOPBits 0-15: Periodic transmit data FIFO space available.
PTXQSAVBits 16-23: Periodic transmit request queue space available.
PTXQTOPBits 24-31: Top of the periodic transmit request queue.
HAINTOTG_FS Host all channels interrupt register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HAINTBits 0-15: Channel interrupts.
HAINTMSKOTG_FS host all channels interrupt mask register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HAINTMBits 0-15: Channel interrupt mask.
HPRTOTG_FS host port control and status register (OTG_FS_HPRT)
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
4/13 fields covered.
Toggle fields PCSTSBit 0: Port connect status.
PCDETBit 1: Port connect detected.
PENABit 2: Port enable.
PENCHNGBit 3: Port enable/disable change.
POCABit 4: Port overcurrent active.
POCCHNGBit 5: Port overcurrent change.
PRESBit 6: Port resume.
PSUSPBit 7: Port suspend.
PRSTBit 8: Port reset.
PLSTSBits 10-11: Port line status.
PPWRBit 12: Port power.
PTCTLBits 13-16: Port test control.
PSPDBits 17-18: Port speed.
CHAR [0]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [0]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [0]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [0]OTG_FS host channel-0 transfer size register
Offset: 0x110, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [1]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x120, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [1]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x128, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [1]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x12c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [1]OTG_FS host channel-0 transfer size register
Offset: 0x130, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [2]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x140, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [2]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x148, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [2]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [2]OTG_FS host channel-0 transfer size register
Offset: 0x150, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [3]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x160, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [3]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x168, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [3]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x16c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [3]OTG_FS host channel-0 transfer size register
Offset: 0x170, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [4]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x180, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [4]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x188, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [4]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [4]OTG_FS host channel-0 transfer size register
Offset: 0x190, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [5]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x1a0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [5]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x1a8, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [5]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x1ac, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [5]OTG_FS host channel-0 transfer size register
Offset: 0x1b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [6]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x1c0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [6]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x1c8, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [6]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x1cc, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [6]OTG_FS host channel-0 transfer size register
Offset: 0x1d0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [7]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x1e0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [7]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x1e8, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [7]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x1ec, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [7]OTG_FS host channel-0 transfer size register
Offset: 0x1f0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [8]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x200, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [8]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x208, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [8]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [8]OTG_FS host channel-0 transfer size register
Offset: 0x210, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [9]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x220, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [9]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x228, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [9]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x22c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [9]OTG_FS host channel-0 transfer size register
Offset: 0x230, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [10]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x240, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [10]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x248, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [10]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x24c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [10]OTG_FS host channel-0 transfer size register
Offset: 0x250, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
CHAR [11]OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)
Offset: 0x260, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCNTBits 20-21: Multicount.
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
INT [11]OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)
Offset: 0x268, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [11]OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)
Offset: 0x26c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [11]OTG_FS host channel-0 transfer size register
Offset: 0x270, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
OTG_FS_PWRCLK0x50000e00: USB on the go full speed
0/3 fields covered.
Toggle register map Toggle registers PCGCCTLOTG_FS power and clock gating control register (OTG_FS_PCGCCTL)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields STPPCLKBit 0: Stop PHY clock.
GATEHCLKBit 1: Gate HCLK.
PHYSUSPBit 4: PHY Suspended.
OTG_HS_DEVICE0x40040800: USB on the go high speed
73/575 fields covered.
Toggle register map Toggle registers DCFGOTG_HS device configuration register
Offset: 0x0, size: 32, reset: 0x02200000, access: read-write
0/5 fields covered.
Toggle fields DSPDBits 0-1: Device speed.
NZLSOHSKBit 2: Nonzero-length status OUT handshake.
DADBits 4-10: Device address.
PFIVLBits 11-12: Periodic (micro)frame interval.
PERSCHIVLBits 24-25: Periodic scheduling interval.
DCTLOTG_HS device control register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
2/10 fields covered.
Toggle fields RWUSIGBit 0: Remote wakeup signaling.
SDISBit 1: Soft disconnect.
GINSTSBit 2: Global IN NAK status.
GONSTSBit 3: Global OUT NAK status.
TCTLBits 4-6: Test control.
SGINAKBit 7: Set global IN NAK.
CGINAKBit 8: Clear global IN NAK.
SGONAKBit 9: Set global OUT NAK.
CGONAKBit 10: Clear global OUT NAK.
POPRGDNEBit 11: Power-on programming done.
DSTSOTG_HS device status register
Offset: 0x8, size: 32, reset: 0x00000010, access: read-only
4/4 fields covered.
Toggle fields SUSPSTSBit 0: Suspend status.
ENUMSPDBits 1-2: Enumerated speed.
EERRBit 3: Erratic error.
FNSOFBits 8-21: Frame number of the received SOF.
DIEPMSKOTG_HS device IN endpoint common interrupt mask register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
Toggle fields XFRCMBit 0: Transfer completed interrupt mask.
EPDMBit 1: Endpoint disabled interrupt mask.
TOMBit 3: Timeout condition mask (nonisochronous endpoints).
ITTXFEMSKBit 4: IN token received when TxFIFO empty mask.
INEPNMMBit 5: IN token received with EP mismatch mask.
INEPNEMBit 6: IN endpoint NAK effective mask.
TXFURMBit 8: FIFO underrun mask.
BIMBit 9: BNA interrupt mask.
DOEPMSKOTG_HS device OUT endpoint common interrupt mask register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
Toggle fields XFRCMBit 0: Transfer completed interrupt mask.
EPDMBit 1: Endpoint disabled interrupt mask.
STUPMBit 3: SETUP phase done mask.
OTEPDMBit 4: OUT token received when endpoint disabled mask.
B2BSTUPBit 6: Back-to-back SETUP packets received mask.
OPEMBit 8: OUT packet error mask.
BOIMBit 9: BNA interrupt mask.
DAINTOTG_HS device all endpoints interrupt register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OEPINTBits 0-15: IN endpoint interrupt bits.
OEPINTBits 16-31: OUT endpoint interrupt bits.
DAINTMSKOTG_HS all endpoints interrupt mask register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OEPMBits 0-15: IN EP interrupt mask bits.
OEPMBits 16-31: OUT EP interrupt mask bits.
DVBUSDISOTG_HS device VBUS discharge time register
Offset: 0x28, size: 32, reset: 0x000017D7, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 VBUSDTBits 0-15: Device VBUS discharge time.
DVBUSPULSEOTG_HS device VBUS pulsing time register
Offset: 0x2c, size: 32, reset: 0x000005B8, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DVBUSPBits 0-11: Device VBUS pulsing time.
DTHRCTLOTG_HS Device threshold control register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields NONISOTHRENBit 0: Nonisochronous IN endpoints threshold enable.
ISOTHRENBit 1: ISO IN endpoint threshold enable.
TXTHRLENBits 2-10: Transmit threshold length.
RXTHRENBit 16: Receive threshold enable.
RXTHRLENBits 17-25: Receive threshold length.
ARPENBit 27: Arbiter parking enable.
DIEPEMPMSKOTG_HS device IN endpoint FIFO empty interrupt mask register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTXFEMBits 0-15: IN EP Tx FIFO empty interrupt mask bits.
DEACHINTOTG_HS device each endpoint interrupt register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OEP1INTBit 1: IN endpoint 1interrupt bit.
OEP1INTBit 17: OUT endpoint 1 interrupt bit.
DEACHINTMSKOTG_HS device each endpoint interrupt register mask
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OEP1INTMBit 1: IN Endpoint 1 interrupt mask bit.
OEP1INTMBit 17: OUT Endpoint 1 interrupt mask bit.
DIEPEACHMSK1Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields XFRCMBit 0: Transfer completed interrupt mask.
EPDMBit 1: Endpoint disabled interrupt mask.
AHBERRMBit 2: AHB error mask.
TOMBit 3: Timeout condition mask (Non-isochronous endpoints).
ITTXFEMSKBit 4: IN token received when TxFIFO empty mask.
INEPNEMBit 6: IN endpoint NAK effective mask.
TXFURMBit 8: FIFO underrun mask.
BNAMBit 9: BNA interrupt mask.
NAKMBit 13: NAK interrupt mask.
DOEPEACHMSK1Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed interrupt mask.
EPDMBit 1: Endpoint disabled interrupt mask.
AHBERRMBit 2: AHB error mask.
STUPMBit 3: SETUP phase done mask.
OTEPDMBit 4: OUT token received when endpoint disabled mask.
B2BSTUPMBit 6: Back-to-back SETUP packets received mask.
OUTPKTERRMBit 8: Out packet error mask.
BNAMBit 9: BNA interrupt mask.
BERRMBit 12: Babble error interrupt mask.
NAKMSKBit 13: NAK interrupt mask.
NYETMSKBit 14: NYET interrupt mask.
CTL [0]OTG device endpoint-0 control register
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [0]OTG device endpoint-0 interrupt register
Offset: 0x108, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [0]OTG_HS device IN endpoint 0 transfer size register
Offset: 0x110, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PKTCNTBits 0-6: Transfer size.
PKTCNTBits 19-20: Packet count.
DMA [0]OTG_HS device endpoint-0 DMA address register
Offset: 0x114, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [0]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x118, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [1]OTG device endpoint-1 control register
Offset: 0x120, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [1]OTG device endpoint-1 interrupt register
Offset: 0x128, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [1]OTG_HS device endpoint transfer size register
Offset: 0x130, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [1]OTG_HS device endpoint-2 DMA address register
Offset: 0x134, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [1]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x138, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [2]OTG device endpoint-1 control register
Offset: 0x140, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [2]OTG device endpoint-1 interrupt register
Offset: 0x148, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [2]OTG_HS device endpoint transfer size register
Offset: 0x150, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [2]OTG_HS device endpoint-2 DMA address register
Offset: 0x154, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [2]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x158, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [3]OTG device endpoint-1 control register
Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [3]OTG device endpoint-1 interrupt register
Offset: 0x168, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [3]OTG_HS device endpoint transfer size register
Offset: 0x170, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [3]OTG_HS device endpoint-2 DMA address register
Offset: 0x174, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [3]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x178, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [4]OTG device endpoint-1 control register
Offset: 0x180, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [4]OTG device endpoint-1 interrupt register
Offset: 0x188, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [4]OTG_HS device endpoint transfer size register
Offset: 0x190, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [4]OTG_HS device endpoint-2 DMA address register
Offset: 0x194, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [4]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x198, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [5]OTG device endpoint-1 control register
Offset: 0x1a0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [5]OTG device endpoint-1 interrupt register
Offset: 0x1a8, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [5]OTG_HS device endpoint transfer size register
Offset: 0x1b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [5]OTG_HS device endpoint-2 DMA address register
Offset: 0x1b4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [5]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x1b8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [6]OTG device endpoint-1 control register
Offset: 0x1c0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [6]OTG device endpoint-1 interrupt register
Offset: 0x1c8, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [6]OTG_HS device endpoint transfer size register
Offset: 0x1d0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [6]OTG_HS device endpoint-2 DMA address register
Offset: 0x1d4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [6]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x1d8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [7]OTG device endpoint-1 control register
Offset: 0x1e0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [7]OTG device endpoint-1 interrupt register
Offset: 0x1e8, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [7]OTG_HS device endpoint transfer size register
Offset: 0x1f0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [7]OTG_HS device endpoint-2 DMA address register
Offset: 0x1f4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [7]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x1f8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [8]OTG device endpoint-1 control register
Offset: 0x200, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even/odd frame.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
STALLBit 21: STALL handshake.
TXFNUMBits 22-25: TxFIFO number.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [8]OTG device endpoint-1 interrupt register
Offset: 0x208, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [8]OTG_HS device endpoint transfer size register
Offset: 0x210, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCNTBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
MCNTBits 29-30: Multi count.
DMA [8]OTG_HS device endpoint-2 DMA address register
Offset: 0x214, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
TXFSTS [8]OTG_HS device IN endpoint transmit FIFO status register
Offset: 0x218, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INEPTFSAVBits 0-15: IN endpoint TxFIFO space avail.
CTL [0]OTG_HS device control OUT endpoint 0 control register
Offset: 0x300, size: 32, reset: 0x00008000, access: Unspecified
5/10 fields covered.
Toggle fields MPSIZBits 0-1: Maximum packet size.
USBAEPBit 15: USB active endpoint.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [0]OTG_HS device endpoint-0 interrupt register
Offset: 0x308, size: 32, reset: 0x00000080, access: read-write
0/6 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
STUPBit 3: SETUP phase done.
OTEPDISBit 4: OUT token received when endpoint disabled.
B2BSTUPBit 6: Back-to-back SETUP packets received.
NYETBit 14: NYET interrupt.
TSIZ [0]OTG_HS device endpoint-0 transfer size register
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STUPCNTBits 0-6: Transfer size.
PKTCNTBit 19: Packet count.
STUPCNTBits 29-30: SETUP packet count.
DMA [0]OTG_HS device endpoint-0 DMA address register
Offset: 0x314, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [1]OTG device endpoint-1 control register
Offset: 0x320, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [1]OTG_HS device endpoint-1 interrupt register
Offset: 0x328, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [1]OTG_HS device endpoint-1 transfer size register
Offset: 0x330, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [1]OTG_HS device endpoint-1 DMA address register
Offset: 0x334, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [2]OTG device endpoint-1 control register
Offset: 0x340, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [2]OTG_HS device endpoint-1 interrupt register
Offset: 0x348, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [2]OTG_HS device endpoint-1 transfer size register
Offset: 0x350, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [2]OTG_HS device endpoint-1 DMA address register
Offset: 0x354, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [3]OTG device endpoint-1 control register
Offset: 0x360, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [3]OTG_HS device endpoint-1 interrupt register
Offset: 0x368, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [3]OTG_HS device endpoint-1 transfer size register
Offset: 0x370, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [3]OTG_HS device endpoint-1 DMA address register
Offset: 0x374, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [4]OTG device endpoint-1 control register
Offset: 0x380, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [4]OTG_HS device endpoint-1 interrupt register
Offset: 0x388, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [4]OTG_HS device endpoint-1 transfer size register
Offset: 0x390, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [4]OTG_HS device endpoint-1 DMA address register
Offset: 0x394, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [5]OTG device endpoint-1 control register
Offset: 0x3a0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [5]OTG_HS device endpoint-1 interrupt register
Offset: 0x3a8, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [5]OTG_HS device endpoint-1 transfer size register
Offset: 0x3b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [5]OTG_HS device endpoint-1 DMA address register
Offset: 0x3b4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [6]OTG device endpoint-1 control register
Offset: 0x3c0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [6]OTG_HS device endpoint-1 interrupt register
Offset: 0x3c8, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [6]OTG_HS device endpoint-1 transfer size register
Offset: 0x3d0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [6]OTG_HS device endpoint-1 DMA address register
Offset: 0x3d4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [7]OTG device endpoint-1 control register
Offset: 0x3e0, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [7]OTG_HS device endpoint-1 interrupt register
Offset: 0x3e8, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [7]OTG_HS device endpoint-1 transfer size register
Offset: 0x3f0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [7]OTG_HS device endpoint-1 DMA address register
Offset: 0x3f4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CTL [8]OTG device endpoint-1 control register
Offset: 0x400, size: 32, reset: 0x00000000, access: Unspecified
2/13 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
USBAEPBit 15: USB active endpoint.
EONUM_DPIDBit 16: Even odd frame/Endpoint data PID.
NAKSTSBit 17: NAK status.
EPTYPBits 18-19: Endpoint type.
SNPMBit 20: Snoop mode.
STALLBit 21: STALL handshake.
CNAKBit 26: Clear NAK.
SNAKBit 27: Set NAK.
SD0PID_SEVNFRMBit 28: Set DATA0 PID/Set even frame.
SODDFRMBit 29: Set odd frame.
EPDISBit 30: Endpoint disable.
EPENABit 31: Endpoint enable.
INT [8]OTG_HS device endpoint-1 interrupt register
Offset: 0x408, size: 32, reset: 0x00000080, access: Unspecified
1/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed interrupt.
EPDISDBit 1: Endpoint disabled interrupt.
TOCBit 3: Timeout condition.
ITTXFEBit 4: IN token received when TxFIFO is empty.
INEPNEBit 6: IN endpoint NAK effective.
TXFEBit 7: Transmit FIFO empty.
TXFIFOUDRNBit 8: Transmit Fifo Underrun.
BNABit 9: Buffer not available interrupt.
PKTDRPSTSBit 11: Packet dropped status.
BERRBit 12: Babble error interrupt.
NAKBit 13: NAK interrupt.
TSIZ [8]OTG_HS device endpoint-1 transfer size register
Offset: 0x410, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields XFRSIZBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
RXDPID_STUPCNTBits 29-30: Received data PID/SETUP packet count.
DMA [8]OTG_HS device endpoint-1 DMA address register
Offset: 0x414, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
OTG_HS_GLOBAL0x40040000: USB on the go high speed
48/179 fields covered.
Toggle register map Toggle registers GOTGCTLOTG_HS control and status register
Offset: 0x0, size: 32, reset: 0x00000800, access: Unspecified
7/19 fields covered.
Toggle fields SRQSCSBit 0: Session request success.
SRQBit 1: Session request.
VBVALOENBit 2: V_BUS valid override enable.
VBVALOVALBit 3: V_BUS valid override value.
AVALOENBit 4: A-peripheral session valid override enable.
AVALOVALBit 5: A-peripheral session valid override value.
BVALOENBit 6: B-peripheral session valid override enable.
BVALOVALBit 7: B-peripheral session valid override value.
HNGSCSBit 8: Host negotiation success.
HNPRQBit 9: HNP request.
HSHNPENBit 10: Host set HNP enable.
DHNPENBit 11: Device HNP enabled.
EHENBit 12: Embedded host enable.
CIDSTSBit 16: Connector ID status.
DBCTBit 17: Long/short debounce time.
ASVLDBit 18: A-session valid.
BSVLDBit 19: B-session valid.
OTGVERBit 20: OTG version.
CURMODBit 21: Current mode of operation.
GOTGINTOTG_HS interrupt register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
Toggle fields SEDETBit 2: Session end detected.
Bit 8: Session request success status change.
HNSSCHGBit 9: Host negotiation success status change.
HNGDETBit 17: Host negotiation detected.
ADTOCHGBit 18: A-device timeout change.
DBCDNEBit 19: Debounce done.
IDCHNGBit 20: ID input pin changed.
GAHBCFGOTG_HS AHB configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields GINTBit 0: Global interrupt mask.
HBSTLENBits 1-4: Burst length/type.
DMAENBit 5: DMA enable.
TXFELVLBit 7: TxFIFO empty level.
PTXFELVLBit 8: Periodic TxFIFO empty level.
GUSBCFGOTG_HS USB configuration register
Offset: 0xc, size: 32, reset: 0x00000A00, access: Unspecified
0/17 fields covered.
Toggle fields TOCALBits 0-2: FS timeout calibration.
PHYSELBit 6: USB 2.0 high-speed ULPI PHY or USB 1.1 full-speed serial transceiver select.
SRPCAPBit 8: SRP-capable.
HNPCAPBit 9: HNP-capable.
TRDTBits 10-13: USB turnaround time.
PHYLPCSBit 15: PHY Low-power clock select.
ULPIFSLSBit 17: ULPI FS/LS select.
ULPIARBit 18: ULPI Auto-resume.
ULPICSMBit 19: ULPI Clock SuspendM.
ULPIEVBUSDBit 20: ULPI External VBUS Drive.
ULPIEVBUSIBit 21: ULPI external VBUS indicator.
TSDPSBit 22: TermSel DLine pulsing selection.
PCCIBit 23: Indicator complement.
PTCIBit 24: Indicator pass through.
ULPIIPDBit 25: ULPI interface protect disable.
FHMODBit 29: Forced host mode.
FDMODBit 30: Forced peripheral mode.
GRSTCTLOTG_HS reset register
Offset: 0x10, size: 32, reset: 0x20000000, access: Unspecified
2/8 fields covered.
Toggle fields CSRSTBit 0: Core soft reset.
HSRSTBit 1: HCLK soft reset.
FCRSTBit 2: Host frame counter reset.
RXFFLSHBit 4: RxFIFO flush.
TXFFLSHBit 5: TxFIFO flush.
TXFNUMBits 6-10: TxFIFO number.
DMAREQBit 30: DMA request signal enabled for USB OTG HS.
AHBIDLBit 31: AHB master idle.
GINTSTSOTG_HS core interrupt register
Offset: 0x14, size: 32, reset: 0x04000020, access: Unspecified
11/26 fields covered.
Toggle fields CMODBit 0: Current mode of operation.
MMISBit 1: Mode mismatch interrupt.
OTGINTBit 2: OTG interrupt.
SOFBit 3: Start of frame.
RXFLVLBit 4: RxFIFO nonempty.
NPTXFEBit 5: Nonperiodic TxFIFO empty.
GINAKEFFBit 6: Global IN nonperiodic NAK effective.
BOUTNAKEFFBit 7: Global OUT NAK effective.
ESUSPBit 10: Early suspend.
USBSUSPBit 11: USB suspend.
USBRSTBit 12: USB reset.
ENUMDNEBit 13: Enumeration done.
ISOODRPBit 14: Isochronous OUT packet dropped interrupt.
EOPFBit 15: End of periodic frame interrupt.
IEPINTBit 18: IN endpoint interrupt.
OEPINTBit 19: OUT endpoint interrupt.
IISOIXFRBit 20: Incomplete isochronous IN transfer.
PXFR_INCOMPISOOUTBit 21: Incomplete periodic transfer.
DATAFSUSPBit 22: Data fetch suspended.
HPRTINTBit 24: Host port interrupt.
HCINTBit 25: Host channels interrupt.
PTXFEBit 26: Periodic TxFIFO empty.
CIDSCHGBit 28: Connector ID status change.
DISCINTBit 29: Disconnect detected interrupt.
SRQINTBit 30: Session request/new session detected interrupt.
WKUINTBit 31: Resume/remote wakeup detected interrupt.
GINTMSKOTG_HS interrupt mask register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/27 fields covered.
Toggle fields MMISMBit 1: Mode mismatch interrupt mask.
OTGINTBit 2: OTG interrupt mask.
SOFMBit 3: Start of frame mask.
RXFLVLMBit 4: Receive FIFO nonempty mask.
NPTXFEMBit 5: Nonperiodic TxFIFO empty mask.
GINAKEFFMBit 6: Global nonperiodic IN NAK effective mask.
GONAKEFFMBit 7: Global OUT NAK effective mask.
ESUSPMBit 10: Early suspend mask.
USBSUSPMBit 11: USB suspend mask.
USBRSTBit 12: USB reset mask.
ENUMDNEMBit 13: Enumeration done mask.
ISOODRPMBit 14: Isochronous OUT packet dropped interrupt mask.
EOPFMBit 15: End of periodic frame interrupt mask.
IEPINTBit 18: IN endpoints interrupt mask.
OEPINTBit 19: OUT endpoints interrupt mask.
IISOIXFRMBit 20: Incomplete isochronous IN transfer mask.
PXFRM_IISOOXFRMBit 21: Incomplete periodic transfer mask.
FSUSPMBit 22: Data fetch suspended mask.
RSTDEBit 23: Reset detected interrupt mask.
PRTIMBit 24: Host port interrupt mask.
HCIMBit 25: Host channels interrupt mask.
PTXFEMBit 26: Periodic TxFIFO empty mask.
LPMINTMBit 27: LPM interrupt mask.
CIDSCHGMBit 28: Connector ID status change mask.
DISCINTBit 29: Disconnect detected interrupt mask.
SRQIMBit 30: Session request/new session detected interrupt mask.
WUIMBit 31: Resume/remote wakeup detected interrupt mask.
GRXSTSR_DeviceOTG_HS Receive status debug read register (peripheral mode mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields EPNUMBits 0-3: Endpoint number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
FRMNUMBits 21-24: Frame number.
GRXSTSR_HostOTG_HS Receive status debug read register (host mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PKTSTSBits 0-3: Channel number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
GRXSTSP_DeviceOTG_HS status read and pop register (peripheral mode)
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields EPNUMBits 0-3: Endpoint number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
FRMNUMBits 21-24: Frame number.
GRXSTSP_HostOTG_HS status read and pop register (host mode)
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PKTSTSBits 0-3: Channel number.
BCNTBits 4-14: Byte count.
DPIDBits 15-16: Data PID.
PKTSTSBits 17-20: Packet status.
GRXFSIZOTG_HS Receive FIFO size register
Offset: 0x24, size: 32, reset: 0x00000200, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXFDBits 0-15: RxFIFO depth.
DIEPTXF0Endpoint 0 transmit FIFO size (peripheral mode)
Offset: 0x28, size: 32, reset: 0x00000200, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TX0FDBits 0-15: Endpoint 0 transmit RAM start address.
TX0FDBits 16-31: Endpoint 0 TxFIFO depth.
HNPTXFSIZOTG_HS nonperiodic transmit FIFO size register (host mode)
Offset: 0x28, size: 32, reset: 0x00000200, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 NPTXFDBits 0-15: Nonperiodic transmit RAM start address.
NPTXFDBits 16-31: Nonperiodic TxFIFO depth.
HNPTXSTSOTG_HS nonperiodic transmit FIFO/queue status register
Offset: 0x2c, size: 32, reset: 0x00080200, access: read-only
3/3 fields covered.
Toggle fields NPTXFSAVBits 0-15: Nonperiodic TxFIFO space available.
NPTQXSAVBits 16-23: Nonperiodic transmit request queue space available.
NPTXQTOPBits 24-30: Top of the nonperiodic transmit request queue.
GCCFGOTG_HS general core configuration register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields DCDETBit 0: Data contact detection (DCD) status.
PDETBit 1: Primary detection (PD) status.
SDETBit 2: Secondary detection (SD) status.
PS2DETBit 3: DM pull-up detection status.
PWRDWNBit 16: Power down.
BCDENBit 17: Battery charging detector (BCD) enable.
DCDENBit 18: Data contact detection (DCD) mode enable.
PDENBit 19: Primary detection (PD) mode enable.
SDENBit 20: Secondary detection (SD) mode enable.
VBDENBit 21: USB VBUS detection enable.
CIDOTG_HS core ID register
Offset: 0x3c, size: 32, reset: 0x00001200, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRODUCT_IDBits 0-31: Product ID field.
GLPMCFGOTG core LPM configuration register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
6/15 fields covered.
Toggle fields LPMENBit 0: LPM support enable.
LPMACKBit 1: LPM token acknowledge enable.
BESLBits 2-5: Best effort service latency.
REMWAKEBit 6: bRemoteWake value.
L1SSENBit 7: L1 Shallow Sleep enable.
BESLTHRSBits 8-11: BESL threshold.
L1DSENBit 12: L1 deep sleep enable.
LPMRSTBits 13-14: LPM response.
SLPSTSBit 15: Port sleep status.
L1RSMOKBit 16: Sleep State Resume OK.
LPMCHIDXBits 17-20: LPM Channel Index.
LPMRCNTBits 21-23: LPM retry count.
SNDLPMBit 24: Send LPM transaction.
LPMRCNTSTSBits 25-27: LPM retry count status.
ENBESLBit 28: Enable best effort service latency.
HPTXFSIZOTG_HS Host periodic transmit FIFO size register
Offset: 0x100, size: 32, reset: 0x02000600, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PTXFDBits 0-15: Host periodic TxFIFO start address.
PTXFDBits 16-31: Host periodic TxFIFO depth.
DIEPTXF[1]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x104, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[2]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x108, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[3]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x10c, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[4]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x110, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[5]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x114, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[6]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x118, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[7]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x11c, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
DIEPTXF[8]OTG_HS device IN endpoint transmit FIFO size register
Offset: 0x120, size: 32, reset: 0x02000400, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INEPTXFDBits 0-15: IN endpoint FIFOx transmit RAM start address.
INEPTXFDBits 16-31: IN endpoint TxFIFO depth.
OTG_HS_HOST0x40040400: USB on the go high speed
10/679 fields covered.
Toggle register map Toggle registers HCFGOTG_HS host configuration register
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
Toggle fields FSLSPCSBits 0-1: FS/LS PHY clock select.
FSLSSBit 2: FS- and LS-only support.
HFIROTG_HS Host frame interval register
Offset: 0x4, size: 32, reset: 0x0000EA60, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 FRIVLBits 0-15: Frame interval.
HFNUMOTG_HS host frame number/frame time remaining register
Offset: 0x8, size: 32, reset: 0x00003FFF, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FTREMBits 0-15: Frame number.
FTREMBits 16-31: Frame time remaining.
HPTXSTSOTG_HS_Host periodic transmit FIFO/queue status register
Offset: 0x10, size: 32, reset: 0x00080100, access: Unspecified
2/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PTXQTOPBits 0-15: Periodic transmit data FIFO space available.
PTXQSAVBits 16-23: Periodic transmit request queue space available.
PTXQTOPBits 24-31: Top of the periodic transmit request queue.
HAINTOTG_HS Host all channels interrupt register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HAINTBits 0-15: Channel interrupts.
HAINTMSKOTG_HS host all channels interrupt mask register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 HAINTMBits 0-15: Channel interrupt mask.
HPRTOTG_HS host port control and status register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
4/13 fields covered.
Toggle fields PCSTSBit 0: Port connect status.
PCDETBit 1: Port connect detected.
PENABit 2: Port enable.
PENCHNGBit 3: Port enable/disable change.
POCABit 4: Port overcurrent active.
POCCHNGBit 5: Port overcurrent change.
PRESBit 6: Port resume.
PSUSPBit 7: Port suspend.
PRSTBit 8: Port reset.
PLSTSBits 10-11: Port line status.
PPWRBit 12: Port power.
PTCTLBits 13-16: Port test control.
PSPDBits 17-18: Port speed.
CHAR [0]OTG_HS host channel-0 characteristics register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [0]OTG_HS host channel-0 split control register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [0]OTG_HS host channel-11 interrupt register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [0]OTG_HS host channel-11 interrupt mask register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [0]OTG_HS host channel-11 transfer size register
Offset: 0x110, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [0]OTG_HS host channel-0 DMA address register
Offset: 0x114, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [1]OTG_HS host channel-0 characteristics register
Offset: 0x120, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [1]OTG_HS host channel-0 split control register
Offset: 0x124, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [1]OTG_HS host channel-11 interrupt register
Offset: 0x128, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [1]OTG_HS host channel-11 interrupt mask register
Offset: 0x12c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [1]OTG_HS host channel-11 transfer size register
Offset: 0x130, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [1]OTG_HS host channel-0 DMA address register
Offset: 0x134, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [2]OTG_HS host channel-0 characteristics register
Offset: 0x140, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [2]OTG_HS host channel-0 split control register
Offset: 0x144, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [2]OTG_HS host channel-11 interrupt register
Offset: 0x148, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [2]OTG_HS host channel-11 interrupt mask register
Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [2]OTG_HS host channel-11 transfer size register
Offset: 0x150, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [2]OTG_HS host channel-0 DMA address register
Offset: 0x154, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [3]OTG_HS host channel-0 characteristics register
Offset: 0x160, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [3]OTG_HS host channel-0 split control register
Offset: 0x164, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [3]OTG_HS host channel-11 interrupt register
Offset: 0x168, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [3]OTG_HS host channel-11 interrupt mask register
Offset: 0x16c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [3]OTG_HS host channel-11 transfer size register
Offset: 0x170, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [3]OTG_HS host channel-0 DMA address register
Offset: 0x174, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [4]OTG_HS host channel-0 characteristics register
Offset: 0x180, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [4]OTG_HS host channel-0 split control register
Offset: 0x184, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [4]OTG_HS host channel-11 interrupt register
Offset: 0x188, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [4]OTG_HS host channel-11 interrupt mask register
Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [4]OTG_HS host channel-11 transfer size register
Offset: 0x190, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [4]OTG_HS host channel-0 DMA address register
Offset: 0x194, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [5]OTG_HS host channel-0 characteristics register
Offset: 0x1a0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [5]OTG_HS host channel-0 split control register
Offset: 0x1a4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [5]OTG_HS host channel-11 interrupt register
Offset: 0x1a8, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [5]OTG_HS host channel-11 interrupt mask register
Offset: 0x1ac, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [5]OTG_HS host channel-11 transfer size register
Offset: 0x1b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [5]OTG_HS host channel-0 DMA address register
Offset: 0x1b4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [6]OTG_HS host channel-0 characteristics register
Offset: 0x1c0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [6]OTG_HS host channel-0 split control register
Offset: 0x1c4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [6]OTG_HS host channel-11 interrupt register
Offset: 0x1c8, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [6]OTG_HS host channel-11 interrupt mask register
Offset: 0x1cc, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [6]OTG_HS host channel-11 transfer size register
Offset: 0x1d0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [6]OTG_HS host channel-0 DMA address register
Offset: 0x1d4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [7]OTG_HS host channel-0 characteristics register
Offset: 0x1e0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [7]OTG_HS host channel-0 split control register
Offset: 0x1e4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [7]OTG_HS host channel-11 interrupt register
Offset: 0x1e8, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [7]OTG_HS host channel-11 interrupt mask register
Offset: 0x1ec, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [7]OTG_HS host channel-11 transfer size register
Offset: 0x1f0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [7]OTG_HS host channel-0 DMA address register
Offset: 0x1f4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [8]OTG_HS host channel-0 characteristics register
Offset: 0x200, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [8]OTG_HS host channel-0 split control register
Offset: 0x204, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [8]OTG_HS host channel-11 interrupt register
Offset: 0x208, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [8]OTG_HS host channel-11 interrupt mask register
Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [8]OTG_HS host channel-11 transfer size register
Offset: 0x210, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [8]OTG_HS host channel-0 DMA address register
Offset: 0x214, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [9]OTG_HS host channel-0 characteristics register
Offset: 0x220, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [9]OTG_HS host channel-0 split control register
Offset: 0x224, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [9]OTG_HS host channel-11 interrupt register
Offset: 0x228, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [9]OTG_HS host channel-11 interrupt mask register
Offset: 0x22c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [9]OTG_HS host channel-11 transfer size register
Offset: 0x230, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [9]OTG_HS host channel-0 DMA address register
Offset: 0x234, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [10]OTG_HS host channel-0 characteristics register
Offset: 0x240, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [10]OTG_HS host channel-0 split control register
Offset: 0x244, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [10]OTG_HS host channel-11 interrupt register
Offset: 0x248, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [10]OTG_HS host channel-11 interrupt mask register
Offset: 0x24c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [10]OTG_HS host channel-11 transfer size register
Offset: 0x250, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [10]OTG_HS host channel-0 DMA address register
Offset: 0x254, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [11]OTG_HS host channel-0 characteristics register
Offset: 0x260, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [11]OTG_HS host channel-0 split control register
Offset: 0x264, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [11]OTG_HS host channel-11 interrupt register
Offset: 0x268, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [11]OTG_HS host channel-11 interrupt mask register
Offset: 0x26c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [11]OTG_HS host channel-11 transfer size register
Offset: 0x270, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [11]OTG_HS host channel-0 DMA address register
Offset: 0x274, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [12]OTG_HS host channel-0 characteristics register
Offset: 0x280, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [12]OTG_HS host channel-0 split control register
Offset: 0x284, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [12]OTG_HS host channel-11 interrupt register
Offset: 0x288, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [12]OTG_HS host channel-11 interrupt mask register
Offset: 0x28c, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [12]OTG_HS host channel-11 transfer size register
Offset: 0x290, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [12]OTG_HS host channel-0 DMA address register
Offset: 0x294, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [13]OTG_HS host channel-0 characteristics register
Offset: 0x2a0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [13]OTG_HS host channel-0 split control register
Offset: 0x2a4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [13]OTG_HS host channel-11 interrupt register
Offset: 0x2a8, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [13]OTG_HS host channel-11 interrupt mask register
Offset: 0x2ac, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [13]OTG_HS host channel-11 transfer size register
Offset: 0x2b0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [13]OTG_HS host channel-0 DMA address register
Offset: 0x2b4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [14]OTG_HS host channel-0 characteristics register
Offset: 0x2c0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [14]OTG_HS host channel-0 split control register
Offset: 0x2c4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [14]OTG_HS host channel-11 interrupt register
Offset: 0x2c8, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [14]OTG_HS host channel-11 interrupt mask register
Offset: 0x2cc, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [14]OTG_HS host channel-11 transfer size register
Offset: 0x2d0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [14]OTG_HS host channel-0 DMA address register
Offset: 0x2d4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
CHAR [15]OTG_HS host channel-0 characteristics register
Offset: 0x2e0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields MPSIZBits 0-10: Maximum packet size.
EPNUMBits 11-14: Endpoint number.
EPDIRBit 15: Endpoint direction.
LSDEVBit 17: Low-speed device.
EPTYPBits 18-19: Endpoint type.
MCBits 20-21: Multi Count (MC) / Error Count (EC).
DADBits 22-28: Device address.
ODDFRMBit 29: Odd frame.
CHDISBit 30: Channel disable.
CHENABit 31: Channel enable.
SPLT [15]OTG_HS host channel-0 split control register
Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PRTADDRBits 0-6: Port address.
HUBADDRBits 7-13: Hub address.
XACTPOSBits 14-15: XACTPOS.
COMPLSPLTBit 16: Do complete split.
SPLITENBit 31: Split enable.
INT [15]OTG_HS host channel-11 interrupt register
Offset: 0x2e8, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCBit 0: Transfer completed.
CHHBit 1: Channel halted.
AHBERRBit 2: AHB error.
STALLBit 3: STALL response received interrupt.
NAKBit 4: NAK response received interrupt.
ACKBit 5: ACK response received/transmitted interrupt.
NYETBit 6: Response received interrupt.
TXERRBit 7: Transaction error.
BBERRBit 8: Babble error.
FRMORBit 9: Frame overrun.
DTERRBit 10: Data toggle error.
INTMSK [15]OTG_HS host channel-11 interrupt mask register
Offset: 0x2ec, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
Toggle fields XFRCMBit 0: Transfer completed mask.
CHHMBit 1: Channel halted mask.
AHBERRBit 2: AHB error.
STALLMBit 3: STALL response received interrupt mask.
NAKMBit 4: NAK response received interrupt mask.
ACKMBit 5: ACK response received/transmitted interrupt mask.
NYETBit 6: response received interrupt mask.
TXERRMBit 7: Transaction error mask.
BBERRMBit 8: Babble error mask.
FRMORMBit 9: Frame overrun mask.
DTERRMBit 10: Data toggle error mask.
TSIZ [15]OTG_HS host channel-11 transfer size register
Offset: 0x2f0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DPIDBits 0-18: Transfer size.
PKTCNTBits 19-28: Packet count.
DPIDBits 29-30: Data PID.
DMA [15]OTG_HS host channel-0 DMA address register
Offset: 0x2f4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAADDRBits 0-31: DMA address.
OTG_HS_PWRCLK0x40040e00: USB on the go high speed
0/3 fields covered.
Toggle register map Toggle registers PCGCRPower and clock gating control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields STPPCLKBit 0: Stop PHY clock.
GATEHCLKBit 1: Gate HCLK.
PHYSUSPBit 4: PHY suspended.
PWR0x40007000: Power control
18/48 fields covered.
Toggle register map Toggle registers CR1power control register
Offset: 0x0, size: 32, reset: 0x0000C000, access: read-write
2/14 fields covered.
Toggle fields LPDSBit 0: Low-power deep sleep.
PDDSBit 1: Power down deepsleep.
Allowed values:
0: STOP_MODE: Enter Stop mode when the CPU enters deepsleep
1: STANDBY_MODE: Enter Standby mode when the CPU enters deepsleep
Bit 3: Clear standby flag.
PVDEBit 4: Power voltage detector enable.
PLSBits 5-7: PVD level selection.
DBPBit 8: Disable backup domain write protection.
FPDSBit 9: Flash power down in Stop mode.
LPUDSBit 10: Low-power regulator in deepsleep under-drive mode.
MRUDSBit 11: Main regulator in deepsleep under-drive mode.
ADCDC1Bit 13: ADCDC1.
VOSBits 14-15: Regulator voltage scaling output selection.
Allowed values:
1: SCALE3: Scale 3 mode
2: SCALE2: Scale 2 mode
3: SCALE1: Scale 1 mode (reset value)
Bit 16: Over-drive enable.
ODSWENBit 17: Over-drive switching enabled.
UDENBits 18-19: Under-drive enable in stop mode.
CSR1power control/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
4/10 fields covered.
Toggle fields WUIFBit 0: Wakeup internal flag.
SBFBit 1: Standby flag.
PVDOBit 2: PVD output.
BRRBit 3: Backup regulator ready.
EIWUPBit 8: Enable internal wakeup.
BREBit 9: Backup regulator enable.
VOSRDYBit 14: Regulator voltage scaling output selection ready bit.
ODRDYBit 16: Over-drive mode ready.
ODSWRDYBit 17: Over-drive mode switching ready.
UDRDYBits 18-19: Under-drive ready flag.
CR2power control register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
6/12 fields covered.
Toggle fields CWUPF1Bit 0: Clear Wakeup Pin flag for PA0.
CWUPF2Bit 1: Clear Wakeup Pin flag for PA2.
CWUPF3Bit 2: Clear Wakeup Pin flag for PC1.
CWUPF4Bit 3: Clear Wakeup Pin flag for PC13.
CWUPF5Bit 4: Clear Wakeup Pin flag for PI8.
CWUPF6Bit 5: Clear Wakeup Pin flag for PI11.
WUPP1Bit 8: Wakeup pin polarity bit for PA0.
WUPP2Bit 9: Wakeup pin polarity bit for PA2.
WUPP3Bit 10: Wakeup pin polarity bit for PC1.
WUPP4Bit 11: Wakeup pin polarity bit for PC13.
WUPP5Bit 12: Wakeup pin polarity bit for PI8.
WUPP6Bit 13: Wakeup pin polarity bit for PI11.
CSR2power control/status register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
6/12 fields covered.
Toggle fields WUPF1Bit 0: Wakeup Pin flag for PA0.
WUPF2Bit 1: Wakeup Pin flag for PA2.
WUPF3Bit 2: Wakeup Pin flag for PC1.
WUPF4Bit 3: Wakeup Pin flag for PC13.
WUPF5Bit 4: Wakeup Pin flag for PI8.
WUPF6Bit 5: Wakeup Pin flag for PI11.
EWUP1Bit 8: Enable Wakeup pin for PA0.
EWUP2Bit 9: Enable Wakeup pin for PA2.
EWUP3Bit 10: Enable Wakeup pin for PC1.
EWUP4Bit 11: Enable Wakeup pin for PC13.
EWUP5Bit 12: Enable Wakeup pin for PI8.
EWUP6Bit 13: Enable Wakeup pin for PI11.
QUADSPI0xa0001000: QuadSPI interface
51/52 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
15/16 fields covered.
Toggle fields ENBit 0: Enable.
Allowed values:
0: Disabled: QUADSPI is disabled
1: Enabled: QUADSPI is enabled
Bit 1: Abort request.
Allowed values:
0: NoAbortRequested: No abort requested
1: AbortRequested: Abort requested
Bit 2: DMA enable.
Allowed values:
0: Disabled: DMA is disabled for indirect mode
1: Enabled: DMA is enabled for indirect mode
Bit 3: Timeout counter enable.
Allowed values:
0: Disabled: Timeout counter is disabled, and thus the chip select (nCS) remains active indefinitely after an access in memory-mapped mode.
1: Enabled: Timeout counter is enabled, and thus the chip select is released in memory-mapped mode after TIMEOUT[15:0] cycles of Flash memory inactivity.
Bit 4: Sample shift.
Allowed values:
0: NoShift: No shift
1: OneHalfCycleShift: 1/2 cycle shift
Bit 6: Dual-flash mode.
Allowed values:
0: Disabled: Dual-flash mode disabled
1: Enabled: Dual-flash mode enabled
Bit 7: FLASH memory selection.
Allowed values:
0: SelectFlash1: FLASH 1 selected
1: SelectFlash2: FLASH 2 selected
Bits 8-12: IFO threshold level.
TEIEBit 16: Transfer error interrupt enable.
Allowed values:
0: Disabled: Interrupt disable
1: Enabled: Interrupt enabled
Bit 17: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Interrupt disable
1: Enabled: Interrupt enabled
Bit 18: FIFO threshold interrupt enable.
Allowed values:
0: Disabled: Interrupt disable
1: Enabled: Interrupt enabled
Bit 19: Status match interrupt enable.
Allowed values:
0: Disabled: Interrupt disable
1: Enabled: Interrupt enabled
Bit 20: TimeOut interrupt enable.
Allowed values:
0: Disabled: Interrupt disable
1: Enabled: Interrupt enabled
Bit 22: Automatic poll mode stop.
Allowed values:
0: NotStopOnMatch: Automatic polling mode is stopped only by abort or by disabling the QUADSPI.
1: StopOnMatch: Automatic polling mode stops as soon as there is a match.
Bit 23: Polling match mode.
Allowed values:
0: AndMatch: AND match mode. SMF is set if all the unmasked bits received from the Flash memory match the corresponding bits in the match register.
1: OrMatch: OR match mode. SMF is set if any one of the unmasked bits received from the Flash memory matches its corresponding bit in the match register.
Bits 24-31: Clock prescaler.
Allowed values: 0x0-0xff
DCRdevice configuration register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FSIZEBit 0: Mode 0 / mode 3.
Allowed values:
0: Mode0: CLK must stay low while nCS is high (chip select released). This is referred to as mode 0.
1: Mode3: CLK must stay high while nCS is high (chip select released). This is referred to as mode 3.
Bits 8-10: Chip select high time.
Allowed values: 0x0-0x7
FSIZEBits 16-20: FLASH memory size.
Allowed values: 0x0-0x1f
SRstatus register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Toggle fields TEFBit 0: Transfer error flag.
Allowed values:
0: NoError:
1: Error:
Bit 1: Transfer complete flag.
Allowed values:
0: NotComplete:
1: Complete:
Bit 2: FIFO threshold flag.
Allowed values:
0: NotReached:
1: Reached:
Bit 3: Status match flag.
Allowed values:
0: NotMatched:
1: Matched:
Bit 4: Timeout flag.
Allowed values:
0: NotTimeout:
1: Timeout:
Bit 5: Busy.
Allowed values:
0: NotBusy:
1: Busy:
Bits 8-14: FIFO level.
Allowed values: 0x0-0x1f
FCRflag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields CTEFBit 0: Clear transfer error flag.
Allowed values:
1: Clear: clears the TEF flag in the QUADSPI_SR register
Bit 1: Clear transfer complete flag.
Allowed values:
1: Clear: clears the TCF flag in the QUADSPI_SR register
Bit 3: Clear status match flag.
Allowed values:
1: Clear: clears the SMF flag in the QUADSPI_SR register
Bit 4: Clear timeout flag.
Allowed values:
1: Clear: clears the TOF flag in the QUADSPI_SR register
data length register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DLBits 0-31: Data length.
Allowed values: 0x0-0xffffffff
CCRcommunication configuration register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields INSTRUCTIONBits 0-7: Instruction.
Allowed values: 0x0-0xff
IMODEBits 8-9: Instruction mode.
Allowed values:
0: NoInstruction: No instruction
1: SingleLine: Instruction on a single line
2: TwoLines: Instruction on two lines
3: FourLines: Instruction on four lines
Bits 10-11: Address mode.
Allowed values:
0: NoAddress: No address
1: SingleLine: Address on a single line
2: TwoLines: Address on two lines
3: FourLines: Address on four lines
Bits 12-13: Address size.
Allowed values:
0: Bit8: 8-bit address
1: Bit16: 16-bit address
2: Bit24: 24-bit address
3: Bit32: 32-bit address
Bits 14-15: Alternate bytes mode.
Allowed values:
0: NoAlternateBytes: No alternate bytes
1: SingleLine: Alternate bytes on a single line
2: TwoLines: Alternate bytes on two lines
3: FourLines: Alternate bytes on four lines
Bits 16-17: Alternate bytes size.
Allowed values:
0: Bit8: 8-bit alternate byte
1: Bit16: 16-bit alternate bytes
2: Bit24: 24-bit alternate bytes
3: Bit32: 32-bit alternate bytes
Bits 18-22: Number of dummy cycles.
Allowed values: 0x0-0x1f
DMODEBits 24-25: Data mode.
Allowed values:
0: NoData: No data
1: SingleLine: Data on a single line
2: TwoLines: Data on two lines
3: FourLines: Data on four lines
Bits 26-27: Functional mode.
Allowed values:
0: IndirectWrite: Indirect write mode
1: IndirectRead: Indirect read mode
2: AutomaticPolling: Automatic polling mode
3: MemoryMapped: Memory-mapped mode
Bit 28: Send instruction only once mode.
Allowed values:
0: SendEveryTransaction: Send instruction on every transaction
1: SendFirstCommand: Send instruction only for the first command
Bit 30: DDR hold half cycle.
Allowed values:
0: NoDelay: Delay the data output using analog delay
1: Delayed: Delay the data output by 1/4 of a QUADSPI output clock cycle.
Bit 31: Double data rate mode.
Allowed values:
0: Disabled: DDR Mode disabled
1: Enabled: DDR Mode enabled
address register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADDRESSBits 0-31: Address.
Allowed values: 0x0-0xffffffff
ABRABR
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ALTERNATEBits 0-31: ALTERNATE.
Allowed values: 0x0-0xffffffff
DRData register: full word (32 bit) access
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
Allowed values: 0x0-0xffffffff
DR16Data register: half word (16 bit) access
Offset: 0x20, size: 16, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DATABits 0-15: Data.
Allowed values: 0x0-0xffff
DR8Data register: one byte (8 bit) access
Offset: 0x20, size: 8, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DATABits 0-7: Data.
Allowed values: 0x0-0xff
PSMKRpolling status mask register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MASKBits 0-31: Status mask.
Allowed values: 0x0-0xffffffff
PSMARpolling status match register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MATCHBits 0-31: Status match.
Allowed values: 0x0-0xffffffff
PIRpolling interval register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INTERVALBits 0-15: Polling interval.
Allowed values: 0x0-0xffff
LPTRlow-power timeout register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TIMEOUTBits 0-15: Timeout period.
Allowed values: 0x0-0xffff
RCC0x40023800: Reset and clock control
296/296 fields covered.
Toggle register map Toggle registers CRclock control register
Offset: 0x0, size: 32, reset: 0x00000083, access: Unspecified
14/14 fields covered.
Toggle fields HSIONBit 0: Internal high-speed clock enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 1: Internal high-speed clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bits 3-7: Internal high-speed clock trimming.
Allowed values: 0x0-0x1f
HSICALBits 8-15: Internal high-speed clock calibration.
Allowed values: 0x0-0xff
HSEONBit 16: HSE clock enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 17: HSE clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 18: HSE clock bypass.
Allowed values:
0: NotBypassed: HSE crystal oscillator not bypassed
1: Bypassed: HSE crystal oscillator bypassed with external clock
Bit 19: Clock security system enable.
Allowed values:
0: Off: Clock security system disabled (clock detector OFF)
1: On: Clock security system enable (clock detector ON if the HSE is ready, OFF if not)
Bit 24: Main PLL (PLL) enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 25: Main PLL (PLL) clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 26: PLLI2S enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 27: PLLI2S clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 28: PLLSAI enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 29: PLLSAI clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
PLL configuration register
Offset: 0x4, size: 32, reset: 0x24003010, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PLLQBits 0-5: Division factor for the main PLL (PLL) and audio PLL (PLLI2S) input clock.
Allowed values: 0x2-0x3f
PLLNBits 6-14: Main PLL (PLL) multiplication factor for VCO.
Allowed values: 0x32-0x1b0
PLLPBits 16-17: Main PLL (PLL) division factor for main system clock.
Allowed values:
0: Div2: PLLP=2
1: Div4: PLLP=4
2: Div6: PLLP=6
3: Div8: PLLP=8
Bit 22: Main PLL(PLL) and audio PLL (PLLI2S) entry clock source.
Allowed values:
0: HSI: HSI clock selected as PLL and PLLI2S clock entry
1: HSE: HSE oscillator clock selected as PLL and PLLI2S clock entry
Bits 24-27: Main PLL (PLL) division factor for USB OTG FS, SDIO and random number generator clocks.
Allowed values: 0x2-0xf
CFGRclock configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
11/11 fields covered.
Toggle fields SWBits 0-1: System clock switch.
Allowed values:
0: HSI: HSI selected as system clock
1: HSE: HSE selected as system clock
2: PLL: PLL selected as system clock
Bits 2-3: System clock switch status.
Allowed values:
0: HSI: HSI oscillator used as system clock
1: HSE: HSE oscillator used as system clock
2: PLL: PLL used as system clock
Bits 4-7: AHB prescaler.
Allowed values:
8: Div2: SYSCLK divided by 2
9: Div4: SYSCLK divided by 4
10: Div8: SYSCLK divided by 8
11: Div16: SYSCLK divided by 16
12: Div64: SYSCLK divided by 64
13: Div128: SYSCLK divided by 128
14: Div256: SYSCLK divided by 256
15: Div512: SYSCLK divided by 512
0 (+): Div1: SYSCLK not divided
Bits 10-12: APB Low speed prescaler (APB1).
Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided
Bits 13-15: APB high-speed prescaler (APB2).
Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided
Bits 16-20: HSE division factor for RTC clock.
Allowed values: 0x0-0x1f
MCO1Bits 21-22: Microcontroller clock output 1.
Allowed values:
0: HSI: HSI clock selected
1: LSE: LSE oscillator selected
2: HSE: HSE oscillator clock selected
3: PLL: PLL clock selected
Bit 23: I2S clock selection.
Allowed values:
0: PLLI2S: PLLI2S clock used as I2S clock source
1: CKIN: External clock mapped on the I2S_CKIN pin used as I2S clock source
Bits 24-26: MCO1 prescaler.
Allowed values:
4: Div2: Division by 2
5: Div3: Division by 3
6: Div4: Division by 4
7: Div5: Division by 5
0 (+): Div1: No division
Bits 27-29: MCO2 prescaler.
Allowed values:
4: Div2: Division by 2
5: Div3: Division by 3
6: Div4: Division by 4
7: Div5: Division by 5
0 (+): Div1: No division
Bits 30-31: Microcontroller clock output 2.
Allowed values:
0: SYSCLK: System clock (SYSCLK) selected
1: PLLI2S: PLLI2S clock selected
2: HSE: HSE oscillator clock selected
3: PLL: PLL clock selected
clock interrupt register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
23/23 fields covered.
Toggle fields LSIRDYFBit 0: LSI ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 1: LSE ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 2: HSI ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 3: HSE ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 4: Main PLL (PLL) ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 5: PLLI2S ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 6: PLLSAI ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 7: Clock security system interrupt flag.
Allowed values:
0: NotInterrupted: No clock security interrupt caused by HSE clock failure
1: Interrupted: Clock security interrupt caused by HSE clock failure
Bit 8: LSI ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 9: LSE ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 10: HSI ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 11: HSE ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 12: Main PLL (PLL) ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 13: PLLI2S ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: PLLSAI Ready Interrupt Enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 16: LSI ready interrupt clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 17: LSE ready interrupt clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 18: HSI ready interrupt clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 19: HSE ready interrupt clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 20: Main PLL(PLL) ready interrupt clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 21: PLLI2S ready interrupt clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 22: PLLSAI Ready Interrupt Clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 23: Clock security system interrupt clear.
Allowed values:
1: Clear: Clear CSSF flag
AHB1 peripheral reset register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields GPIOARSTBit 0: IO port A reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: IO port B reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: IO port C reset.
Allowed values:
1: Reset: Reset the selected module
Bit 3: IO port D reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: IO port E reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: IO port F reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: IO port G reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: IO port H reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: IO port I reset.
Allowed values:
1: Reset: Reset the selected module
Bit 12: CRC reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: DMA2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: DMA2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 29: USB OTG HS module reset.
Allowed values:
1: Reset: Reset the selected module
AHB2 peripheral reset register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields AESRSTBit 4: AES module reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: Random number generator module reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: USB OTG FS module reset.
Allowed values:
1: Reset: Reset the selected module
AHB3 peripheral reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields FMCRSTBit 0: Flexible memory controller module reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: Quad SPI memory controller reset.
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
Toggle fields TIM2RSTBit 0: TIM2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: TIM3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: TIM4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 3: TIM5 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: TIM6 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: TIM7 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: TIM12 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: TIM13 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: TIM14 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 9: Low power timer 1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 11: Window watchdog reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: SPI 2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI 3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 17: USART 2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: USART 3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 19: USART 4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: USART 5 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: I2C 1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: I2C 2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 23: I2C3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 25: CAN1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 28: Power interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 29: DAC reset.
Allowed values:
1: Reset: Reset the selected module
Bit 30: UART7 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 31: UART8 reset.
Allowed values:
1: Reset: Reset the selected module
APB2 peripheral reset register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields TIM1RSTBit 0: TIM1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: TIM8 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: USART1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: USART6 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: SDMMC2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: ADC interface reset (common to all ADCs).
Allowed values:
1: Reset: Reset the selected module
Bit 11: SDMMC1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 12: SPI 1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 13: SPI4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: System configuration controller reset.
Allowed values:
1: Reset: Reset the selected module
Bit 16: TIM9 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 17: TIM10 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: TIM11 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: SPI5 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: SAI1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 23: SAI2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 31: USB OTG HS PHY controller reset.
Allowed values:
1: Reset: Reset the selected module
AHB1 peripheral clock register
Offset: 0x30, size: 32, reset: 0x00100000, access: read-write
16/16 fields covered.
Toggle fields GPIOAENBit 0: IO port A clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: IO port B clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: IO port C clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: IO port D clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: IO port E clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: IO port F clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: IO port G clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: IO port H clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: IO port I clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: CRC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: Backup SRAM interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: CCM data RAM clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: DMA1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: DMA2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 29: USB OTG HS clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 30: USB OTG HSULPI clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB2 peripheral clock enable register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields AESENBit 4: AES module clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: Random number generator clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: USB OTG FS clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB3 peripheral clock enable register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 QSPIENBit 0: Flexible memory controller module clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: Quad SPI memory controller clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1 peripheral clock enable register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
26/26 fields covered.
Toggle fields TIM2ENBit 0: TIM2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: TIM3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: TIM4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: TIM5 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: TIM6 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: TIM7 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: TIM12 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: TIM13 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: TIM14 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 9: Low power timer 1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 10: RTCAPB clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: Window watchdog clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: SPI2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: USART 2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: USART3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: UART4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: UART5 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: I2C1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: I2C2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 23: I2C3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 25: CAN 1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 28: Power interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 29: DAC interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 30: UART7 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 31: UART8 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB2 peripheral clock enable register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields TIM1ENBit 0: TIM1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: TIM8 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: USART1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: USART6 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: SDMMC2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: ADC1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 9: ADC2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 10: ADC3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: SDMMC1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: SPI1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: SPI4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: System configuration controller clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: TIM9 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: TIM10 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: TIM11 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: SPI5 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: SAI1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 23: SAI2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 31: USB OTG HS PHY controller clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB1 peripheral clock enable in low power mode register
Offset: 0x50, size: 32, reset: 0x7E6791FF, access: read-write
21/21 fields covered.
Toggle fields GPIOALPENBit 0: IO port A clock enable during sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 1: IO port B clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 2: IO port C clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 3: IO port D clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 4: IO port E clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 5: IO port F clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 6: IO port G clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 7: IO port H clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 8: IO port I clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 12: CRC clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 13: AXI to AHB bridge clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 15: Flash interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 16: SRAM 1interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 17: SRAM 2 interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 18: Backup SRAM interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 19: SRAM 3 interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 20: DTCM RAM interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 21: DMA1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 22: DMA2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 29: USB OTG HS clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 30: USB OTG HS ULPI clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
AHB2 peripheral clock enable in low power mode register
Offset: 0x54, size: 32, reset: 0x000000F1, access: read-write
3/3 fields covered.
Toggle fields AESLPENBit 4: AES module clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 6: Random number generator clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 7: USB OTG FS clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
AHB3 peripheral clock enable in low power mode register
Offset: 0x58, size: 32, reset: 0x00000001, access: read-write
2/2 fields covered.
Toggle fields FMCLPENBit 0: Flexible memory controller module clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 1: Quand SPI memory controller clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
APB1 peripheral clock enable in low power mode register
Offset: 0x60, size: 32, reset: 0x36FEC9FF, access: read-write
26/26 fields covered.
Toggle fields TIM2LPENBit 0: TIM2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 1: TIM3 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 2: TIM4 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 3: TIM5 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 4: TIM6 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 5: TIM7 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 6: TIM12 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 7: TIM13 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 8: TIM14 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 9: low power timer 1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 10: RTCAPB clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 11: Window watchdog clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 14: SPI2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 15: SPI3 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 17: USART2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 18: USART3 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 19: UART4 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 20: UART5 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 21: I2C1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 22: I2C2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 23: I2C3 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 25: CAN 1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 28: Power interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 29: DAC interface clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 30: UART7 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 31: UART8 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
APB2 peripheral clock enabled in low power mode register
Offset: 0x64, size: 32, reset: 0x00075F33, access: read-write
18/18 fields covered.
Toggle fields TIM1LPENBit 0: TIM1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 1: TIM8 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 4: USART1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 5: USART6 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 7: SDMMC2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 8: ADC1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 9: ADC2 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 10: ADC 3 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 11: SDMMC1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 12: SPI 1 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 13: SPI 4 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 14: System configuration controller clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 16: TIM9 clock enable during sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 17: TIM10 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 18: TIM11 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 20: SPI 5 clock enable during Sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 22: SAI1 clock enable during sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Bit 23: SAI2 clock enable during sleep mode.
Allowed values:
0: DisabledInSleep: Selected module is disabled during Sleep mode
1: EnabledInSleep: Selected module is enabled during Sleep mode
Backup domain control register
Offset: 0x70, size: 32, reset: 0x00000000, access: Unspecified
7/7 fields covered.
Toggle fields LSEONBit 0: External low-speed oscillator enable.
Allowed values:
0: Off: LSE oscillator Off
1: On: LSE oscillator On
Bit 1: External low-speed oscillator ready.
Allowed values:
0: NotReady: LSE oscillator not ready
1: Ready: LSE oscillator ready
Bit 2: External low-speed oscillator bypass.
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.
Allowed values:
0: Low: Low drive capacity
1: MediumHigh: Medium-high drive capacity
2: MediumLow: Medium-low drive capacity
3: High: High drive capacity
Bits 8-9: RTC clock source selection.
Allowed values:
0: NoClock: No clock
1: LSE: LSE oscillator clock used as RTC clock
2: LSI: LSI oscillator clock used as RTC clock
3: HSE: HSE oscillator clock divided by a prescaler used as RTC clock
Bit 15: RTC clock enable.
Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled
Bit 16: Backup domain software reset.
Allowed values:
0: Disabled: Reset not activated
1: Enabled: Reset the entire RTC domain
clock control & status register
Offset: 0x74, size: 32, reset: 0x0E000000, access: Unspecified
10/10 fields covered.
Toggle fields LSIONBit 0: Internal low-speed oscillator enable.
Allowed values:
0: Off: LSI oscillator Off
1: On: LSI oscillator On
Bit 1: Internal low-speed oscillator ready.
Allowed values:
0: NotReady: LSI oscillator not ready
1: Ready: LSI oscillator ready
Bit 24: Remove reset flag.
Allowed values:
1: Clear: Clears the reset flag
Bit 25: BOR reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 26: PIN reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 27: POR/PDR reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 28: Software reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 29: Independent watchdog reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 30: Window watchdog reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 31: Low-power reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
spread spectrum clock generation register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields MODPERBits 0-12: Modulation period.
Allowed values: 0x0-0x1fff
INCSTEPBits 13-27: Incrementation step.
Allowed values: 0x0-0x7fff
SPREADSELBit 30: Spread Select.
Allowed values:
0: Center: Center spread
1: Down: Down spread
Bit 31: Spread spectrum modulation enable.
Allowed values:
0: Disabled: Spread spectrum modulation disabled
1: Enabled: Spread spectrum modulation enabled
PLLI2S configuration register
Offset: 0x84, size: 32, reset: 0x20003000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PLLI2SRBits 6-14: PLLI2S multiplication factor for VCO.
Allowed values: 0x32-0x1b0
PLLI2SQBits 24-27: PLLI2S division factor for SAI1 clock.
Allowed values: 0x2-0xf
PLLI2SRBits 28-30: PLLI2S division factor for I2S clocks.
Allowed values: 0x2-0x7
PLLSAICFGRPLL configuration register
Offset: 0x88, size: 32, reset: 0x20003000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PLLSAIQBits 6-14: PLLSAI division factor for VCO.
Allowed values: 0x32-0x1b0
PLLSAIPBits 16-17: PLLSAI division factor for 48MHz clock.
Allowed values:
0: Div2: PLL*P=2
1: Div4: PLL*P=4
2: Div6: PLL*P=6
3: Div8: PLL*P=8
Bits 24-27: PLLSAI division factor for SAI clock.
Allowed values: 0x2-0xf
DCKCFGR1dedicated clocks configuration register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields PLLI2SDIVQBits 0-4: PLLI2S division factor for SAI1 clock.
Allowed values:
0: Div1: PLLI2SDIVQ = /1
1: Div2: PLLI2SDIVQ = /2
2: Div3: PLLI2SDIVQ = /3
3: Div4: PLLI2SDIVQ = /4
4: Div5: PLLI2SDIVQ = /5
5: Div6: PLLI2SDIVQ = /6
6: Div7: PLLI2SDIVQ = /7
7: Div8: PLLI2SDIVQ = /8
8: Div9: PLLI2SDIVQ = /9
9: Div10: PLLI2SDIVQ = /10
10: Div11: PLLI2SDIVQ = /11
11: Div12: PLLI2SDIVQ = /12
12: Div13: PLLI2SDIVQ = /13
13: Div14: PLLI2SDIVQ = /14
14: Div15: PLLI2SDIVQ = /15
15: Div16: PLLI2SDIVQ = /16
16: Div17: PLLI2SDIVQ = /17
17: Div18: PLLI2SDIVQ = /18
18: Div19: PLLI2SDIVQ = /19
19: Div20: PLLI2SDIVQ = /20
20: Div21: PLLI2SDIVQ = /21
21: Div22: PLLI2SDIVQ = /22
22: Div23: PLLI2SDIVQ = /23
23: Div24: PLLI2SDIVQ = /24
24: Div25: PLLI2SDIVQ = /25
25: Div26: PLLI2SDIVQ = /26
26: Div27: PLLI2SDIVQ = /27
27: Div28: PLLI2SDIVQ = /28
28: Div29: PLLI2SDIVQ = /29
29: Div30: PLLI2SDIVQ = /30
30: Div31: PLLI2SDIVQ = /31
31: Div32: PLLI2SDIVQ = /32
Bits 8-12: PLLSAI division factor for SAI1 clock.
Allowed values:
0: Div1: PLLSAIDIVQ = /1
1: Div2: PLLSAIDIVQ = /2
2: Div3: PLLSAIDIVQ = /3
3: Div4: PLLSAIDIVQ = /4
4: Div5: PLLSAIDIVQ = /5
5: Div6: PLLSAIDIVQ = /6
6: Div7: PLLSAIDIVQ = /7
7: Div8: PLLSAIDIVQ = /8
8: Div9: PLLSAIDIVQ = /9
9: Div10: PLLSAIDIVQ = /10
10: Div11: PLLSAIDIVQ = /11
11: Div12: PLLSAIDIVQ = /12
12: Div13: PLLSAIDIVQ = /13
13: Div14: PLLSAIDIVQ = /14
14: Div15: PLLSAIDIVQ = /15
15: Div16: PLLSAIDIVQ = /16
16: Div17: PLLSAIDIVQ = /17
17: Div18: PLLSAIDIVQ = /18
18: Div19: PLLSAIDIVQ = /19
19: Div20: PLLSAIDIVQ = /20
20: Div21: PLLSAIDIVQ = /21
21: Div22: PLLSAIDIVQ = /22
22: Div23: PLLSAIDIVQ = /23
23: Div24: PLLSAIDIVQ = /24
24: Div25: PLLSAIDIVQ = /25
25: Div26: PLLSAIDIVQ = /26
26: Div27: PLLSAIDIVQ = /27
27: Div28: PLLSAIDIVQ = /28
28: Div29: PLLSAIDIVQ = /29
29: Div30: PLLSAIDIVQ = /30
30: Div31: PLLSAIDIVQ = /31
31: Div32: PLLSAIDIVQ = /32
Bits 20-21: SAI1 clock source selection.
Allowed values:
0: PLLSAI: SAI1 clock frequency = f(PLLSAI_Q) / PLLSAIDIVQ
1: PLLI2S: SAI1 clock frequency = f(PLLI2S_Q) / PLLI2SDIVQ
2: AFIF: SAI1 clock frequency = Alternate function input frequency
3: HSI_HSE: SAI1 clock frequency = HSI or HSE
Bits 22-23: SAI2 clock source selection.
Allowed values:
0: PLLSAI: SAI2 clock frequency = f(PLLSAI_Q) / PLLSAIDIVQ
1: PLLI2S: SAI2 clock frequency = f(PLLI2S_Q) / PLLI2SDIVQ
2: AFIF: SAI2 clock frequency = Alternate function input frequency
3: HSI_HSE: SAI2 clock frequency = HSI or HSE
Bit 24: Timers clocks prescalers selection.
Allowed values:
0: Mul1Or2: If the APB prescaler is configured 1, TIMxCLK = PCLKx. Otherwise, TIMxCLK = 2xPCLKx
1: Mul1Or4: If the APB prescaler is configured 1, 2 or 4, TIMxCLK = HCLK. Otherwise, TIMxCLK = 4xPCLKx
dedicated clocks configuration register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields USART1SELBits 0-1: USART 1 clock source selection.
Allowed values:
0: APB2: APB2 clock (PCLK2) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 2-3: USART 2 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 4-5: USART 3 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 6-7: UART 4 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 8-9: UART 5 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 10-11: USART 6 clock source selection.
Allowed values:
0: APB2: APB2 clock (PCLK2) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 12-13: UART 7 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 14-15: UART 8 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) is selected as USART clock
1: SYSCLK: System clock is selected as USART clock
2: HSI: HSI clock is selected as USART clock
3: LSE: LSE clock is selected as USART clock
Bits 16-17: I2C1 clock source selection.
Allowed values:
0: APB: APB clock selected as I2C clock
1: SYSCLK: System clock selected as I2C clock
2: HSI: HSI clock selected as I2C clock
Bits 18-19: I2C2 clock source selection.
Allowed values:
0: APB: APB clock selected as I2C clock
1: SYSCLK: System clock selected as I2C clock
2: HSI: HSI clock selected as I2C clock
Bits 20-21: I2C3 clock source selection.
Allowed values:
0: APB: APB clock selected as I2C clock
1: SYSCLK: System clock selected as I2C clock
2: HSI: HSI clock selected as I2C clock
Bits 24-25: Low power timer 1 clock source selection.
Allowed values:
0: APB1: APB1 clock (PCLK1) selected as LPTILM1 clock
1: LSI: LSI clock is selected as LPTILM1 clock
2: HSI: HSI clock is selected as LPTILM1 clock
3: LSE: LSE clock is selected as LPTILM1 clock
Bit 27: 48MHz clock source selection.
Allowed values:
0: PLL: 48MHz clock from PLL is selected
1: PLLSAI: 48MHz clock from PLLSAI is selected
Bit 28: SDMMC1 clock source selection.
Allowed values:
0: CK48M: 48 MHz clock is selected as SD clock
1: SYSCLK: System clock is selected as SD clock
Bit 29: SDMMC2 clock source selection.
Allowed values:
0: CK48M: 48 MHz clock is selected as SD clock
1: SYSCLK: System clock is selected as SD clock
0x50060800: Random number generator
8/8 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 IEBit 2: Random number generator enable.
Allowed values:
0: Disabled: Random number generator is disabled
1: Enabled: Random number generator is enabled
Bit 3: Interrupt enable.
Allowed values:
0: Disabled: RNG interrupt is disabled
1: Enabled: RNG interrupt is enabled
status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
Toggle fields DRDYBit 0: Data ready.
Allowed values:
0: Invalid: The RNG_DR register is not yet valid, no random data is available
1: Valid: The RNG_DR register contains valid random data. Once the RNG_DR register has been read, this bit returns to 0 until a new random value is generated.
Bit 1: Clock error current status.
Allowed values:
0: Correct: The RNG clock is correct. If the CEIS bit is set, this means that a slow clock was detected and the situation has been recovered.
1: Slow: The RNG clock is too slow
Bit 2: Seed error current status.
Allowed values:
0: NoFault: No faulty sequence has currently been detected. If the SEIS bit is set, this means that a faulty sequence was detected and the situation has been recovered.
1: Fault: At least one faulty sequence has been detected - see ref manual for details
Bit 5: Clock error interrupt status.
Allowed values:
0: Clear: Clear flag
Bit 6: Seed error interrupt status.
Allowed values:
0: Clear: Clear flag
data register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RNDATABits 0-31: Random data.
Allowed values: 0x0-0xffffffff
RTC0x40002800: Real-time clock
142/166 fields covered.
Toggle register map Toggle registers TRtime register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PMBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MNUBits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
HUBits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
date register
Offset: 0x4, size: 32, reset: 0x00002101, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 YTBits 0-3: Date units in BCD format.
Allowed values: 0x0-0xf
DTBits 4-5: Date tens in BCD format.
Allowed values: 0x0-0x3
MUBits 8-11: Month units in BCD format.
Allowed values: 0x0-0xf
MTBit 12: Month tens in BCD format.
Allowed values:
0: Zero: Month tens is 0
1: One: Month tens is 1
Bits 13-15: Week day units.
Allowed values: 0x1-0x7
YUBits 16-19: Year units in BCD format.
Allowed values: 0x0-0xf
YTBits 20-23: Year tens in BCD format.
Allowed values: 0x0-0xf
CRcontrol register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
20/21 fields covered.
Toggle fields WUCKSELBits 0-2: Wakeup clock selection.
Allowed values:
0: Div16: RTC/16 clock is selected
1: Div8: RTC/8 clock is selected
2: Div4: RTC/4 clock is selected
3: Div2: RTC/2 clock is selected
4: ClockSpare: ck_spre (usually 1 Hz) clock is selected
6: ClockSpareWithOffset: ck_spre (usually 1 Hz) clock is selected and 2^16 is added to the WUT counter value
Bit 3: Time-stamp event active edge.
Allowed values:
0: RisingEdge: RTC_TS input rising edge generates a time-stamp event
1: FallingEdge: RTC_TS input falling edge generates a time-stamp event
Bit 4: Reference clock detection enable (50 or 60 Hz).
Allowed values:
0: Disabled: RTC_REFIN detection disabled
1: Enabled: RTC_REFIN detection enabled
Bit 5: Bypass the shadow registers.
Allowed values:
0: ShadowReg: Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken from the shadow registers, which are updated once every two RTCCLK cycles
1: BypassShadowReg: Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken directly from the calendar counters
Bit 6: Hour format.
Allowed values:
0: Twenty_Four_Hour: 24 hour/day format
1: AM_PM: AM/PM hour format
Bit 8: Alarm A enable.
Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled
Bit 9: Alarm B enable.
Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled
Bit 10: Wakeup timer enable.
Allowed values:
0: Disabled: Wakeup timer disabled
1: Enabled: Wakeup timer enabled
Bit 11: Time stamp enable.
Allowed values:
0: Disabled: Timestamp disabled
1: Enabled: Timestamp enabled
Bit 12: Alarm A interrupt enable.
Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled
Bit 13: Alarm B interrupt enable.
Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled
Bit 14: Wakeup timer interrupt enable.
Allowed values:
0: Disabled: Wakeup timer interrupt disabled
1: Enabled: Wakeup timer interrupt enabled
Bit 15: Time-stamp interrupt enable.
Allowed values:
0: Disabled: Time-stamp Interrupt disabled
1: Enabled: Time-stamp Interrupt enabled
Bit 16: Add 1 hour (summer time change).
Allowed values:
1: Add1: Adds 1 hour to the current time. This can be used for summer time change outside initialization mode
Bit 17: Subtract 1 hour (winter time change).
Allowed values:
1: Sub1: Subtracts 1 hour to the current time. This can be used for winter time change outside initialization mode
Bit 18: Backup.
Allowed values:
0: DST_Not_Changed: Daylight Saving Time change has not been performed
1: DST_Changed: Daylight Saving Time change has been performed
Bit 19: Calibration output selection.
Allowed values:
0: CalFreq_512Hz: Calibration output is 512 Hz (with default prescaler setting)
1: CalFreq_1Hz: Calibration output is 1 Hz (with default prescaler setting)
Bit 20: Output polarity.
Allowed values:
0: High: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
1: Low: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
Bits 21-22: Output selection.
Allowed values:
0: Disabled: Output disabled
1: AlarmA: Alarm A output enabled
2: AlarmB: Alarm B output enabled
3: Wakeup: Wakeup output enabled
Bit 23: Calibration output enable.
Allowed values:
0: Disabled: Calibration output disabled
1: Enabled: Calibration output enabled
Bit 24: timestamp on internal event enable.
ISRinitialization and status register
Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified
18/18 fields covered.
Toggle fields ALR[A]WFBit 0: Alarm A write flag.
Allowed values:
0: UpdateNotAllowed: Alarm update not allowed
1: UpdateAllowed: Alarm update allowed
Bit 1: Alarm B write flag.
Allowed values:
0: UpdateNotAllowed: Alarm update not allowed
1: UpdateAllowed: Alarm update allowed
Bit 2: Wakeup timer write flag.
Allowed values:
0: UpdateNotAllowed: Wakeup timer configuration update not allowed
1: UpdateAllowed: Wakeup timer configuration update allowed
Bit 3: Shift operation pending.
Allowed values:
0: NoShiftPending: No shift operation is pending
1: ShiftPending: A shift operation is pending
Bit 4: Initialization status flag.
Allowed values:
0: NotInitalized: Calendar has not been initialized
1: Initalized: Calendar has been initialized
Bit 5: Registers synchronization flag.
Allowed values:
0: NotSynced: Calendar shadow registers not yet synchronized
1: Synced: Calendar shadow registers synchronized
Bit 6: Initialization flag.
Allowed values:
0: NotAllowed: Calendar registers update is not allowed
1: Allowed: Calendar registers update is allowed
Bit 7: Initialization mode.
Allowed values:
0: FreeRunningMode: Free running mode
1: InitMode: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
Bit 8: Alarm A flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRMxR)
Bit 9: Alarm B flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRMxR)
Bit 10: Wakeup timer flag.
Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0
Bit 11: Time-stamp flag.
Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs
Bit 12: Time-stamp overflow flag.
Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set
Bit 13: Tamper detection flag.
Allowed values:
1: Tampered: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
Bit 14: RTC_TAMP2 detection flag.
Allowed values:
1: Tampered: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
Bit 15: RTC_TAMP3 detection flag.
Allowed values:
1: Tampered: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
Bit 16: Recalibration pending Flag.
Allowed values:
1: Pending: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
Bit 17: Internal tTime-stamp flag.
PRERprescaler register
Offset: 0x10, size: 32, reset: 0x007F00FF, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PREDIV_ABits 0-14: Synchronous prescaler factor.
Allowed values: 0x0-0x7fff
PREDIV_ABits 16-22: Asynchronous prescaler factor.
Allowed values: 0x0-0x7f
WUTRwakeup timer register
Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WUTBits 0-15: Wakeup auto-reload value bits.
Allowed values: 0x0-0xffff
ALRM[A]RAlarm A register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SUBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MSK1Bit 7: Alarm seconds mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
MSK2Bit 15: Alarm minutes mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
Bit 23: Alarm hours mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 24-27: Date units or day in BCD format.
Allowed values: 0x0-0xf
DTBits 28-29: Date tens in BCD format.
Allowed values: 0x0-0x3
WDSELBit 30: Week day selection.
Allowed values:
0: DateUnits: DU[3:0] represents the date units
1: WeekDay: DU[3:0] represents the week day. DT[1:0] is don’t care.
Bit 31: Alarm date mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Alarm B register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SUBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MSK1Bit 7: Alarm seconds mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
MSK2Bit 15: Alarm minutes mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
Bit 23: Alarm hours mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 24-27: Date units or day in BCD format.
Allowed values: 0x0-0xf
DTBits 28-29: Date tens in BCD format.
Allowed values: 0x0-0x3
WDSELBit 30: Week day selection.
Allowed values:
0: DateUnits: DU[3:0] represents the date units
1: WeekDay: DU[3:0] represents the week day. DT[1:0] is don’t care.
Bit 31: Alarm date mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
write protection register
Offset: 0x24, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 KEYBits 0-7: Write protection key.
Allowed values: 0x0-0xff
SSRsub second register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SSBits 0-15: Sub second value.
Allowed values: 0x0-0xffff
SHIFTRshift control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADD1SBits 0-14: Subtract a fraction of a second.
Allowed values: 0x0-0x7fff
ADD1SBit 31: Add one second.
Allowed values:
1: Add1: Add one second to the clock/calendar
time stamp time register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PMBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MNUBits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
HUBits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
time stamp date register
Offset: 0x34, size: 32, reset: 0x00002101, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 YTBits 0-3: Date units in BCD format.
Allowed values: 0x0-0xf
DTBits 4-5: Date tens in BCD format.
Allowed values: 0x0-0x3
MUBits 8-11: Month units in BCD format.
Allowed values: 0x0-0xf
MTBit 12: Month tens in BCD format.
Allowed values:
0: Zero: Month tens is 0
1: One: Month tens is 1
Bits 13-15: Week day units.
Allowed values: 0x1-0x7
YUBits 16-19: Year units in BCD format.
Allowed values: 0x0-0xf
YTBits 20-23: Year tens in BCD format.
Allowed values: 0x0-0xf
TSSSRtimestamp sub second register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SSBits 0-15: Sub second value.
Allowed values: 0x0-0xffff
CALRcalibration register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields CALMBits 0-8: Calibration minus.
Allowed values: 0x0-0x1ff
CALW16Bit 13: Use a 16-second calibration cycle period.
Allowed values:
1: Sixteen_Second: When CALW16 is set to ‘1’, the 16-second calibration cycle period is selected.This bit must not be set to ‘1’ if CALW8=1
Bit 14: Use an 8-second calibration cycle period.
Allowed values:
1: Eight_Second: When CALW8 is set to ‘1’, the 8-second calibration cycle period is selected
Bit 15: Increase frequency of RTC by 488.5 ppm.
Allowed values:
0: NoChange: No RTCCLK pulses are added
1: IncreaseFreq: One RTCCLK pulse is effectively inserted every 2^11 pulses (frequency increased by 488.5 ppm)
tamper configuration register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/21 fields covered.
Toggle fields TAMP1EBit 0: Tamper 1 detection enable.
TAMP1TRGBit 1: Active level for tamper 1.
TAMPIEBit 2: Tamper interrupt enable.
TAMP2EBit 3: Tamper 2 detection enable.
TAMP2TRGBit 4: Active level for tamper 2.
TAMP3EBit 5: Tamper 3 detection enable.
TAMP3TRGBit 6: Active level for tamper 3.
TAMPTSBit 7: Activate timestamp on tamper detection event.
TAMPFREQBits 8-10: Tamper sampling frequency.
TAMPFLTBits 11-12: Tamper filter count.
TAMPPRCHBits 13-14: Tamper precharge duration.
TAMPPUDISBit 15: TAMPER pull-up disable.
TAMP1IEBit 16: Tamper 1 interrupt enable.
TAMP1NOERASEBit 17: Tamper 1 no erase.
TAMP1MFBit 18: Tamper 1 mask flag.
TAMP2IEBit 19: Tamper 2 interrupt enable.
TAMP2NOERASEBit 20: Tamper 2 no erase.
TAMP2MFBit 21: Tamper 2 mask flag.
TAMP3IEBit 22: Tamper 3 interrupt enable.
TAMP3NOERASEBit 23: Tamper 3 no erase.
TAMP3MFBit 24: Tamper 3 mask flag.
ALRM[A]SSRAlarm A sub-second register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MASKSSBits 0-14: Sub seconds value.
Allowed values: 0x0-0x7fff
MASKSSBits 24-27: Mask the most-significant bits starting at this bit.
Allowed values: 0x0-0xf
ALRM[B]SSRAlarm B sub-second register
Offset: 0x48, 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 MASKSSBits 0-14: Sub seconds value.
Allowed values: 0x0-0x7fff
MASKSSBits 24-27: Mask the most-significant bits starting at this bit.
Allowed values: 0x0-0xf
ORoption register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields TSINSELBit 1: TIMESTAMP mapping.
RTC_ALARM_TYPEBit 3: RTC_ALARM on PC13 output type.
BKP[0]Rbackup register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[1]Rbackup register
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[2]Rbackup register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[3]Rbackup register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[4]Rbackup register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[5]Rbackup register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[6]Rbackup register
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[7]Rbackup register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[8]Rbackup register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[9]Rbackup register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[10]Rbackup register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[11]Rbackup register
Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[12]Rbackup register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[13]Rbackup register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[14]Rbackup register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[15]Rbackup register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[16]Rbackup register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[17]Rbackup register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[18]Rbackup register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[19]Rbackup register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[20]Rbackup register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[21]Rbackup register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[22]Rbackup register
Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[23]Rbackup register
Offset: 0xac, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[24]Rbackup register
Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[25]Rbackup register
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[26]Rbackup register
Offset: 0xb8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[27]Rbackup register
Offset: 0xbc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[28]Rbackup register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[29]Rbackup register
Offset: 0xc4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[30]Rbackup register
Offset: 0xc8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[31]Rbackup register
Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
SAI10x40015800: Serial audio interface
84/104 fields covered.
Toggle register map Toggle registers GCRGlobal configuration register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields SYNCINBits 0-1: Synchronization inputs.
SYNCOUTBits 4-5: Synchronization outputs.
CR1 [A]AConfiguration register 1
Offset: 0x4, size: 32, reset: 0x00000040, access: read-write
11/12 fields covered.
Toggle fields MODEBits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-23: Master clock divider.
CR2 [A]AConfiguration register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields FTHBits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
MUTEBit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
CPLBit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0xc, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FSOFFBits 0-7: Frame length.
FSALLBits 8-14: Frame synchronization active level length.
FSDEFBit 16: Frame synchronization definition.
FSPOLBit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SLOTENBits 0-4: First bit offset.
SLOTSZBits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
SLOTENBits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields OVRUDRIEBit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x18, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
Toggle fields OVRUDRBit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only..
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields COVRUDRBit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag..
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
CR1 [B]AConfiguration register 1
Offset: 0x24, size: 32, reset: 0x00000040, access: read-write
11/12 fields covered.
Toggle fields MODEBits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-23: Master clock divider.
CR2 [B]AConfiguration register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields FTHBits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
MUTEBit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
CPLBit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0x2c, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FSOFFBits 0-7: Frame length.
FSALLBits 8-14: Frame synchronization active level length.
FSDEFBit 16: Frame synchronization definition.
FSPOLBit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SLOTENBits 0-4: First bit offset.
SLOTSZBits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
SLOTENBits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields OVRUDRIEBit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x38, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
Toggle fields OVRUDRBit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only..
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x3c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields COVRUDRBit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag..
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
SAI20x40015c00: Serial audio interface
84/104 fields covered.
Toggle register map Toggle registers GCRGlobal configuration register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields SYNCINBits 0-1: Synchronization inputs.
SYNCOUTBits 4-5: Synchronization outputs.
CR1 [A]AConfiguration register 1
Offset: 0x4, size: 32, reset: 0x00000040, access: read-write
11/12 fields covered.
Toggle fields MODEBits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-23: Master clock divider.
CR2 [A]AConfiguration register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields FTHBits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
MUTEBit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
CPLBit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0xc, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FSOFFBits 0-7: Frame length.
FSALLBits 8-14: Frame synchronization active level length.
FSDEFBit 16: Frame synchronization definition.
FSPOLBit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SLOTENBits 0-4: First bit offset.
SLOTSZBits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
SLOTENBits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields OVRUDRIEBit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x18, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
Toggle fields OVRUDRBit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only..
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields COVRUDRBit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag..
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
CR1 [B]AConfiguration register 1
Offset: 0x24, size: 32, reset: 0x00000040, access: read-write
11/12 fields covered.
Toggle fields MODEBits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-23: Master clock divider.
CR2 [B]AConfiguration register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields FTHBits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
MUTEBit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
CPLBit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0x2c, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FSOFFBits 0-7: Frame length.
FSALLBits 8-14: Frame synchronization active level length.
FSDEFBit 16: Frame synchronization definition.
FSPOLBit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SLOTENBits 0-4: First bit offset.
SLOTSZBits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
SLOTENBits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields OVRUDRIEBit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x38, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
Toggle fields OVRUDRBit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only..
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x3c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields COVRUDRBit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag..
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
SDMMC10x40012c00: Secure digital input/output interface
88/89 fields covered.
Toggle register map Toggle registers POWERpower control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PWRCTRLBits 0-1: PWRCTRL.
Allowed values:
0: PowerOff: Power off
3: PowerOn: Power on
SDI clock control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields CLKDIVBits 0-7: Clock divide factor.
Allowed values: 0x0-0xff
CLKENBit 8: Clock enable bit.
Allowed values:
0: Disabled: Disable clock
1: Enabled: Enable clock
Bit 9: Power saving configuration bit.
Allowed values:
0: Enabled: SDIO_CK clock is always enabled
1: Disabled: SDIO_CK is only enabled when the bus is active
Bit 10: Clock divider bypass enable bit.
Allowed values:
0: Disabled: SDIOCLK is divided according to the CLKDIV value before driving the SDIO_CK output signal.
1: Enabled: SDIOCLK directly drives the SDIO_CK output signal
Bits 11-12: Wide bus mode enable bit.
Allowed values:
0: BusWidth1: 1 lane wide bus
1: BusWidth4: 4 lane wide bus
2: BusWidth8: 8 lane wide bus
Bit 13: SDIO_CK dephasing selection bit.
Allowed values:
0: Rising: SDIO_CK generated on the rising edge
1: Falling: SDIO_CK generated on the falling edge
Bit 14: HW Flow Control enable.
Allowed values:
0: Disabled: HW Flow Control is disabled
1: Enabled: HW Flow Control is enabled
argument register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CMDARGBits 0-31: Command argument.
Allowed values: 0x0-0xffffffff
CMDcommand register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CMDINDEXBits 0-5: Command index.
Allowed values: 0x0-0x3f
WAITRESPBits 6-7: Wait for response bits.
Allowed values:
0: NoResponse: No response
1: ShortResponse: Short response
2: NoResponse2: No reponse
3: LongResponse: Long reponse
Bit 8: CPSM waits for interrupt request.
Allowed values:
0: Disabled: Don't wait for interrupt request
1: Enabled: Wait for interrupt request
Bit 9: CPSM Waits for ends of data transfer (CmdPend internal signal).
Allowed values:
0: Disabled: Don't wait for data end
1: Enabled: Wait for end of data transfer signal before sending command
Bit 10: Command path state machine (CPSM) Enable bit.
Allowed values:
0: Disabled: Command path state machine disabled
1: Enabled: Command path state machine enabled
Bit 11: SD I/O suspend command.
Allowed values:
0: Disabled: Next command is not a SDIO suspend command
1: Enabled: Next command send is a SDIO suspend command
command response register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESPCMDBits 0-5: Response command index.
Allowed values: 0x0-0x3f
RESP[1]SDIO response 1 register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
RESP[2]SDIO response 2 register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
RESP[3]SDIO response 3 register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
RESP[4]SDIO response 4 register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
DTIMERdata timer register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATATIMEBits 0-31: Data timeout period.
Allowed values: 0x0-0xffffffff
DLENdata length register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATALENGTHBits 0-24: Data length value.
Allowed values: 0x0-0x1ffffff
DCTRLdata control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields DTENBit 0: DTEN.
Allowed values:
0: Disabled: Disabled
1: Enabled: Start transfer
Bit 1: Data transfer direction selection.
Allowed values:
0: ControllerToCard: From controller to card
1: CardToController: From card to controller
Bit 2: Data transfer mode selection 1: Stream or SDIO multibyte data transfer.
Allowed values:
0: BlockMode: Bloack data transfer
1: StreamMode: Stream or SDIO multibyte data transfer
Bit 3: DMA enable bit.
Allowed values:
0: Disabled: Dma disabled
1: Enabled: Dma enabled
Bits 4-7: Data block size.
RWSTARTBit 8: Read wait start.
Allowed values:
0: Disabled: Don't start read wait operation
1: Enabled: Read wait operation starts
Bit 9: Read wait stop.
Allowed values:
0: Disabled: Read wait in progress if RWSTART is enabled
1: Enabled: Enable for read wait stop if RWSTART is enabled
Bit 10: Read wait mode.
Allowed values:
0: D2: Read wait control stopping using SDIO_D2
1: Ck: Read wait control using SDIO_CK
Bit 11: SD I/O enable functions.
Allowed values:
0: Disabled: SDIO operations disabled
1: Enabled: SDIO operations enabled
data counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATACOUNTBits 0-24: Data count value.
Allowed values: 0x0-0x1ffffff
STAstatus register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
Toggle fields CCRCFAILBit 0: Command response received (CRC check failed).
Allowed values:
0: NotFailed: Command response received, crc check passed
1: Failed: Command response received, crc check failed
Bit 1: Data block sent/received (CRC check failed).
Allowed values:
0: NotFailed: No Data block sent/received crc check fail
1: Failed: Data block sent/received crc failed
Bit 2: Command response timeout.
Allowed values:
0: NoTimeout: No Command timeout
1: Timeout: Command timeout
Bit 3: Data timeout.
Allowed values:
0: NoTimeout: No data timeout
1: Timeout: Data timeout
Bit 4: Transmit FIFO underrun error.
Allowed values:
0: NoUnderrun: No transmit FIFO underrun error
1: Underrun: Transmit FIFO underrun error
Bit 5: Received FIFO overrun error.
Allowed values:
0: NoOverrun: No FIFO overrun error
1: Overrun: Receive FIFO overrun error
Bit 6: Command response received (CRC check passed).
Allowed values:
0: NotDone: Command not done
1: Done: Command response received (CRC check passed)
Bit 7: Command sent (no response required).
Allowed values:
0: NotSent: Command not sent
1: Sent: Command sent (no response required)
Bit 8: Data end (data counter, SDIDCOUNT, is zero).
Allowed values:
0: NotDone: Not done
1: Done: Data end (DCOUNT, is zero)
Bit 10: Data block sent/received (CRC check passed).
Allowed values:
0: NotTransferred: Data block not sent/received (CRC check failed)
1: Transferred: Data block sent/received (CRC check passed)
Bit 11: Command transfer in progress.
Allowed values:
0: NotInProgress: Command transfer not in progress
1: InProgress: Command tranfer in progress
Bit 12: Data transmit in progress.
Allowed values:
0: NotInProgress: Data transmit is not in progress
1: InProgress: Data transmit in progress
Bit 13: Data receive in progress.
Allowed values:
0: NotInProgress: Data receive not in progress
1: InProgress: Data receive in progress
Bit 14: Transmit FIFO half empty: at least 8 words can be written into the FIFO.
Allowed values:
0: NotHalfEmpty: Transmit FIFO not half empty
1: HalfEmpty: Transmit FIFO half empty. At least 8 words can be written into the FIFO
Bit 15: Receive FIFO half full: there are at least 8 words in the FIFO.
Allowed values:
0: NotHalfFull: Receive FIFO not half full
1: HalfFull: Receive FIFO half full. At least 8 words in the FIFO
Bit 16: Transmit FIFO full.
Allowed values:
0: NotFull: Transmit FIFO not full
1: Full: Transmit FIFO full
Bit 17: Receive FIFO full.
Allowed values:
0: NotFull: Transmit FIFO not full
1: Full: Receive FIFO full. When HW Flow Control is enabled, RXFIFOF signals becomes activated 2 words before the FIFO is full.
Bit 18: Transmit FIFO empty.
Allowed values:
0: NotEmpty: Transmit FIFO not empty
1: Empty: Transmit FIFO empty. When HW Flow Control is enabled, TXFIFOE signals becomes activated when the FIFO contains 2 words.
Bit 19: Receive FIFO empty.
Allowed values:
0: NotEmpty: Receive FIFO not empty
1: Empty: Receive FIFO empty
Bit 20: Data available in transmit FIFO.
Allowed values:
0: NotAvailable: Data not available in transmit FIFO
1: Available: Data available in transmit FIFO
Bit 21: Data available in receive FIFO.
Allowed values:
0: NotAvailable: Data not available in receive FIFO
1: Available: Data available in receive FIFO
Bit 22: SDIO interrupt received.
Allowed values:
0: NotReceived: SDIO interrupt not receieved
1: Received: SDIO interrupt received
interrupt clear register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields CCRCFAILCBit 0: CCRCFAIL flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 1: DCRCFAIL flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 2: CTIMEOUT flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 3: DTIMEOUT flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 4: TXUNDERR flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 5: RXOVERR flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 6: CMDREND flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 7: CMDSENT flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 8: DATAEND flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 10: DBCKEND flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 22: SDIOIT flag clear bit.
Allowed values:
1: Clear: Clear flag
mask register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
Toggle fields CCRCFAILIEBit 0: Command CRC fail interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: Data CRC fail interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: Command timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: Data timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 4: Tx FIFO underrun error interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 5: Rx FIFO overrun error interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 6: Command response received interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 7: Command sent interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 8: Data end interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 10: Data block end interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 11: Command acting interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 12: Data transmit acting interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 13: Data receive acting interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: Tx FIFO half empty interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 15: Rx FIFO half full interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 16: Tx FIFO full interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 17: Rx FIFO full interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 18: Tx FIFO empty interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 19: Rx FIFO empty interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 20: Data available in Tx FIFO interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 21: Data available in Rx FIFO interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 22: SDIO mode interrupt received interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
FIFO counter register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FIFOCOUNTBits 0-23: Remaining number of words to be written to or read from the FIFO.
Allowed values: 0x0-0xffffff
FIFOdata FIFO register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FIFODataBits 0-31: Receive and transmit FIFO data.
Allowed values: 0x0-0xffffffff
SDMMC20x40011c00: Secure digital input/output interface
88/89 fields covered.
Toggle register map Toggle registers POWERpower control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PWRCTRLBits 0-1: PWRCTRL.
Allowed values:
0: PowerOff: Power off
3: PowerOn: Power on
SDI clock control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields CLKDIVBits 0-7: Clock divide factor.
Allowed values: 0x0-0xff
CLKENBit 8: Clock enable bit.
Allowed values:
0: Disabled: Disable clock
1: Enabled: Enable clock
Bit 9: Power saving configuration bit.
Allowed values:
0: Enabled: SDIO_CK clock is always enabled
1: Disabled: SDIO_CK is only enabled when the bus is active
Bit 10: Clock divider bypass enable bit.
Allowed values:
0: Disabled: SDIOCLK is divided according to the CLKDIV value before driving the SDIO_CK output signal.
1: Enabled: SDIOCLK directly drives the SDIO_CK output signal
Bits 11-12: Wide bus mode enable bit.
Allowed values:
0: BusWidth1: 1 lane wide bus
1: BusWidth4: 4 lane wide bus
2: BusWidth8: 8 lane wide bus
Bit 13: SDIO_CK dephasing selection bit.
Allowed values:
0: Rising: SDIO_CK generated on the rising edge
1: Falling: SDIO_CK generated on the falling edge
Bit 14: HW Flow Control enable.
Allowed values:
0: Disabled: HW Flow Control is disabled
1: Enabled: HW Flow Control is enabled
argument register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CMDARGBits 0-31: Command argument.
Allowed values: 0x0-0xffffffff
CMDcommand register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CMDINDEXBits 0-5: Command index.
Allowed values: 0x0-0x3f
WAITRESPBits 6-7: Wait for response bits.
Allowed values:
0: NoResponse: No response
1: ShortResponse: Short response
2: NoResponse2: No reponse
3: LongResponse: Long reponse
Bit 8: CPSM waits for interrupt request.
Allowed values:
0: Disabled: Don't wait for interrupt request
1: Enabled: Wait for interrupt request
Bit 9: CPSM Waits for ends of data transfer (CmdPend internal signal).
Allowed values:
0: Disabled: Don't wait for data end
1: Enabled: Wait for end of data transfer signal before sending command
Bit 10: Command path state machine (CPSM) Enable bit.
Allowed values:
0: Disabled: Command path state machine disabled
1: Enabled: Command path state machine enabled
Bit 11: SD I/O suspend command.
Allowed values:
0: Disabled: Next command is not a SDIO suspend command
1: Enabled: Next command send is a SDIO suspend command
command response register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESPCMDBits 0-5: Response command index.
Allowed values: 0x0-0x3f
RESP[1]SDIO response 1 register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
RESP[2]SDIO response 2 register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
RESP[3]SDIO response 3 register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
RESP[4]SDIO response 4 register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CARDSTATUSBits 0-31: Status of a card, which is part of the received response.
Allowed values: 0x0-0xffffffff
DTIMERdata timer register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATATIMEBits 0-31: Data timeout period.
Allowed values: 0x0-0xffffffff
DLENdata length register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATALENGTHBits 0-24: Data length value.
Allowed values: 0x0-0x1ffffff
DCTRLdata control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields DTENBit 0: DTEN.
Allowed values:
0: Disabled: Disabled
1: Enabled: Start transfer
Bit 1: Data transfer direction selection.
Allowed values:
0: ControllerToCard: From controller to card
1: CardToController: From card to controller
Bit 2: Data transfer mode selection 1: Stream or SDIO multibyte data transfer.
Allowed values:
0: BlockMode: Bloack data transfer
1: StreamMode: Stream or SDIO multibyte data transfer
Bit 3: DMA enable bit.
Allowed values:
0: Disabled: Dma disabled
1: Enabled: Dma enabled
Bits 4-7: Data block size.
RWSTARTBit 8: Read wait start.
Allowed values:
0: Disabled: Don't start read wait operation
1: Enabled: Read wait operation starts
Bit 9: Read wait stop.
Allowed values:
0: Disabled: Read wait in progress if RWSTART is enabled
1: Enabled: Enable for read wait stop if RWSTART is enabled
Bit 10: Read wait mode.
Allowed values:
0: D2: Read wait control stopping using SDIO_D2
1: Ck: Read wait control using SDIO_CK
Bit 11: SD I/O enable functions.
Allowed values:
0: Disabled: SDIO operations disabled
1: Enabled: SDIO operations enabled
data counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATACOUNTBits 0-24: Data count value.
Allowed values: 0x0-0x1ffffff
STAstatus register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
Toggle fields CCRCFAILBit 0: Command response received (CRC check failed).
Allowed values:
0: NotFailed: Command response received, crc check passed
1: Failed: Command response received, crc check failed
Bit 1: Data block sent/received (CRC check failed).
Allowed values:
0: NotFailed: No Data block sent/received crc check fail
1: Failed: Data block sent/received crc failed
Bit 2: Command response timeout.
Allowed values:
0: NoTimeout: No Command timeout
1: Timeout: Command timeout
Bit 3: Data timeout.
Allowed values:
0: NoTimeout: No data timeout
1: Timeout: Data timeout
Bit 4: Transmit FIFO underrun error.
Allowed values:
0: NoUnderrun: No transmit FIFO underrun error
1: Underrun: Transmit FIFO underrun error
Bit 5: Received FIFO overrun error.
Allowed values:
0: NoOverrun: No FIFO overrun error
1: Overrun: Receive FIFO overrun error
Bit 6: Command response received (CRC check passed).
Allowed values:
0: NotDone: Command not done
1: Done: Command response received (CRC check passed)
Bit 7: Command sent (no response required).
Allowed values:
0: NotSent: Command not sent
1: Sent: Command sent (no response required)
Bit 8: Data end (data counter, SDIDCOUNT, is zero).
Allowed values:
0: NotDone: Not done
1: Done: Data end (DCOUNT, is zero)
Bit 10: Data block sent/received (CRC check passed).
Allowed values:
0: NotTransferred: Data block not sent/received (CRC check failed)
1: Transferred: Data block sent/received (CRC check passed)
Bit 11: Command transfer in progress.
Allowed values:
0: NotInProgress: Command transfer not in progress
1: InProgress: Command tranfer in progress
Bit 12: Data transmit in progress.
Allowed values:
0: NotInProgress: Data transmit is not in progress
1: InProgress: Data transmit in progress
Bit 13: Data receive in progress.
Allowed values:
0: NotInProgress: Data receive not in progress
1: InProgress: Data receive in progress
Bit 14: Transmit FIFO half empty: at least 8 words can be written into the FIFO.
Allowed values:
0: NotHalfEmpty: Transmit FIFO not half empty
1: HalfEmpty: Transmit FIFO half empty. At least 8 words can be written into the FIFO
Bit 15: Receive FIFO half full: there are at least 8 words in the FIFO.
Allowed values:
0: NotHalfFull: Receive FIFO not half full
1: HalfFull: Receive FIFO half full. At least 8 words in the FIFO
Bit 16: Transmit FIFO full.
Allowed values:
0: NotFull: Transmit FIFO not full
1: Full: Transmit FIFO full
Bit 17: Receive FIFO full.
Allowed values:
0: NotFull: Transmit FIFO not full
1: Full: Receive FIFO full. When HW Flow Control is enabled, RXFIFOF signals becomes activated 2 words before the FIFO is full.
Bit 18: Transmit FIFO empty.
Allowed values:
0: NotEmpty: Transmit FIFO not empty
1: Empty: Transmit FIFO empty. When HW Flow Control is enabled, TXFIFOE signals becomes activated when the FIFO contains 2 words.
Bit 19: Receive FIFO empty.
Allowed values:
0: NotEmpty: Receive FIFO not empty
1: Empty: Receive FIFO empty
Bit 20: Data available in transmit FIFO.
Allowed values:
0: NotAvailable: Data not available in transmit FIFO
1: Available: Data available in transmit FIFO
Bit 21: Data available in receive FIFO.
Allowed values:
0: NotAvailable: Data not available in receive FIFO
1: Available: Data available in receive FIFO
Bit 22: SDIO interrupt received.
Allowed values:
0: NotReceived: SDIO interrupt not receieved
1: Received: SDIO interrupt received
interrupt clear register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields CCRCFAILCBit 0: CCRCFAIL flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 1: DCRCFAIL flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 2: CTIMEOUT flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 3: DTIMEOUT flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 4: TXUNDERR flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 5: RXOVERR flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 6: CMDREND flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 7: CMDSENT flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 8: DATAEND flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 10: DBCKEND flag clear bit.
Allowed values:
1: Clear: Clear flag
Bit 22: SDIOIT flag clear bit.
Allowed values:
1: Clear: Clear flag
mask register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
Toggle fields CCRCFAILIEBit 0: Command CRC fail interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: Data CRC fail interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: Command timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: Data timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 4: Tx FIFO underrun error interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 5: Rx FIFO overrun error interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 6: Command response received interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 7: Command sent interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 8: Data end interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 10: Data block end interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 11: Command acting interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 12: Data transmit acting interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 13: Data receive acting interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: Tx FIFO half empty interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 15: Rx FIFO half full interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 16: Tx FIFO full interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 17: Rx FIFO full interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 18: Tx FIFO empty interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 19: Rx FIFO empty interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 20: Data available in Tx FIFO interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 21: Data available in Rx FIFO interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 22: SDIO mode interrupt received interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
FIFO counter register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FIFOCOUNTBits 0-23: Remaining number of words to be written to or read from the FIFO.
Allowed values: 0x0-0xffffff
FIFOdata FIFO register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FIFODataBits 0-31: Receive and transmit FIFO data.
Allowed values: 0x0-0xffffffff
SPI10x40013000: Serial peripheral interface
54/54 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO Transmission Level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields CHLENBit 0: Channel length (number of bits per audio channel).
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: Data length to be transferred.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: Steady state clock polarity.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2S standard selection.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCM frame synchronization.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2S configuration mode.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2S Enable.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2S mode selection.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
Bit 12: Asynchronous start enable.
Allowed values:
0: AsyncStartDisabled: Asynchronous start disabled
1: AsyncStartEnabled: Asynchronous start enabled
I2S prescaler register
Offset: 0x20, size: 16, reset: 0x0000000A, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2S Linear prescaler.
Allowed values: 0x2-0xff
ODDBit 8: Odd factor for the prescaler.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: Master clock output enable.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40003800: Serial peripheral interface
54/54 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO Transmission Level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields CHLENBit 0: Channel length (number of bits per audio channel).
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: Data length to be transferred.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: Steady state clock polarity.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2S standard selection.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCM frame synchronization.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2S configuration mode.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2S Enable.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2S mode selection.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
Bit 12: Asynchronous start enable.
Allowed values:
0: AsyncStartDisabled: Asynchronous start disabled
1: AsyncStartEnabled: Asynchronous start enabled
I2S prescaler register
Offset: 0x20, size: 16, reset: 0x0000000A, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2S Linear prescaler.
Allowed values: 0x2-0xff
ODDBit 8: Odd factor for the prescaler.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: Master clock output enable.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40003c00: Serial peripheral interface
54/54 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO Transmission Level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields CHLENBit 0: Channel length (number of bits per audio channel).
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: Data length to be transferred.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: Steady state clock polarity.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2S standard selection.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCM frame synchronization.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2S configuration mode.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2S Enable.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2S mode selection.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
Bit 12: Asynchronous start enable.
Allowed values:
0: AsyncStartDisabled: Asynchronous start disabled
1: AsyncStartEnabled: Asynchronous start enabled
I2S prescaler register
Offset: 0x20, size: 16, reset: 0x0000000A, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2S Linear prescaler.
Allowed values: 0x2-0xff
ODDBit 8: Odd factor for the prescaler.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: Master clock output enable.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40013400: Serial peripheral interface
54/54 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO Transmission Level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields CHLENBit 0: Channel length (number of bits per audio channel).
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: Data length to be transferred.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: Steady state clock polarity.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2S standard selection.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCM frame synchronization.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2S configuration mode.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2S Enable.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2S mode selection.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
Bit 12: Asynchronous start enable.
Allowed values:
0: AsyncStartDisabled: Asynchronous start disabled
1: AsyncStartEnabled: Asynchronous start enabled
I2S prescaler register
Offset: 0x20, size: 16, reset: 0x0000000A, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2S Linear prescaler.
Allowed values: 0x2-0xff
ODDBit 8: Odd factor for the prescaler.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: Master clock output enable.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40015000: Serial peripheral interface
54/54 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO Transmission Level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields CHLENBit 0: Channel length (number of bits per audio channel).
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: Data length to be transferred.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: Steady state clock polarity.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2S standard selection.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCM frame synchronization.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2S configuration mode.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2S Enable.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2S mode selection.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
Bit 12: Asynchronous start enable.
Allowed values:
0: AsyncStartDisabled: Asynchronous start disabled
1: AsyncStartEnabled: Asynchronous start enabled
I2S prescaler register
Offset: 0x20, size: 16, reset: 0x0000000A, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2S Linear prescaler.
Allowed values: 0x2-0xff
ODDBit 8: Odd factor for the prescaler.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: Master clock output enable.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40013800: System configuration controller
2/30 fields covered.
Toggle register map Toggle registers MEMRMPmemory remap register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields MEM_BOOTBit 0: Memory boot mapping.
SWP_FMCBits 10-11: FMC memory mapping swap.
PMCperipheral mode configuration register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields I2C1_FMPBit 0: I2C1_FMP I2C1 Fast Mode + Enable.
I2C2_FMPBit 1: I2C2_FMP I2C2 Fast Mode + Enable.
I2C3_FMPBit 2: I2C3_FMP I2C3 Fast Mode + Enable.
PB6_FMPBit 4: PB6_FMP Fast Mode.
PB7_FMPBit 5: PB7_FMP Fast Mode + Enable.
PB8_FMPBit 6: PB8_FMP Fast Mode + Enable.
PB9_FMPBit 7: Fast Mode + Enable.
ADC1DC2Bit 16: ADC3DC2.
ADC2DC2Bit 17: ADC2DC2.
ADC3DC2Bit 18: ADC3DC2.
EXTICR1external interrupt configuration register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI0Bits 0-3: EXTI x configuration (x = 0 to 3).
EXTI1Bits 4-7: EXTI x configuration (x = 0 to 3).
EXTI2Bits 8-11: EXTI x configuration (x = 0 to 3).
EXTI3Bits 12-15: EXTI x configuration (x = 0 to 3).
EXTICR2external interrupt configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI4Bits 0-3: EXTI x configuration (x = 4 to 7).
EXTI5Bits 4-7: EXTI x configuration (x = 4 to 7).
EXTI6Bits 8-11: EXTI x configuration (x = 4 to 7).
EXTI7Bits 12-15: EXTI x configuration (x = 4 to 7).
EXTICR3external interrupt configuration register 3
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI8Bits 0-3: EXTI x configuration (x = 8 to 11).
EXTI9Bits 4-7: EXTI x configuration (x = 8 to 11).
EXTI10Bits 8-11: EXTI10.
EXTI11Bits 12-15: EXTI x configuration (x = 8 to 11).
EXTICR4external interrupt configuration register 4
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI12Bits 0-3: EXTI x configuration (x = 12 to 15).
EXTI13Bits 4-7: EXTI x configuration (x = 12 to 15).
EXTI14Bits 8-11: EXTI x configuration (x = 12 to 15).
EXTI15Bits 12-15: EXTI x configuration (x = 12 to 15).
CMPCRCompensation cell control register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
Toggle fields CMP_PDBit 0: Compensation cell power-down.
READYBit 8: READY.
TIM10x40010000: Advanced-timers
156/165 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/15 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output
Bit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/8 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection - bit[2:0].
Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
Bits 4-6: Trigger selection.
Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)
Bit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave model selection - bit[3].
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 8: Break 2 interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break 2 input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
Bit 8: Break 2 generation.
Allowed values:
1: Trigger: A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 1 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
RCRrepetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 REPBits 0-15: Repetition counter value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
10/12 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 25: Break 2 polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
DMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMABBits 0-31: DMA register for burst accesses.
CCMR3_Outputcapture/compare mode register 3 (output mode)
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
TIM100x40014400: General-purpose-timers
27/31 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]IEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]GBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
CCERcapture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/3 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
ORoption register
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 TI1_RMPBits 0-1: TIM11 Input 1 remapping capability.
TIM110x40014800: General-purpose-timers
27/31 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]IEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]GBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
CCERcapture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/3 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
ORoption register
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 TI1_RMPBits 0-1: TIM11 Input 1 remapping capability.
TIM120x40001800: General purpose timers
46/53 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
SMS_3Bit 16: Slave mode selection - bit 3.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
4/6 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
TIM130x40001c00: General-purpose-timers
27/31 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]IEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]GBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
CCERcapture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/3 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
ORoption register
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 TI1_RMPBits 0-1: TIM11 Input 1 remapping capability.
TIM140x40002000: General-purpose-timers
27/31 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]IEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CC[1]GBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
CCERcapture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/3 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
ORoption register
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 TI1_RMPBits 0-1: TIM11 Input 1 remapping capability.
TIM20x40000000: General purpose timers
100/108 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TI1SBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output
Bit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/8 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection.
Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
Bits 4-6: Trigger selection.
Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)
Bit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave model selection - bit[3].
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/12 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CNTBits 0-31: Counter value.
Allowed values: 0x0-0xffffffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-31: Auto-reload value.
Allowed values: 0x0-0xffffffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMABBits 0-15: DMA register for burst accesses.
ORTIM2 option register 1
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 ITR1_RMPBits 10-11: Internal trigger 1 remap.
TIM30x40000400: General purpose timers
100/107 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TI1SBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output
Bit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/8 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection.
Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
Bits 4-6: Trigger selection.
Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)
Bit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave model selection - bit[3].
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/12 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: Counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMABBits 0-15: DMA register for burst accesses.
TIM40x40000800: General purpose timers
100/107 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TI1SBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output
Bit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/8 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection.
Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
Bits 4-6: Trigger selection.
Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)
Bit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave model selection - bit[3].
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/12 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: Counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMABBits 0-15: DMA register for burst accesses.
TIM50x40000c00: General purpose timers
100/108 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TI1SBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output
Bit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/8 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection.
Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
Bits 4-6: Trigger selection.
Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)
Bit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave model selection - bit[3].
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/12 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CNTBits 0-31: Counter value.
Allowed values: 0x0-0xffffffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-31: Auto-reload value.
Allowed values: 0x0-0xffffffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMABBits 0-15: DMA register for burst accesses.
ORoption register 1
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 TI4_RMPBits 6-7: Timer Input 4 remap.
TIM60x40001000: Basic timers
14/15 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
Allowed values:
0: Reset: Use UG bit from TIMx_EGR register
1: Enable: Use CNT bit from TIMx_CEN register
2: Update: Use the update event
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UDEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: Low counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Low Auto-reload value.
Allowed values: 0x0-0xffff
TIM70x40001400: Basic timers
14/15 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
Allowed values:
0: Reset: Use UG bit from TIMx_EGR register
1: Enable: Use CNT bit from TIMx_CEN register
2: Update: Use the update event
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UDEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: Low counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Low Auto-reload value.
Allowed values: 0x0-0xffff
TIM80x40010400: Advanced-timers
156/165 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/9 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/15 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output
Bit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/8 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection - bit[2:0].
Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
Bits 4-6: Trigger selection.
Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)
Bit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave model selection - bit[3].
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 8: Break 2 interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break 2 input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
Bit 8: Break 2 generation.
Allowed values:
1: Trigger: A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 1 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
RCRrepetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 REPBits 0-15: Repetition counter value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
10/12 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 25: Break 2 polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
DMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMABBits 0-31: DMA register for burst accesses.
CCMR3_Outputcapture/compare mode register 3 (output mode)
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Allowed values:
0: Disabled: OCxRef is not affected by the ETRF signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ETRF signal
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
TIM90x40014000: General purpose timers
46/53 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SMS_3Bits 0-2: Slave mode selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
SMS_3Bit 16: Slave mode selection - bit 3.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
4/6 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto-reload value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCRBits 0-15: Capture/Compare value.
Allowed values: 0x0-0xffff
UART40x40004c00: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
UART50x40005000: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
UART70x40007800: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
UART80x40007c00: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART10x40011000: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART20x40004400: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART30x40004800: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART60x40011400: Universal synchronous asynchronous receiver transmitter
98/100 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/18 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
TCBGTIEBit 24: Transmission complete before guard time interrupt enable.
BRRBaud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
20/20 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 21: TEACK.
TCBGTBit 25: Transmission complete before guard time completion.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: Transmission completed before guard time clear flag.
LBDCFBit 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 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
WWDG0x40002c00: Window watchdog
6/6 fields covered.
Toggle register map Offset Name31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR WDGA T 0x4 (16-bit) CFR EWI WDGTB W 0x8 (16-bit) SR EWIF Toggle registers CRControl register
Offset: 0x0, size: 16, reset: 0x0000007F, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WDGABits 0-6: 7-bit counter (MSB to LSB).
Allowed values: 0x0-0x7f
WDGABit 7: Activation bit.
Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled
Configuration register
Offset: 0x4, size: 16, reset: 0x0000007F, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EWIBits 0-6: 7-bit window value.
Allowed values: 0x0-0x7f
WDGTBBits 7-8: 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
Bit 9: Early wakeup interrupt.
Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40
Status register
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EWIFBit 0: Early wakeup interrupt flag.
Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4