Overall: 3605/4622 fields covered
ADC10x40012400: Analog to digital converter
83/83 fields covered.
Toggle register map Toggle registers SRstatus register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/5 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 group conversion started
1: Started: Injected group 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
control register 1
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields AWDCHBits 0-4: Analog watchdog channel select bits.
Allowed values: 0x0-0x11
EOCIEBit 5: Interrupt enable for EOC.
Allowed values:
0: Disabled: EOC interrupt disabled
1: Enabled: EOC interrupt enabled. An interrupt is generated when the EOC bit is set
Bit 6: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 7: Interrupt enable for injected channels.
Allowed values:
0: Disabled: JEOC interrupt disabled
1: Enabled: JEOC interrupt enabled. An interrupt is generated when the JEOC bit is set
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: All: Analog watchdog enabled on all channels
1: Single: 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
DUALMODBits 16-19: Dual mode selection.
Allowed values:
0: Independent: Independent mode
1: RegularInjected: Combined regular simultaneous + injected simultaneous mode
2: RegularAlternateTrigger: Combined regular simultaneous + alternate trigger mode
3: InjectedFastInterleaved: Combined injected simultaneous + fast interleaved mode
4: InjectedSlowInterleaved: Combined injected simultaneous + slow interleaved mode
5: Injected: Injected simultaneous mode only
6: Regular: Regular simultaneous mode only
7: FastInterleaved: Fast interleaved mode only
8: SlowInterleaved: Slow interleaved mode only
9: AlternateTrigger: Alternate trigger mode only
Bit 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
control register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields ADONBit 0: A/D converter ON / OFF.
Allowed values:
0: Disabled: Disable ADC conversion/calibration and go to power down mode
1: Enabled: Enable ADC and to start conversion
Bit 1: Continuous conversion.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 2: A/D calibration.
Allowed values:
0: Complete: Calibration completed
1: NotComplete: Calibrating
Bit 3: Reset calibration.
Allowed values:
0: Initialized: Calibration register initialized
1: NotInitialized: Initializing calibration register
Bit 8: Direct memory access mode.
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 11: Data alignment.
Allowed values:
0: Right: Right Alignment
1: Left: Left Alignment
Bits 12-14: External event select for injected group.
Allowed values:
0: Tim1Trgo: Timer 1 TRGO event
1: Tim1Cc4: Timer 1 CC4 event
2: Tim2Trgo: Timer 2 TRGO event
3: Tim2Cc1: Timer 2 CC1 event
4: Tim3Cc4: Timer 3 CC4 event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti15: EXTI line15/TIM8_CC4 event (TIM8_CC4 is available only in high-density and XL-density devices)
7: Jswstart: JSWSTART
Bit 15: External trigger conversion mode for injected channels.
Allowed values:
0: Disabled: Conversion on external event disabled
1: Enabled: Conversion on external event enabled
Bits 17-19: External event select for regular group.
Allowed values:
0: Tim1Cc1: Timer 1 CC1 event
1: Tim1Cc2: Timer 1 CC2 event
2: Tim1Cc3: Timer 1 CC3 event
3: Tim2Cc2: Timer 2 CC2 event
4: Tim3Trgo: Timer 3 TRGO event
5: Tim4Cc4: Timer 4 CC4 event
6: Exti11: EXTI line 11/TIM8_TRGO event (TIM8_TRGO is available only in high-density and XL-density devices)
7: Swstart: SWSTART
Bit 20: External trigger conversion mode for regular channels.
Allowed values:
0: Disabled: Conversion on external event disabled
1: Enabled: Conversion on external event enabled
Bit 21: Start conversion of injected channels.
Allowed values:
0: Started: Reset state
1: NotStarted: Starting conversion of injected channels
Bit 22: Start conversion of regular channels.
Allowed values:
0: Started: Reset state
1: NotStarted: Starting conversion of regular channels
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
sample time register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock 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: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock 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-0x11
SQ[14]Bits 5-9: 14 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[15]Bits 10-14: 15 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[16]Bits 15-19: 16 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
SQ[8]Bits 5-9: 8 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[9]Bits 10-14: 9 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[10]Bits 15-19: 10 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[11]Bits 20-24: 11 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[12]Bits 25-29: 12 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
SQ[2]Bits 5-9: 2 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[3]Bits 10-14: 3 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[4]Bits 15-19: 4 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[5]Bits 20-24: 5 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[6]Bits 25-29: 6 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
JSQ[2]Bits 5-9: 2 conversion in injected sequence.
Allowed values: 0x0-0x11
JSQ[3]Bits 10-14: 3 conversion in injected sequence.
Allowed values: 0x0-0x11
JSQ[4]Bits 15-19: 4 conversion in injected sequence.
Allowed values: 0x0-0x11
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
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADC2DATABits 0-15: Regular data.
ADC2DATABits 16-31: ADC2 data.
ADC20x40012800: Analog to digital converter
81/81 fields covered.
Toggle register map Toggle registers SRstatus register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/5 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 group conversion started
1: Started: Injected group 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
control register 1
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields AWDCHBits 0-4: Analog watchdog channel select bits.
Allowed values: 0x0-0x11
EOCIEBit 5: Interrupt enable for EOC.
Allowed values:
0: Disabled: EOC interrupt disabled
1: Enabled: EOC interrupt enabled. An interrupt is generated when the EOC bit is set
Bit 6: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 7: Interrupt enable for injected channels.
Allowed values:
0: Disabled: JEOC interrupt disabled
1: Enabled: JEOC interrupt enabled. An interrupt is generated when the JEOC bit is set
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: All: Analog watchdog enabled on all channels
1: Single: 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
control register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields ADONBit 0: A/D converter ON / OFF.
Allowed values:
0: Disabled: Disable ADC conversion/calibration and go to power down mode
1: Enabled: Enable ADC and to start conversion
Bit 1: Continuous conversion.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 2: A/D calibration.
Allowed values:
0: Complete: Calibration completed
1: NotComplete: Calibrating
Bit 3: Reset calibration.
Allowed values:
0: Initialized: Calibration register initialized
1: NotInitialized: Initializing calibration register
Bit 8: Direct memory access mode.
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 11: Data alignment.
Allowed values:
0: Right: Right Alignment
1: Left: Left Alignment
Bits 12-14: External event select for injected group.
Allowed values:
0: Tim1Trgo: Timer 1 TRGO event
1: Tim1Cc4: Timer 1 CC4 event
2: Tim2Trgo: Timer 2 TRGO event
3: Tim2Cc1: Timer 2 CC1 event
4: Tim3Cc4: Timer 3 CC4 event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti15: EXTI line15/TIM8_CC4 event (TIM8_CC4 is available only in high-density and XL-density devices)
7: Jswstart: JSWSTART
Bit 15: External trigger conversion mode for injected channels.
Allowed values:
0: Disabled: Conversion on external event disabled
1: Enabled: Conversion on external event enabled
Bits 17-19: External event select for regular group.
Allowed values:
0: Tim1Cc1: Timer 1 CC1 event
1: Tim1Cc2: Timer 1 CC2 event
2: Tim1Cc3: Timer 1 CC3 event
3: Tim2Cc2: Timer 2 CC2 event
4: Tim3Trgo: Timer 3 TRGO event
5: Tim4Cc4: Timer 4 CC4 event
6: Exti11: EXTI line 11/TIM8_TRGO event (TIM8_TRGO is available only in high-density and XL-density devices)
7: Swstart: SWSTART
Bit 20: External trigger conversion mode for regular channels.
Allowed values:
0: Disabled: Conversion on external event disabled
1: Enabled: Conversion on external event enabled
Bit 21: Start conversion of injected channels.
Allowed values:
0: Started: Reset state
1: NotStarted: Starting conversion of injected channels
Bit 22: Start conversion of regular channels.
Allowed values:
0: Started: Reset state
1: NotStarted: Starting conversion of regular channels
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
sample time register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock 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: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock 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-0x11
SQ[14]Bits 5-9: 14 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[15]Bits 10-14: 15 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[16]Bits 15-19: 16 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
SQ[8]Bits 5-9: 8 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[9]Bits 10-14: 9 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[10]Bits 15-19: 10 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[11]Bits 20-24: 11 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[12]Bits 25-29: 12 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
SQ[2]Bits 5-9: 2 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[3]Bits 10-14: 3 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[4]Bits 15-19: 4 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[5]Bits 20-24: 5 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[6]Bits 25-29: 6 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
JSQ[2]Bits 5-9: 2 conversion in injected sequence.
Allowed values: 0x0-0x11
JSQ[3]Bits 10-14: 3 conversion in injected sequence.
Allowed values: 0x0-0x11
JSQ[4]Bits 15-19: 4 conversion in injected sequence.
Allowed values: 0x0-0x11
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.
ADC30x40013c00: Analog to digital converter
81/81 fields covered.
Toggle register map Toggle registers SRstatus register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/5 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 group conversion started
1: Started: Injected group 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
control register 1
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields AWDCHBits 0-4: Analog watchdog channel select bits.
Allowed values: 0x0-0x11
EOCIEBit 5: Interrupt enable for EOC.
Allowed values:
0: Disabled: EOC interrupt disabled
1: Enabled: EOC interrupt enabled. An interrupt is generated when the EOC bit is set
Bit 6: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 7: Interrupt enable for injected channels.
Allowed values:
0: Disabled: JEOC interrupt disabled
1: Enabled: JEOC interrupt enabled. An interrupt is generated when the JEOC bit is set
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: All: Analog watchdog enabled on all channels
1: Single: 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
control register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields ADONBit 0: A/D converter ON / OFF.
Allowed values:
0: Disabled: Disable ADC conversion/calibration and go to power down mode
1: Enabled: Enable ADC and to start conversion
Bit 1: Continuous conversion.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 2: A/D calibration.
Allowed values:
0: Complete: Calibration completed
1: NotComplete: Calibrating
Bit 3: Reset calibration.
Allowed values:
0: Initialized: Calibration register initialized
1: NotInitialized: Initializing calibration register
Bit 8: Direct memory access mode.
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 11: Data alignment.
Allowed values:
0: Right: Right Alignment
1: Left: Left Alignment
Bits 12-14: External event select for injected group.
Allowed values:
0: Tim1Trgo: Timer 1 TRGO event
1: Tim1Cc4: Timer 1 CC4 event
2: Tim4Cc3: Timer 4 CC3 event
3: Tim8Cc2: Timer 8 CC2 event
4: Tim8Cc4: Timer 8 CC4 event
5: Tim5Trgo: Timer 5 TRGO event
6: Tim5Cc4: Timer 5 CC4 event
7: Jswstart: JSWSTART
Bit 15: External trigger conversion mode for injected channels.
Allowed values:
0: Disabled: Conversion on external event disabled
1: Enabled: Conversion on external event enabled
Bits 17-19: External event select for regular group.
Allowed values:
0: Tim3Cc1: Timer 3 CC1 event
1: Tim2Cc3: Timer 2 CC3 event
2: Tim1Cc3: Timer 1 CC3 event
3: Tim8Cc1: Timer 8 CC1 event
4: Tim8Trgo: Timer 8 TRGO event
5: Tim5Cc1: Timer 5 CC1 event
6: Tim5Cc3: Timer 5 CC3 event
7: Swstart: SWSTART
Bit 20: External trigger conversion mode for regular channels.
Allowed values:
0: Disabled: Conversion on external event disabled
1: Enabled: Conversion on external event enabled
Bit 21: Start conversion of injected channels.
Allowed values:
0: Started: Reset state
1: NotStarted: Starting conversion of injected channels
Bit 22: Start conversion of regular channels.
Allowed values:
0: Started: Reset state
1: NotStarted: Starting conversion of regular channels
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
sample time register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock 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: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles7_5: 7.5 ADC clock cycles
2: Cycles13_5: 13.5 ADC clock cycles
3: Cycles28_5: 28.5 ADC clock cycles
4: Cycles41_5: 41.5 ADC clock cycles
5: Cycles55_5: 55.5 ADC clock cycles
6: Cycles71_5: 71.5 ADC clock cycles
7: Cycles239_5: 239.5 ADC clock 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-0x11
SQ[14]Bits 5-9: 14 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[15]Bits 10-14: 15 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[16]Bits 15-19: 16 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
SQ[8]Bits 5-9: 8 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[9]Bits 10-14: 9 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[10]Bits 15-19: 10 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[11]Bits 20-24: 11 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[12]Bits 25-29: 12 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
SQ[2]Bits 5-9: 2 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[3]Bits 10-14: 3 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[4]Bits 15-19: 4 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[5]Bits 20-24: 5 conversion in regular sequence.
Allowed values: 0x0-0x11
SQ[6]Bits 25-29: 6 conversion in regular sequence.
Allowed values: 0x0-0x11
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-0x11
JSQ[2]Bits 5-9: 2 conversion in injected sequence.
Allowed values: 0x0-0x11
JSQ[3]Bits 10-14: 3 conversion in injected sequence.
Allowed values: 0x0-0x11
JSQ[4]Bits 15-19: 4 conversion in injected sequence.
Allowed values: 0x0-0x11
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.
AFIO0x40010000: Alternate function I/O
16/42 fields covered.
Toggle register map Toggle registers EVCREvent Control Register (AFIO_EVCR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EVOEBits 0-3: Pin selection.
PORTBits 4-6: Port selection.
EVOEBit 7: Event Output Enable.
MAPRAF remap and debug I/O configuration register (AFIO_MAPR)
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
0/17 fields covered.
Toggle fields SPI1_REMAPBit 0: SPI1 remapping.
I2C1_REMAPBit 1: I2C1 remapping.
USART1_REMAPBit 2: USART1 remapping.
USART2_REMAPBit 3: USART2 remapping.
USART3_REMAPBits 4-5: USART3 remapping.
TIM1_REMAPBits 6-7: TIM1 remapping.
TIM2_REMAPBits 8-9: TIM2 remapping.
TIM3_REMAPBits 10-11: TIM3 remapping.
TIM4_REMAPBit 12: TIM4 remapping.
CAN_REMAPBits 13-14: CAN1 remapping.
PD01_REMAPBit 15: Port D0/Port D1 mapping on OSCIN/OSCOUT.
TIM5CH4_IREMAPBit 16: Set and cleared by software.
ADC1_ETRGINJ_REMAPBit 17: ADC 1 External trigger injected conversion remapping.
ADC1_ETRGREG_REMAPBit 18: ADC 1 external trigger regular conversion remapping.
ADC2_ETRGINJ_REMAPBit 19: ADC 2 external trigger injected conversion remapping.
ADC2_ETRGREG_REMAPBit 20: ADC 2 external trigger regular conversion remapping.
SWJ_CFGBits 24-26: Serial wire JTAG configuration.
EXTICR1External interrupt configuration register 1 (AFIO_EXTICR1)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI0Bits 0-3: EXTI0 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 4-7: EXTI1 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 8-11: EXTI2 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 12-15: EXTI3 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
External interrupt configuration register 2 (AFIO_EXTICR2)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI4Bits 0-3: EXTI4 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 4-7: EXTI5 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 8-11: EXTI6 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 12-15: EXTI7 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
External interrupt configuration register 3 (AFIO_EXTICR3)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI8Bits 0-3: EXTI8 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 4-7: EXTI9 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 8-11: EXTI10 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 12-15: EXTI11 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
External interrupt configuration register 4 (AFIO_EXTICR4)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI12Bits 0-3: EXTI12 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 4-7: EXTI13 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 8-11: EXTI14 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
Bits 12-15: EXTI15 configuration.
Allowed values:
0: PA: Select PAx as the source input for the EXTIx external interrupt
1: PB: Select PBx as the source input for the EXTIx external interrupt
2: PC: Select PCx as the source input for the EXTIx external interrupt
3: PD: Select PDx as the source input for the EXTIx external interrupt
4: PE: Select PEx as the source input for the EXTIx external interrupt
5: PF: Select PFx as the source input for the EXTIx external interrupt
6: PG: Select PGx as the source input for the EXTIx external interrupt
AF remap and debug I/O configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields TIM9_REMAPBit 5: TIM9 remapping.
TIM10_REMAPBit 6: TIM10 remapping.
TIM11_REMAPBit 7: TIM11 remapping.
TIM13_REMAPBit 8: TIM13 remapping.
TIM14_REMAPBit 9: TIM14 remapping.
FSMC_NADVBit 10: NADV connect/disconnect.
BKP0x40006c04: Backup registers
52/53 fields covered.
Toggle register map Toggle registers DR[1]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[2]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[3]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[4]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[5]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[6]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[7]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[8]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[9]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
DR[10]Backup data register (BKP_DR)
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
RTCCRRTC clock calibration register (BKP_RTCCR)
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
3/4 fields covered.
Toggle fields CALBits 0-6: Calibration value.
Allowed values: 0x0-0x79
CCOBit 7: Calibration Clock Output.
ASOEBit 8: Alarm or second output enable.
Allowed values:
0: Disabled: Disabled
1: Enabled: Setting this bit outputs either the RTC Alarm pulse signal or the Second pulse signal on the TAMPER pin depending on the ASOS bit
Bit 9: Alarm or second output selection.
Allowed values:
0: Alarm: RTC Alarm pulse output selected
1: Second: RTC Second pulse output selected
Backup control register (BKP_CR)
Offset: 0x2c, 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 TPALBit 0: Tamper pin enable.
Allowed values:
0: General: The TAMPER pin is free for general purpose I/O
1: Alternate: Tamper alternate I/O function is activated
Bit 1: Tamper pin active level.
Allowed values:
0: High: A high level on the TAMPER pin resets all data backup registers (if TPE bit is set)
1: Low: A low level on the TAMPER pin resets all data backup registers (if TPE bit is set)
BKP_CSR control/status register (BKP_CSR)
Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
Toggle fields CTEBit 0: Clear Tamper event.
Allowed values:
1: Reset: Reset the TEF Tamper event flag (and the Tamper detector)
Bit 1: Clear Tamper Interrupt.
Allowed values:
1: Clear: Clear the Tamper interrupt and the TIF Tamper interrupt flag
Bit 2: Tamper Pin interrupt enable.
Allowed values:
0: Disabled: Tamper interrupt disabled
1: Enabled: Tamper interrupt enabled (the TPE bit must also be set in the BKP_CR register
Bit 8: Tamper Event Flag.
TIFBit 9: Tamper Interrupt Flag.
BKP_DR[11]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[12]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[13]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[14]Backup data register (BKP_DR)
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[15]Backup data register (BKP_DR)
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[16]Backup data register (BKP_DR)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[17]Backup data register (BKP_DR)
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[18]Backup data register (BKP_DR)
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[19]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[20]Backup data register (BKP_DR)
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[21]Backup data register (BKP_DR)
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[22]Backup data register (BKP_DR)
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[23]Backup data register (BKP_DR)
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[24]Backup data register (BKP_DR)
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[25]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[26]Backup data register (BKP_DR)
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[27]Backup data register (BKP_DR)
Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[28]Backup data register (BKP_DR)
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[29]Backup data register (BKP_DR)
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[30]Backup data register (BKP_DR)
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[31]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[32]Backup data register (BKP_DR)
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[33]Backup data register (BKP_DR)
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[34]Backup data register (BKP_DR)
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[35]Backup data register (BKP_DR)
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[36]Backup data register (BKP_DR)
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[37]Backup data register (BKP_DR)
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 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[38]Backup data register (BKP_DR)
Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[39]Backup data register (BKP_DR)
Offset: 0xac, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[40]Backup data register (BKP_DR)
Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[41]Backup data register (BKP_DR)
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
BKP_DR[42]Backup data register (BKP_DR)
Offset: 0xb8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBits 0-15: Backup data.
Allowed values: 0x0-0xffff
CRC0x40023000: CRC calculation unit
3/3 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 DR DR DR 0x4 IDR IDR 0x8 CR RESET 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
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
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESETBit 0: Reset bit.
Allowed values:
1: Reset: Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF
0x40007400: Digital to analog converter
30/30 fields covered.
Toggle register map Toggle registers CRControl register (DAC_CR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
14/14 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 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
DAC software trigger register (DAC_SWTRIGR)
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 (DAC_DHR12RD), Bits 31:28 Reserved, Bits 15:12 Reserved
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 (DAC_DHR12LD), Bits 19:16 Reserved, Bits 3:0 Reserved
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 (DAC_DHR8RD), Bits 31:16 Reserved
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.
DBGMCU0xe0042000: Debug support
2/24 fields covered.
Toggle register map Toggle registers IDCODEDBGMCU_IDCODE
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 REV_IDBits 0-11: DEV_ID.
REV_IDBits 16-31: REV_ID.
CRDBGMCU_CR
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/22 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.
DBG_IWDG_STOPBit 8: DBG_IWDG_STOP.
DBG_WWDG_STOPBit 9: DBG_WWDG_STOP.
DBG_TIM1_STOPBit 10: DBG_TIM1_STOP.
DBG_TIM2_STOPBit 11: DBG_TIM2_STOP.
DBG_TIM3_STOPBit 12: DBG_TIM3_STOP.
DBG_TIM4_STOPBit 13: DBG_TIM4_STOP.
DBG_I2C1_SMBUS_TIMEOUTBit 15: DBG_I2C1_SMBUS_TIMEOUT.
DBG_I2C2_SMBUS_TIMEOUTBit 16: DBG_I2C2_SMBUS_TIMEOUT.
DBG_TIM5_STOPBit 18: DBG_TIM5_STOP.
DBG_TIM6_STOPBit 19: DBG_TIM6_STOP.
DBG_TIM7_STOPBit 20: DBG_TIM7_STOP.
DBG_TIM15_STOPBit 22: TIM15 counter stopped when core is halted.
DBG_TIM16_STOPBit 23: TIM16 counter stopped when core is halted.
DBG_TIM17_STOPBit 24: TIM17 counter stopped when core is halted.
DBG_TIM12_STOPBit 25: TIM12 counter stopped when core is halted.
DBG_TIM13_STOPBit 26: TIM13 counter stopped when core is halted.
DBG_TIM14_STOPBit 27: TIM14 counter stopped when core is halted.
DMA10x40020000: DMA controller
147/161 fields covered.
Toggle register map Toggle registers ISRDMA interrupt status register (DMA_ISR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
Toggle fields GIF[1]Bit 0: Channel 1 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 1: Channel 1 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 2: Channel 1 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 3: Channel 1 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 4: Channel 2 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 5: Channel 2 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 6: Channel 2 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 7: Channel 2 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 8: Channel 3 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 9: Channel 3 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 10: Channel 3 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 11: Channel 3 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 12: Channel 4 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 13: Channel 4 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 14: Channel 4 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 15: Channel 4 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 16: Channel 5 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 17: Channel 5 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 18: Channel 5 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 19: Channel 5 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 20: Channel 6 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 21: Channel 6 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 22: Channel 6 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 23: Channel 6 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 24: Channel 7 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 25: Channel 7 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 26: Channel 7 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 27: Channel 7 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
DMA interrupt flag clear register (DMA_IFCR)
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
28/28 fields covered.
Toggle fields CGIF[1]Bit 0: Channel 1 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 1: Channel 1 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 2: Channel 1 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 3: Channel 1 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 4: Channel 2 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 5: Channel 2 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 6: Channel 2 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 7: Channel 2 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 8: Channel 3 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 9: Channel 3 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 10: Channel 3 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 11: Channel 3 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 12: Channel 4 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 13: Channel 4 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 14: Channel 4 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 15: Channel 4 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 16: Channel 5 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 17: Channel 5 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 18: Channel 5 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 19: Channel 5 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 20: Channel 6 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 21: Channel 6 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 22: Channel 6 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 23: Channel 6 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 24: Channel 7 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 25: Channel 7 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 26: Channel 7 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 27: Channel 7 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
DMA channel configuration register (DMA_CCR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [1]DMA channel 1 peripheral address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [1]DMA channel 1 memory address register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [2]DMA channel configuration register (DMA_CCR)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [2]DMA channel 1 peripheral address register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [2]DMA channel 1 memory address register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [3]DMA channel configuration register (DMA_CCR)
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [3]DMA channel 1 peripheral address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [3]DMA channel 1 memory address register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [4]DMA channel configuration register (DMA_CCR)
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [4]DMA channel 1 peripheral address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [4]DMA channel 1 memory address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [5]DMA channel configuration register (DMA_CCR)
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 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 to transfer.
Allowed values: 0x0-0xffff
PAR [5]DMA channel 1 peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [5]DMA channel 1 memory address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [6]DMA channel configuration register (DMA_CCR)
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [6]DMA channel 1 peripheral address register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [6]DMA channel 1 memory address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [7]DMA channel configuration register (DMA_CCR)
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [7]DMA channel 1 peripheral address register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [7]DMA channel 1 memory address register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
DMA20x40020400: DMA controller
147/161 fields covered.
Toggle register map Toggle registers ISRDMA interrupt status register (DMA_ISR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
Toggle fields GIF[1]Bit 0: Channel 1 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 1: Channel 1 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 2: Channel 1 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 3: Channel 1 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 4: Channel 2 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 5: Channel 2 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 6: Channel 2 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 7: Channel 2 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 8: Channel 3 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 9: Channel 3 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 10: Channel 3 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 11: Channel 3 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 12: Channel 4 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 13: Channel 4 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 14: Channel 4 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 15: Channel 4 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 16: Channel 5 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 17: Channel 5 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 18: Channel 5 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 19: Channel 5 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 20: Channel 6 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 21: Channel 6 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 22: Channel 6 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 23: Channel 6 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 24: Channel 7 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 25: Channel 7 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 26: Channel 7 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 27: Channel 7 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
DMA interrupt flag clear register (DMA_IFCR)
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
28/28 fields covered.
Toggle fields CGIF[1]Bit 0: Channel 1 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 1: Channel 1 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 2: Channel 1 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 3: Channel 1 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 4: Channel 2 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 5: Channel 2 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 6: Channel 2 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 7: Channel 2 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 8: Channel 3 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 9: Channel 3 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 10: Channel 3 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 11: Channel 3 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 12: Channel 4 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 13: Channel 4 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 14: Channel 4 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 15: Channel 4 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 16: Channel 5 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 17: Channel 5 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 18: Channel 5 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 19: Channel 5 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 20: Channel 6 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 21: Channel 6 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 22: Channel 6 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 23: Channel 6 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 24: Channel 7 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 25: Channel 7 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 26: Channel 7 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 27: Channel 7 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
DMA channel configuration register (DMA_CCR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [1]DMA channel 1 peripheral address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [1]DMA channel 1 memory address register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [2]DMA channel configuration register (DMA_CCR)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [2]DMA channel 1 peripheral address register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [2]DMA channel 1 memory address register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [3]DMA channel configuration register (DMA_CCR)
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [3]DMA channel 1 peripheral address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [3]DMA channel 1 memory address register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [4]DMA channel configuration register (DMA_CCR)
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [4]DMA channel 1 peripheral address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [4]DMA channel 1 memory address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [5]DMA channel configuration register (DMA_CCR)
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 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 to transfer.
Allowed values: 0x0-0xffff
PAR [5]DMA channel 1 peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [5]DMA channel 1 memory address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [6]DMA channel configuration register (DMA_CCR)
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [6]DMA channel 1 peripheral address register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [6]DMA channel 1 memory address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
CR [7]DMA channel configuration register (DMA_CCR)
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: Channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: Transfer complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: Half Transfer interrupt enable.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: Transfer error interrupt enable.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: Data transfer direction.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: Circular mode.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: Peripheral increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: Memory increment mode.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: Peripheral size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: Memory size.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: Channel Priority level.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: Memory to memory mode.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
DMA channel 1 number of data register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 NDTBits 0-15: Number of data to transfer.
Allowed values: 0x0-0xffff
PAR [7]DMA channel 1 peripheral address register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PABits 0-31: Peripheral address.
MAR [7]DMA channel 1 memory address register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MABits 0-31: Memory address.
Ethernet_DMA0x40029000: Ethernet: DMA controller operation
14/70 fields covered.
Toggle register map Toggle registers DMABMREthernet DMA bus mode register
Offset: 0x0, size: 32, reset: 0x00020101, access: read-write
0/10 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 AABBit 0: Software reset.
DABit 1: DMA Arbitration.
DSLBits 2-6: Descriptor skip length.
PBLBits 8-13: Programmable burst length.
RTPRBits 14-15: Rx Tx priority ratio.
FBBit 16: Fixed burst.
RDPBits 17-22: Rx DMA PBL.
USPBit 23: Use separate PBL.
FPMBit 24: 4xPBL mode.
AABBit 25: Address-aligned beats.
DMATPDREthernet DMA transmit poll demand register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TPDBits 0-31: Transmit poll demand.
DMARPDREHERNET DMA receive poll demand 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 RPDBits 0-31: Receive poll demand.
DMARDLAREthernet DMA receive descriptor list address register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SRLBits 0-31: Start of receive list.
DMATDLAREthernet DMA transmit descriptor list address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STLBits 0-31: Start of transmit list.
DMASREthernet DMA status register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
6/21 fields covered.
Toggle fields TSBit 0: Transmit status.
TPSSBit 1: Transmit process stopped status.
TBUSBit 2: Transmit buffer unavailable status.
TJTSBit 3: Transmit jabber timeout status.
ROSBit 4: Receive overflow status.
TUSBit 5: Transmit underflow status.
RSBit 6: Receive status.
RBUSBit 7: Receive buffer unavailable status.
RPSSBit 8: Receive process stopped status.
PWTSBit 9: Receive watchdog timeout status.
ETSBit 10: Early transmit status.
FBESBit 13: Fatal bus error status.
ERSBit 14: Early receive status.
AISBit 15: Abnormal interrupt summary.
NISBit 16: Normal interrupt summary.
RPSBits 17-19: Receive process state.
TPSBits 20-22: Transmit process state.
EBSBits 23-25: Error bits status.
MMCSBit 27: MMC status.
PMTSBit 28: PMT status.
TSTSBit 29: Time stamp trigger status.
DMAOMREthernet DMA operation mode register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
Toggle fields SRBit 1: SR.
OSFBit 2: OSF.
RTCBits 3-4: RTC.
FUGFBit 6: FUGF.
FEFBit 7: FEF.
STBit 13: ST.
TTCBits 14-16: TTC.
FTFBit 20: FTF.
TSFBit 21: TSF.
DFRFBit 24: DFRF.
RSFBit 25: RSF.
DTCEFDBit 26: DTCEFD.
DMAIEREthernet DMA interrupt enable register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/15 fields covered.
Toggle fields TIEBit 0: Transmit interrupt enable.
TPSIEBit 1: Transmit process stopped interrupt enable.
TBUIEBit 2: Transmit buffer unavailable interrupt enable.
TJTIEBit 3: Transmit jabber timeout interrupt enable.
ROIEBit 4: Overflow interrupt enable.
TUIEBit 5: Underflow interrupt enable.
RIEBit 6: Receive interrupt enable.
RBUIEBit 7: Receive buffer unavailable interrupt enable.
RPSIEBit 8: Receive process stopped interrupt enable.
RWTIEBit 9: receive watchdog timeout interrupt enable.
ETIEBit 10: Early transmit interrupt enable.
FBEIEBit 13: Fatal bus error interrupt enable.
ERIEBit 14: Early receive interrupt enable.
AISEBit 15: Abnormal interrupt summary enable.
NISEBit 16: Normal interrupt summary enable.
DMAMFBOCREthernet DMA missed frame and buffer overflow counter register
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 OFOCBits 0-15: Missed frames by the controller.
OMFCBit 16: Overflow bit for missed frame counter.
MFABits 17-27: Missed frames by the application.
OFOCBit 28: Overflow bit for FIFO overflow counter.
DMACHTDREthernet DMA current host transmit descriptor 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 HTDAPBits 0-31: Host transmit descriptor address pointer.
DMACHRDREthernet DMA current host receive descriptor register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HRDAPBits 0-31: Host receive descriptor address pointer.
DMACHTBAREthernet DMA current host transmit buffer address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HTBAPBits 0-31: Host transmit buffer address pointer.
DMACHRBAREthernet DMA current host receive buffer address register
Offset: 0x54, 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 HRBAPBits 0-31: Host receive buffer address pointer.
Ethernet_MAC0x40028000: Ethernet: media access control
1/75 fields covered.
Toggle register map Toggle registers MACCREthernet MAC configuration register (ETH_MACCR)
Offset: 0x0, size: 32, reset: 0x00008000, access: read-write
0/15 fields covered.
Toggle fields REBit 2: Receiver enable.
TEBit 3: Transmitter enable.
DCBit 4: Deferral check.
BLBits 5-6: Back-off limit.
APCSBit 7: Automatic pad/CRC stripping.
RDBit 9: Retry disable.
IPCOBit 10: IPv4 checksum offload.
DMBit 11: Duplex mode.
LMBit 12: Loopback mode.
RODBit 13: Receive own disable.
FESBit 14: Fast Ethernet speed.
CSDBit 16: Carrier sense disable.
IFGBits 17-19: Interframe gap.
JDBit 22: Jabber disable.
WDBit 23: Watchdog disable.
MACFFREthernet MAC frame filter register (ETH_MACCFFR)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RABit 0: Promiscuous mode.
HUBit 1: Hash unicast.
HMBit 2: Hash multicast.
DAIFBit 3: Destination address inverse filtering.
PAMBit 4: Pass all multicast.
BFDBit 5: Broadcast frames disable.
PCFBits 6-7: Pass control frames.
SAIFBit 8: Source address inverse filtering.
SAFBit 9: Source address filter.
HPFBit 10: Hash or perfect filter.
RABit 31: Receive all.
MACHTHREthernet MAC hash table high 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 HTHBits 0-31: Hash table high.
MACHTLREthernet MAC hash table low register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HTLBits 0-31: Hash table low.
MACMIIAREthernet MAC MII address register (ETH_MACMIIAR)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PABit 0: MII busy.
MWBit 1: MII write.
CRBits 2-4: Clock range.
MRBits 6-10: MII register.
PABits 11-15: PHY address.
MACMIIDREthernet MAC MII data register (ETH_MACMIIDR)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MDBits 0-15: MII data.
MACFCREthernet MAC flow control register (ETH_MACFCR)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PTBit 0: Flow control busy/back pressure activate.
TFCEBit 1: Transmit flow control enable.
RFCEBit 2: Receive flow control enable.
UPFDBit 3: Unicast pause frame detect.
PLTBits 4-5: Pause low threshold.
ZQPDBit 7: Zero-quanta pause disable.
PTBits 16-31: Pass control frames.
MACVLANTREthernet MAC VLAN tag register (ETH_MACVLANTR)
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 VLANTCBits 0-15: VLAN tag identifier (for receive frames).
VLANTCBit 16: 12-bit VLAN tag comparison.
MACRWUFFREthernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
Toggle fields MACPMTCSREthernet MAC PMT control and status register (ETH_MACPMTCSR)
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 WFFRPRBit 0: Power down.
MPEBit 1: Magic Packet enable.
WFEBit 2: Wakeup frame enable.
MPRBit 5: Magic packet received.
WFRBit 6: Wakeup frame received.
GUBit 9: Global unicast.
WFFRPRBit 31: Wakeup frame filter register pointer reset.
MACSREthernet MAC interrupt status register (ETH_MACSR)
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields PMTSBit 3: PMT status.
MMCSBit 4: MMC status.
MMCRSBit 5: MMC receive status.
MMCTSBit 6: MMC transmit status.
TSTSBit 9: Time stamp trigger status.
MACIMREthernet MAC interrupt mask register (ETH_MACIMR)
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TSTIMBit 3: PMT interrupt mask.
TSTIMBit 9: Time stamp trigger interrupt mask.
MACA0HREthernet MAC address 0 high register (ETH_MACA0HR)
Offset: 0x40, size: 32, reset: 0x0010FFFF, access: Unspecified
1/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MOBits 0-15: MAC address0 high.
MOBit 31: Always 1.
MACA0LREthernet MAC address 0 low register
Offset: 0x44, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MACA0LBits 0-31: MAC address0 low.
MACA1HREthernet MAC address 1 high register (ETH_MACA1HR)
Offset: 0x48, size: 32, reset: 0x0000FFFF, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 AEBits 0-15: MAC address1 high.
MBCBits 24-29: Mask byte control.
SABit 30: Source address.
AEBit 31: Address enable.
MACA1LREthernet MAC address1 low register
Offset: 0x4c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MACA1LBits 0-31: MAC address1 low.
MACA2HREthernet MAC address 2 high register (ETH_MACA2HR)
Offset: 0x50, size: 32, reset: 0x00000050, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 AEBits 0-15: Ethernet MAC address 2 high register.
MBCBits 24-29: Mask byte control.
SABit 30: Source address.
AEBit 31: Address enable.
MACA2LREthernet MAC address 2 low register
Offset: 0x54, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MACA2LBits 0-30: MAC address2 low.
MACA3HREthernet MAC address 3 high register (ETH_MACA3HR)
Offset: 0x58, size: 32, reset: 0x0000FFFF, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 AEBits 0-15: MAC address3 high.
MBCBits 24-29: Mask byte control.
SABit 30: Source address.
AEBit 31: Address enable.
MACA3LREthernet MAC address 3 low register
Offset: 0x5c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MBCA3LBits 0-31: MAC address3 low.
Ethernet_MMC0x40028100: Ethernet: MAC management counters
6/22 fields covered.
Toggle register map Toggle registers MMCCREthernet MMC control register (ETH_MMCCR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MCFBit 0: Counter reset.
CSRBit 1: Counter stop rollover.
RORBit 2: Reset on read.
MCFBit 31: MMC counter freeze.
MMCRIREthernet MMC receive interrupt register (ETH_MMCRIR)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RGUFSBit 5: Received frames CRC error status.
RFAESBit 6: Received frames alignment error status.
RGUFSBit 17: Received Good Unicast Frames Status.
MMCTIREthernet MMC transmit interrupt register (ETH_MMCTIR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TGFSBit 14: Transmitted good frames single collision status.
TGFMSCSBit 15: Transmitted good frames more single collision status.
TGFSBit 21: Transmitted good frames status.
MMCRIMREthernet MMC receive interrupt mask register (ETH_MMCRIMR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RGUFMBit 5: Received frame CRC error mask.
RFAEMBit 6: Received frames alignment error mask.
RGUFMBit 17: Received good unicast frames mask.
MMCTIMREthernet MMC transmit interrupt mask register (ETH_MMCTIMR)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TGFMBit 14: Transmitted good frames single collision mask.
TGFMSCMBit 15: Transmitted good frames more single collision mask.
TGFMBit 21: Transmitted good frames mask.
MMCTGFSCCREthernet MMC transmitted good frames after a single collision counter
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TGFSCCBits 0-31: Transmitted good frames after a single collision counter.
MMCTGFMSCCREthernet MMC transmitted good frames after more than a single collision
Offset: 0x50, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TGFMSCCBits 0-31: Transmitted good frames after more than a single collision counter.
MMCTGFCREthernet MMC transmitted good frames counter register
Offset: 0x68, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TGFCBits 0-31: Transmitted good frames counter.
MMCRFCECREthernet MMC received frames with CRC error counter 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 RFCFCBits 0-31: Received frames with CRC error counter.
MMCRFAECREthernet MMC received frames with alignment error counter register
Offset: 0x98, 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 RFAECBits 0-31: Received frames with alignment error counter.
MMCRGUFCRMMC received good unicast frames counter register
Offset: 0xc4, 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 RGUFCBits 0-31: Received good unicast frames counter.
Ethernet_PTP0x40028700: Ethernet: Precision time protocol
3/16 fields covered.
Toggle register map Toggle registers PTPTSCREthernet PTP time stamp control register (ETH_PTPTSCR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields TSEBit 0: Time stamp enable.
TSFCUBit 1: Time stamp fine or coarse update.
TSSTIBit 2: Time stamp system time initialize.
TSSTUBit 3: Time stamp system time update.
TSITEBit 4: Time stamp interrupt trigger enable.
TSARUBit 5: Time stamp addend register update.
PTPSSIREthernet PTP subsecond increment register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 STSSIBits 0-7: System time subsecond increment.
PTPTSHREthernet PTP time stamp high 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 STSBits 0-31: System time second.
PTPTSLREthernet PTP time stamp low register (ETH_PTPTSLR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STPNSBits 0-30: System time subseconds.
STPNSBit 31: System time positive or negative sign.
PTPTSHUREthernet PTP time stamp high update 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 TSUSBits 0-31: Time stamp update second.
PTPTSLUREthernet PTP time stamp low update register (ETH_PTPTSLUR)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TSUPNSBits 0-30: Time stamp update subseconds.
TSUPNSBit 31: Time stamp update positive or negative sign.
PTPTSAREthernet PTP time stamp addend 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 TSABits 0-31: Time stamp addend.
PTPTTHREthernet PTP target time high 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 TTSHBits 0-31: Target time stamp high.
PTPTTLREthernet PTP target time low 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 TTSLBits 0-31: Target time stamp low.
EXTI0x40010400: EXTI
114/114 fields covered.
Toggle register map Toggle registers IMRInterrupt mask register (EXTI_IMR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields MR[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
Event mask register (EXTI_EMR)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields MR[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
Rising Trigger selection register (EXTI_RTSR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 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
Falling Trigger selection register (EXTI_FTSR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
19/19 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
Software interrupt event register (EXTI_SWIER)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
19/19 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
Pending register (EXTI_PR)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
19/19 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
0x40022000: FLASH
11/29 fields covered.
Toggle register map Toggle registers ACRFlash access control register
Offset: 0x0, size: 32, reset: 0x00000030, access: Unspecified
2/4 fields covered.
Toggle fields LATENCYBits 0-2: Latency.
Allowed values:
0: WS0: Zero wait state, if 0 < SYSCLK≤ 24 MHz
1: WS1: One wait state, if 24 MHz < SYSCLK ≤ 48 MHz
2: WS2: Two wait states, if 48 MHz < SYSCLK ≤ 72 MHz
Bit 3: Flash half cycle access enable.
PRFTBEBit 4: Prefetch buffer enable.
PRFTBSBit 5: Prefetch buffer status.
KEYRFlash key register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: FPEC key.
OPTKEYRFlash option key register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OPTKEYBits 0-31: Option byte key.
SRStatus register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
1/4 fields covered.
Toggle fields BSYBit 0: Busy.
PGERRBit 2: Programming error.
WRPRTERRBit 4: Write protection error.
EOPBit 5: End of operation.
CRControl register
Offset: 0x10, size: 32, reset: 0x00000080, access: read-write
0/10 fields covered.
Toggle fields PGBit 0: Programming.
PERBit 1: Page Erase.
MERBit 2: Mass Erase.
OPTPGBit 4: Option byte programming.
OPTERBit 5: Option byte erase.
STRTBit 6: Start.
LOCKBit 7: Lock.
OPTWREBit 9: Option bytes write enable.
ERRIEBit 10: Error interrupt enable.
EOPIEBit 12: End of operation interrupt enable.
ARFlash address register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FARBits 0-31: Flash Address.
OBROption byte register
Offset: 0x1c, size: 32, reset: 0x03FFFFFC, access: read-only
7/7 fields covered.
Toggle fields OPTERRBit 0: Option byte error.
RDPRTBit 1: Read protection.
WDG_SWBit 2: WDG_SW.
nRST_STOPBit 3: nRST_STOP.
nRST_STDBYBit 4: nRST_STDBY.
Data0Bits 10-17: Data0.
Data1Bits 18-25: Data1.
WRPRWrite protection register
Offset: 0x20, size: 32, reset: 0xFFFFFFFF, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 WRPBits 0-31: Write protect.
FSMC0xa0000000: Flexible static memory controller
183/183 fields covered.
Toggle register map Toggle registers BCR1SRAM/NOR-Flash chip-select control register 1
Offset: 0x0, size: 32, reset: 0x000030D0, access: read-write
15/15 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 10: WRAPMOD.
Allowed values:
0: Disabled: Direct wrapped burst is not enabled
1: Enabled: Direct wrapped burst is enabled
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 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
15/15 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 10: WRAPMOD.
Allowed values:
0: Disabled: Direct wrapped burst is not enabled
1: Enabled: Direct wrapped burst is enabled
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
15/15 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 10: WRAPMOD.
Allowed values:
0: Disabled: Direct wrapped burst is not enabled
1: Enabled: Direct wrapped burst is enabled
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
15/15 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 10: WRAPMOD.
Allowed values:
0: Disabled: Direct wrapped burst is not enabled
1: Enabled: Direct wrapped burst is enabled
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 2
Offset: 0x60, 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 2
Offset: 0x64, 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 2
Offset: 0x68, 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
PATT[2]Attribute memory space timing register 2
Offset: 0x6c, size: 32, reset: 0xFCFCFCFC, access: read-write
4/4 fields covered.
Toggle fields ATTSETBits 0-7: Attribute memory x setup time.
Allowed values: 0x0-0xfe
ATTWAITBits 8-15: Attribute memory x wait time.
Allowed values: 0x1-0xfe
ATTHOLDBits 16-23: Attribute memory x hold time.
Allowed values: 0x1-0xfe
ATTHIZBits 24-31: Attribute memory x databus HiZ time.
Allowed values: 0x0-0xfe
ECCR[2]ECC result register 2
Offset: 0x74, 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: ECC result.
Allowed values: 0x0-0xffffffff
PCR[3]PC Card/NAND Flash control register 3
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 3
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 3
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
PATT[3]Attribute memory space timing register 3
Offset: 0x8c, size: 32, reset: 0xFCFCFCFC, access: read-write
4/4 fields covered.
Toggle fields ATTSETBits 0-7: Attribute memory x setup time.
Allowed values: 0x0-0xfe
ATTWAITBits 8-15: Attribute memory x wait time.
Allowed values: 0x1-0xfe
ATTHOLDBits 16-23: Attribute memory x hold time.
Allowed values: 0x1-0xfe
ATTHIZBits 24-31: Attribute memory x databus HiZ time.
Allowed values: 0x0-0xfe
ECCR[3]ECC result register 3
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: ECC result.
Allowed values: 0x0-0xffffffff
PCR[4]PC Card/NAND Flash control register 4
Offset: 0xa0, 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 4
Offset: 0xa4, 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 4
Offset: 0xa8, 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
PATT[4]Attribute memory space timing register 4
Offset: 0xac, size: 32, reset: 0xFCFCFCFC, access: read-write
4/4 fields covered.
Toggle fields ATTSETBits 0-7: Attribute memory x setup time.
Allowed values: 0x0-0xfe
ATTWAITBits 8-15: Attribute memory x wait time.
Allowed values: 0x1-0xfe
ATTHOLDBits 16-23: Attribute memory x hold time.
Allowed values: 0x1-0xfe
ATTHIZBits 24-31: Attribute memory x databus HiZ time.
Allowed values: 0x0-0xfe
PIO4I/O space timing register 4
Offset: 0xb0, size: 32, reset: 0xFCFCFCFC, access: read-write
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IOHIZBits 0-7: IOSETx.
Allowed values: 0x0-0xff
IOWAITBits 8-15: IOWAITx.
Allowed values: 0x1-0xff
IOHOLDBits 16-23: IOHOLDx.
Allowed values: 0x1-0xff
IOHIZBits 24-31: IOHIZx.
Allowed values: 0x0-0xff
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
0x40010800: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40010c00: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40011000: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40011400: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40011800: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40011c00: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40012000: General purpose I/O
129/129 fields covered.
Toggle register map Toggle registers CRLPort configuration register low (GPIOn_CRL)
Offset: 0x0, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[0]Bits 0-1: Port n.0 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.0 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.1 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.1 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.2 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.2 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.3 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.3 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.4 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.4 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.5 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.5 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.6 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.6 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.7 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.7 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port configuration register high (GPIOn_CRL)
Offset: 0x4, size: 32, reset: 0x44444444, access: read-write
16/16 fields covered.
Toggle fields MODE[8]Bits 0-1: Port n.8 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 2-3: Port n.8 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 4-5: Port n.9 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 6-7: Port n.9 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 8-9: Port n.10 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 10-11: Port n.10 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 12-13: Port n.11 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 14-15: Port n.11 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 16-17: Port n.12 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 18-19: Port n.12 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 20-21: Port n.13 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 22-23: Port n.13 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 24-25: Port n.14 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 26-27: Port n.14 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Bits 28-29: Port n.15 mode bits.
Allowed values:
0: Input: Input mode (reset state)
1: Output: Output mode 10 MHz
2: Output2: Output mode 2 MHz
3: Output50: Output mode 50 MHz
Bits 30-31: Port n.15 configuration bits.
Allowed values:
0: PushPull: Analog mode / Push-Pull mode
1: OpenDrain: Floating input (reset state) / Open Drain-Mode
2: AltPushPull: Input with pull-up/pull-down / Alternate Function Push-Pull Mode
3: AltOpenDrain: Alternate Function Open-Drain Mode
Port input data register (GPIOn_IDR)
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Port output data register (GPIOn_ODR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Port bit set/reset register (GPIOn_BSRR)
Offset: 0x10, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Set bit 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Set bit 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Set bit 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Set bit 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Set bit 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Set bit 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Set bit 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Set bit 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Set bit 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Set bit 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Set bit 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Set bit 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Set bit 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Set bit 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Set bit 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Set bit 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Reset bit 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Reset bit 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Reset bit 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Reset bit 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Reset bit 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Reset bit 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Reset bit 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Reset bit 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Reset bit 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Reset bit 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Reset bit 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Reset bit 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Reset bit 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Reset bit 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Reset bit 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Reset bit 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Port bit reset register (GPIOn_BRR)
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Reset bit 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Reset bit 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Reset bit 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Reset bit 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Reset bit 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Reset bit 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Reset bit 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Reset bit 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Reset bit 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Reset bit 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Reset bit 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Reset bit 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Reset bit 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Reset bit 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Reset bit 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Reset bit 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Port configuration lock register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port A Lock bit 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port A Lock bit 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port A Lock bit 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port A Lock bit 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port A Lock bit 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port A Lock bit 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port A Lock bit 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port A Lock bit 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port A Lock bit 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port A Lock bit 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port A Lock bit 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port A Lock bit 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port A Lock bit 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port A Lock bit 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port A Lock bit 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port A Lock bit 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Lock key.
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
0x40005400: Inter integrated circuit
51/51 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: SMBus mode.
Allowed values:
0: I2C: I2C Mode
1: SMBus: SMBus
Bit 3: SMBus type.
Allowed values:
0: Device: SMBus Device
1: Host: SMBus Host
Bit 4: ARP enable.
Allowed values:
0: Disabled: ARP disabled
1: Enabled: ARP enabled
Bit 5: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Bit 6: General call enable.
Allowed values:
0: Disabled: General call disabled
1: Enabled: General call enabled
Bit 7: Clock stretching disable (Slave mode).
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 8: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: In master mode: repeated start generation, in slave mode: start generation when bus is free
Bit 9: Stop generation.
Allowed values:
0: NoStop: No Stop generation
1: Stop: In master mode: stop generation after current byte/start, in slave mode: release SCL and SDA after current byte
Bit 10: Acknowledge enable.
Allowed values:
0: NAK: No acknowledge returned
1: ACK: Acknowledge returned after a byte is received
Bit 11: Acknowledge/PEC Position (for data reception).
Allowed values:
0: Current: ACK bit controls the (N)ACK of the current byte being received
1: Next: ACK bit controls the (N)ACK of the next byte to be received
Bit 12: Packet error checking.
Allowed values:
0: Disabled: No PEC transfer
1: Enabled: PEC transfer
Bit 13: SMBus alert.
Allowed values:
0: Release: SMBA pin released high
1: Drive: SMBA pin driven low
Bit 15: Software reset.
Allowed values:
0: NotReset: I2C peripheral not under reset
1: Reset: I2C peripheral under reset
Control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields FREQBits 0-5: Peripheral clock frequency.
Allowed values: 0x2-0x32
ITERRENBit 8: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 9: Event interrupt enable.
Allowed values:
0: Disabled: Event interrupt disabled
1: Enabled: Event interrupt enabled
Bit 10: Buffer interrupt enable.
Allowed values:
0: Disabled: TxE=1 or RxNE=1 does not generate any interrupt
1: Enabled: TxE=1 or RxNE=1 generates Event interrupt
Bit 11: DMA requests enable.
Allowed values:
0: Disabled: DMA requests disabled
1: Enabled: DMA request enabled when TxE=1 or RxNE=1
Bit 12: DMA last transfer.
Allowed values:
0: NotLast: Next DMA EOT is not the last transfer
1: Last: Next DMA EOT is the last transfer
Own address register 1
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ADDMODEBits 0-9: Interface address.
Allowed values: 0x0-0x3ff
ADDMODEBit 15: Addressing mode (slave mode).
Allowed values:
0: ADD7: 7-bit slave address
1: ADD10: 10-bit slave address
Own address register 2
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ADD2Bit 0: Dual addressing mode enable.
Allowed values:
0: Single: Single addressing mode
1: Dual: Dual addressing mode
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
DRData 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 DRBits 0-7: 8-bit data register.
Allowed values: 0x0-0xff
SR1Status register 1
Offset: 0x14, size: 16, reset: 0x00000000, access: Unspecified
14/14 fields covered.
Toggle fields SBBit 0: Start bit (Master mode).
Allowed values:
0: NoStart: No Start condition
1: Start: Start condition generated
Bit 1: Address sent (master mode)/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 2: Byte transfer finished.
Allowed values:
0: NotFinished: Data byte transfer not done
1: Finished: Data byte transfer successful
Bit 3: 10-bit header sent (Master mode).
STOPFBit 4: Stop detection (slave mode).
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Data register not empty (receivers).
Allowed values:
0: Empty: Data register empty
1: NotEmpty: Data register not empty
Bit 7: Data register empty (transmitters).
Allowed values:
0: NotEmpty: Data register not empty
1: Empty: Data register empty
Bit 8: Bus error.
Allowed values:
0: NoError: No misplaced Start or Stop condition
1: Error: Misplaced Start or Stop condition
Bit 9: Arbitration lost (master mode).
Allowed values:
0: NoLost: No Arbitration Lost detected
1: Lost: Arbitration Lost detected
Bit 10: Acknowledge failure.
Allowed values:
0: NoFailure: No acknowledge failure
1: Failure: Acknowledge failure
Bit 11: Overrun/Underrun.
Allowed values:
0: NoOverrun: No overrun/underrun occured
1: Overrun: Overrun/underrun occured
Bit 12: PEC Error in reception.
Allowed values:
0: NoError: no PEC error: receiver returns ACK after PEC reception (if ACK=1)
1: Error: PEC error: receiver returns NACK after PEC reception (whatever ACK)
Bit 14: Timeout or Tlow error.
Allowed values:
0: NoTimeout: No Timeout error
1: Timeout: SCL remained LOW for 25 ms
Bit 15: SMBus alert.
Allowed values:
0: NoAlert: No SMBALERT occured
1: Alert: SMBALERT occurred
Status register 2
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
8/8 fields covered.
Toggle fields MSLBit 0: Master/slave.
BUSYBit 1: Bus busy.
TRABit 2: Transmitter/receiver.
GENCALLBit 4: General call address (Slave mode).
SMBDEFAULTBit 5: SMBus device default address (Slave mode).
SMBHOSTBit 6: SMBus host header (Slave mode).
DUALFBit 7: Dual flag (Slave mode).
PECBits 8-15: acket error checking register.
CCRClock control register
Offset: 0x1c, size: 16, 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 F_SBits 0-11: Clock control register in Fast/Standard mode (Master mode).
Allowed values: 0x1-0xfff
DUTYBit 14: Fast mode duty cycle.
Allowed values:
0: Duty2_1: Duty cycle t_low/t_high = 2/1
1: Duty16_9: Duty cycle t_low/t_high = 16/9
Bit 15: I2C master mode selection.
Allowed values:
0: Standard: Standard mode I2C
1: Fast: Fast mode I2C
TRISE register
Offset: 0x20, size: 16, reset: 0x00000002, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TRISEBits 0-5: Maximum rise time in Fast/Standard mode (Master mode).
Allowed values: 0x0-0x3f
I2C20x40005800: Inter integrated circuit
51/51 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: SMBus mode.
Allowed values:
0: I2C: I2C Mode
1: SMBus: SMBus
Bit 3: SMBus type.
Allowed values:
0: Device: SMBus Device
1: Host: SMBus Host
Bit 4: ARP enable.
Allowed values:
0: Disabled: ARP disabled
1: Enabled: ARP enabled
Bit 5: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Bit 6: General call enable.
Allowed values:
0: Disabled: General call disabled
1: Enabled: General call enabled
Bit 7: Clock stretching disable (Slave mode).
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 8: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: In master mode: repeated start generation, in slave mode: start generation when bus is free
Bit 9: Stop generation.
Allowed values:
0: NoStop: No Stop generation
1: Stop: In master mode: stop generation after current byte/start, in slave mode: release SCL and SDA after current byte
Bit 10: Acknowledge enable.
Allowed values:
0: NAK: No acknowledge returned
1: ACK: Acknowledge returned after a byte is received
Bit 11: Acknowledge/PEC Position (for data reception).
Allowed values:
0: Current: ACK bit controls the (N)ACK of the current byte being received
1: Next: ACK bit controls the (N)ACK of the next byte to be received
Bit 12: Packet error checking.
Allowed values:
0: Disabled: No PEC transfer
1: Enabled: PEC transfer
Bit 13: SMBus alert.
Allowed values:
0: Release: SMBA pin released high
1: Drive: SMBA pin driven low
Bit 15: Software reset.
Allowed values:
0: NotReset: I2C peripheral not under reset
1: Reset: I2C peripheral under reset
Control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields FREQBits 0-5: Peripheral clock frequency.
Allowed values: 0x2-0x32
ITERRENBit 8: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 9: Event interrupt enable.
Allowed values:
0: Disabled: Event interrupt disabled
1: Enabled: Event interrupt enabled
Bit 10: Buffer interrupt enable.
Allowed values:
0: Disabled: TxE=1 or RxNE=1 does not generate any interrupt
1: Enabled: TxE=1 or RxNE=1 generates Event interrupt
Bit 11: DMA requests enable.
Allowed values:
0: Disabled: DMA requests disabled
1: Enabled: DMA request enabled when TxE=1 or RxNE=1
Bit 12: DMA last transfer.
Allowed values:
0: NotLast: Next DMA EOT is not the last transfer
1: Last: Next DMA EOT is the last transfer
Own address register 1
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ADDMODEBits 0-9: Interface address.
Allowed values: 0x0-0x3ff
ADDMODEBit 15: Addressing mode (slave mode).
Allowed values:
0: ADD7: 7-bit slave address
1: ADD10: 10-bit slave address
Own address register 2
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ADD2Bit 0: Dual addressing mode enable.
Allowed values:
0: Single: Single addressing mode
1: Dual: Dual addressing mode
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
DRData 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 DRBits 0-7: 8-bit data register.
Allowed values: 0x0-0xff
SR1Status register 1
Offset: 0x14, size: 16, reset: 0x00000000, access: Unspecified
14/14 fields covered.
Toggle fields SBBit 0: Start bit (Master mode).
Allowed values:
0: NoStart: No Start condition
1: Start: Start condition generated
Bit 1: Address sent (master mode)/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 2: Byte transfer finished.
Allowed values:
0: NotFinished: Data byte transfer not done
1: Finished: Data byte transfer successful
Bit 3: 10-bit header sent (Master mode).
STOPFBit 4: Stop detection (slave mode).
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Data register not empty (receivers).
Allowed values:
0: Empty: Data register empty
1: NotEmpty: Data register not empty
Bit 7: Data register empty (transmitters).
Allowed values:
0: NotEmpty: Data register not empty
1: Empty: Data register empty
Bit 8: Bus error.
Allowed values:
0: NoError: No misplaced Start or Stop condition
1: Error: Misplaced Start or Stop condition
Bit 9: Arbitration lost (master mode).
Allowed values:
0: NoLost: No Arbitration Lost detected
1: Lost: Arbitration Lost detected
Bit 10: Acknowledge failure.
Allowed values:
0: NoFailure: No acknowledge failure
1: Failure: Acknowledge failure
Bit 11: Overrun/Underrun.
Allowed values:
0: NoOverrun: No overrun/underrun occured
1: Overrun: Overrun/underrun occured
Bit 12: PEC Error in reception.
Allowed values:
0: NoError: no PEC error: receiver returns ACK after PEC reception (if ACK=1)
1: Error: PEC error: receiver returns NACK after PEC reception (whatever ACK)
Bit 14: Timeout or Tlow error.
Allowed values:
0: NoTimeout: No Timeout error
1: Timeout: SCL remained LOW for 25 ms
Bit 15: SMBus alert.
Allowed values:
0: NoAlert: No SMBALERT occured
1: Alert: SMBALERT occurred
Status register 2
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
8/8 fields covered.
Toggle fields MSLBit 0: Master/slave.
BUSYBit 1: Bus busy.
TRABit 2: Transmitter/receiver.
GENCALLBit 4: General call address (Slave mode).
SMBDEFAULTBit 5: SMBus device default address (Slave mode).
SMBHOSTBit 6: SMBus host header (Slave mode).
DUALFBit 7: Dual flag (Slave mode).
PECBits 8-15: acket error checking register.
CCRClock control register
Offset: 0x1c, size: 16, 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 F_SBits 0-11: Clock control register in Fast/Standard mode (Master mode).
Allowed values: 0x1-0xfff
DUTYBit 14: Fast mode duty cycle.
Allowed values:
0: Duty2_1: Duty cycle t_low/t_high = 2/1
1: Duty16_9: Duty cycle t_low/t_high = 16/9
Bit 15: I2C master mode selection.
Allowed values:
0: Standard: Standard mode I2C
1: Fast: Fast mode I2C
TRISE register
Offset: 0x20, size: 16, reset: 0x00000002, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TRISEBits 0-5: Maximum rise time in Fast/Standard mode (Master mode).
Allowed values: 0x0-0x3f
IWDG0x40003000: Independent watchdog
5/5 fields covered.
Toggle register map Offset Name31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) KR KEY 0x4 (16-bit) PR PR 0x8 (16-bit) RLR RL 0xc (16-bit) SR RVU PVU Toggle registers KRKey register (IWDG_KR)
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.
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 (IWDG_PR)
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 (IWDG_RLR)
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 (IWDG_SR)
Offset: 0xc, size: 16, reset: 0x00000000, access: read-only
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RVUBit 0: Watchdog prescaler value update.
RVUBit 1: Watchdog counter reload value update.
MPU0xe000ed90: Memory protection unit
6/19 fields covered.
Toggle register map Toggle registers TYPERMPU type register
Offset: 0x0, size: 32, reset: 0x00000800, access: read-only
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IREGIONBit 0: Separate flag.
DREGIONBits 8-15: Number of MPU data regions.
IREGIONBits 16-23: Number of MPU instruction regions.
CTRLMPU control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
Toggle fields ENABLEBit 0: Enables the MPU.
HFNMIENABit 1: Enables the operation of MPU during hard fault.
PRIVDEFENABit 2: Enable priviliged software access to default memory map.
RNRMPU region number register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 REGIONBits 0-7: MPU region.
RBARMPU region base address register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADDRBits 0-3: MPU region field.
VALIDBit 4: MPU region number valid.
ADDRBits 5-31: Region base address field.
RASRMPU region attribute and size register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 XNBit 0: Region enable bit..
SIZEBits 1-5: Size of the MPU protection region.
SRDBits 8-15: Subregion disable bits.
BBit 16: memory attribute.
CBit 17: memory attribute.
SBit 18: Shareable memory attribute.
TEXBits 19-21: memory attribute.
APBits 24-26: Access permission.
XNBit 28: Instruction access disable bit.
NVIC0xe000e100: Nested Vectored Interrupt Controller
2/70 fields covered.
Toggle register map Toggle registers ISER0Interrupt Set-Enable Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SETENABits 0-31: SETENA.
ISER1Interrupt Set-Enable Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SETENABits 0-31: SETENA.
ICER0Interrupt Clear-Enable Register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CLRENABits 0-31: CLRENA.
ICER1Interrupt Clear-Enable Register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CLRENABits 0-31: CLRENA.
ISPR0Interrupt Set-Pending Register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SETPENDBits 0-31: SETPEND.
ISPR1Interrupt Set-Pending Register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SETPENDBits 0-31: SETPEND.
ICPR0Interrupt Clear-Pending Register
Offset: 0x180, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CLRPENDBits 0-31: CLRPEND.
ICPR1Interrupt Clear-Pending Register
Offset: 0x184, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CLRPENDBits 0-31: CLRPEND.
IABR0Interrupt Active Bit Register
Offset: 0x200, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ACTIVEBits 0-31: ACTIVE.
IABR1Interrupt Active Bit Register
Offset: 0x204, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ACTIVEBits 0-31: ACTIVE.
IPR0Interrupt Priority Register
Offset: 0x300, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR1Interrupt Priority Register
Offset: 0x304, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR2Interrupt Priority Register
Offset: 0x308, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR3Interrupt Priority Register
Offset: 0x30c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR4Interrupt Priority Register
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR5Interrupt Priority Register
Offset: 0x314, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR6Interrupt Priority Register
Offset: 0x318, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR7Interrupt Priority Register
Offset: 0x31c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR8Interrupt Priority Register
Offset: 0x320, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR9Interrupt Priority Register
Offset: 0x324, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR10Interrupt Priority Register
Offset: 0x328, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR11Interrupt Priority Register
Offset: 0x32c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR12Interrupt Priority Register
Offset: 0x330, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR13Interrupt Priority Register
Offset: 0x334, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
IPR14Interrupt Priority Register
Offset: 0x338, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IPR_N3Bits 0-7: IPR_N0.
IPR_N1Bits 8-15: IPR_N1.
IPR_N2Bits 16-23: IPR_N2.
IPR_N3Bits 24-31: IPR_N3.
NVIC_STIR0xe000ef00: Nested vectored interrupt controller
0/1 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 STIR INTID Toggle registers STIRSoftware trigger interrupt register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 INTIDBits 0-8: Software generated interrupt ID.
OTG_FS_DEVICE0x50000800: USB on the go full speed
37/204 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 [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.
OTG_FS_GLOBAL0x50000000: USB on the go full speed
39/123 fields covered.
Toggle register map Toggle registers GOTGCTLOTG_FS control and status register (OTG_FS_GOTGCTL)
Offset: 0x0, size: 32, reset: 0x00000800, access: Unspecified
6/10 fields covered.
Toggle fields SRQSCSBit 0: Session request success.
SRQBit 1: Session request.
HNGSCSBit 8: Host negotiation success.
HNPRQBit 9: HNP request.
HSHNPENBit 10: Host set HNP enable.
DHNPENBit 11: Device HNP enabled.
CIDSTSBit 16: Connector ID status.
DBCTBit 17: Long/short debounce time.
ASVLDBit 18: A-session valid.
BSVLDBit 19: B-session valid.
GOTGINTOTG_FS interrupt register (OTG_FS_GOTGINT)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/6 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.
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/8 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.
CTXPKTBit 31: Corrupt Tx packet.
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/25 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).
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/25 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.
EPMISMBit 17: Endpoint mismatch 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).
PRTIMBit 24: Host port interrupt mask.
HCIMBit 25: Host channels interrupt mask.
PTXFEMBit 26: Periodic TxFIFO empty 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 status debug read (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 status read and pop (device 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 status read and pop (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_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 non-periodic transmit FIFO size register (Device 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_FS non-periodic 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: Non-periodic transmit RAM start address.
NPTXFDBits 16-31: Non-periodic TxFIFO depth.
GNPTXSTSOTG_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.
GCCFGOTG_FS general core configuration register (OTG_FS_GCCFG)
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields PWRDWNBit 16: Power down.
VBUSASENBit 18: Enable the VBUS sensing device.
VBUSBSENBit 19: Enable the VBUS sensing device.
SOFOUTENBit 20: SOF output 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.
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.
OTG_FS_HOST0x50000400: USB on the go full speed
9/279 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.
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
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
4/11 fields covered.
Toggle register map Toggle registers CRPower control register (PWR_CR)
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
1/7 fields covered.
Toggle fields LPDSBit 0: Low Power Deep Sleep.
PDDSBit 1: Power Down Deep Sleep.
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 2: Clear Wake-up Flag.
CSBFBit 3: Clear STANDBY Flag.
PVDEBit 4: Power Voltage Detector Enable.
PLSBits 5-7: PVD Level Selection.
DBPBit 8: Disable Backup Domain write protection.
CSRPower control register (PWR_CR)
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
3/4 fields covered.
Toggle fields WUFBit 0: Wake-Up Flag.
SBFBit 1: STANDBY Flag.
PVDOBit 2: PVD Output.
EWUPBit 8: Enable WKUP pin.
RCC0x40021000: Reset and clock control
128/128 fields covered.
Toggle register map Toggle registers CRClock control register
Offset: 0x0, size: 32, reset: 0x00000083, access: Unspecified
10/10 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: External High Speed clock enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 17: External High Speed clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 18: External High Speed 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: PLL enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 25: PLL clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Clock configuration register (RCC_CFGR)
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
10/10 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 8-10: 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 11-13: 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 14-15: ADC prescaler.
Allowed values:
0: Div2: PCLK2 divided by 2
1: Div4: PCLK2 divided by 4
2: Div6: PCLK2 divided by 8
3: Div8: PCLK2 divided by 16
Bit 16: PLL entry clock source.
Allowed values:
0: HSI_Div2: HSI divided by 2 selected as PLL input clock
1: HSE_Div_PREDIV: HSE divided by PREDIV selected as PLL input clock
Bit 17: HSE divider for PLL entry.
Allowed values:
0: Div1: HSE clock not divided
1: Div2: HSE clock divided by 2
Bits 18-21: PLL Multiplication Factor.
Allowed values:
0: Mul2: PLL input clock x2
1: Mul3: PLL input clock x3
2: Mul4: PLL input clock x4
3: Mul5: PLL input clock x5
4: Mul6: PLL input clock x6
5: Mul7: PLL input clock x7
6: Mul8: PLL input clock x8
7: Mul9: PLL input clock x9
8: Mul10: PLL input clock x10
9: Mul11: PLL input clock x11
10: Mul12: PLL input clock x12
11: Mul13: PLL input clock x13
12: Mul14: PLL input clock x14
13: Mul15: PLL input clock x15
14: Mul16: PLL input clock x16
15: Mul16x: PLL input clock x16
Bits 24-26: Microcontroller clock output.
Allowed values:
0: NoMCO: MCO output disabled, no clock on MCO
4: SYSCLK: System clock selected
5: HSI: HSI oscillator clock selected
6: HSE: HSE oscillator clock selected
7: PLL: PLL clock selected (divided by 1 or 2, depending en PLLNODIV)
Clock interrupt register (RCC_CIR)
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
17/17 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: PLL 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: PLL 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: PLL Ready Interrupt Clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 23: Clock security system interrupt clear.
Allowed values:
1: Clear: Clear CSSF flag
APB2 peripheral reset register (RCC_APB2RSTR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields AFIORSTBit 0: Alternate function I/O reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: IO port A reset.
Allowed values:
1: Reset: Reset the selected module
Bit 3: IO port B reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: IO port C reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: IO port D reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: IO port E reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: IO port F reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: IO port G reset.
Allowed values:
1: Reset: Reset the selected module
Bit 9: ADC 1 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 12: SPI 1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: USART1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 19: TIM9 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: TIM10 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: TIM11 timer reset.
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register (RCC_APB1RSTR)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields TIM2RSTBit 0: Timer 2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: Timer 3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: Timer 4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 3: Timer 5 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: Timer 6 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: Timer 7 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: Timer 12 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: Timer 13 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: Timer 14 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 11: Window watchdog reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: SPI2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI3 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: UART 4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: UART 5 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: I2C1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: I2C2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 27: Backup interface 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 interface reset.
Allowed values:
1: Reset: Reset the selected module
AHB Peripheral Clock enable register (RCC_AHBENR)
Offset: 0x14, size: 32, reset: 0x00000014, access: read-write
6/6 fields covered.
Toggle fields DMA1ENBit 0: DMA1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: DMA2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: SRAM interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: FLITF clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: CRC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: FSMC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB2 peripheral clock enable register (RCC_APB2ENR)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields AFIOENBit 0: Alternate function I/O clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: I/O port A clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: I/O port B clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: I/O port C clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: I/O port D clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: I/O port E clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: I/O port F clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: I/O port G clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 9: ADC 1 interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: SPI 1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: USART1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: TIM9 Timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: TIM10 Timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: TIM11 Timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1 peripheral clock enable register (RCC_APB1ENR)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields TIM2ENBit 0: Timer 2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: Timer 3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: Timer 4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: Timer 5 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: Timer 6 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: Timer 7 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: Timer 12 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: Timer 13 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: Timer 14 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: SPI 2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI 3 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: USART 3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: UART 4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: UART 5 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: I2C 1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: I2C 2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 27: Backup interface 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
Backup domain control register (RCC_BDCR)
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
6/6 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 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
Control/status register (RCC_CSR)
Offset: 0x24, size: 32, reset: 0x0C000000, access: Unspecified
9/9 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 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
0x40002800: Real time clock
17/17 fields covered.
Toggle register map Toggle registers CRHRTC Control Register High
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields SECIEBit 0: Second interrupt Enable.
Allowed values:
0: Disabled: Second interrupt is masked
1: Enabled: Second interrupt is enabled
Bit 1: Alarm interrupt Enable.
Allowed values:
0: Disabled: Alarm interrupt is masked
1: Enabled: Alarm interrupt is enabled
Bit 2: Overflow interrupt Enable.
Allowed values:
0: Disabled: Overflow interrupt is masked
1: Enabled: Overflow interrupt is enabled
RTC Control Register Low
Offset: 0x4, size: 32, reset: 0x00000020, access: Unspecified
6/6 fields covered.
Toggle fields SECFBit 0: Second Flag.
Allowed values:
0: NoPrescalerOverflow: Second flag condition not met
1: PrescalerOverflow: Second flag condition met
Bit 1: Alarm Flag.
Allowed values:
0: NoAlarm: Alarm not detected
1: Alarm: Alarm detected
Bit 2: Overflow Flag.
Allowed values:
0: NoOverflow: Overflow not detected
1: Overflow: 32-bit programmable counter overflow occurred
Bit 3: Registers Synchronized Flag.
Allowed values:
0: NotSynchronized: Registers not yet synchronized
1: Synchronized: Registers synchronized
Bit 4: Configuration Flag.
Allowed values:
0: Exit: Exit configuration mode (start update of RTC registers)
1: Enter: Enter configuration mode
Bit 5: RTC operation OFF.
Allowed values:
0: Enabled: Last write operation on RTC registers is still ongoing
1: Disabled: Last write operation on RTC registers terminated
RTC Prescaler Load Register High
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PRLHBits 0-3: RTC Prescaler Load Register High.
Allowed values: 0x0-0xf
PRLLRTC Prescaler Load Register Low
Offset: 0xc, size: 32, reset: 0x00008000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PRLLBits 0-15: RTC Prescaler Divider Register Low.
Allowed values: 0x0-0xffff
DIVHRTC Prescaler Divider Register High
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 DIVHBits 0-3: RTC prescaler divider register high.
Allowed values: 0x0-0xf
DIVLRTC Prescaler Divider Register Low
Offset: 0x14, size: 32, reset: 0x00008000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DIVLBits 0-15: RTC prescaler divider register Low.
Allowed values: 0x0-0xffff
CNTHRTC Counter Register High
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 CNTHBits 0-15: RTC counter register high.
Allowed values: 0x0-0xffff
CNTLRTC Counter Register Low
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 CNTLBits 0-15: RTC counter register Low.
Allowed values: 0x0-0xffff
ALRHRTC Alarm Register High
Offset: 0x20, size: 32, reset: 0x0000FFFF, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ALRHBits 0-15: RTC alarm register high.
Allowed values: 0x0-0xffff
ALRLRTC Alarm Register Low
Offset: 0x24, size: 32, reset: 0x0000FFFF, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ALRLBits 0-15: RTC alarm register low.
Allowed values: 0x0-0xffff
SCB0xe000ed00: System control block
5/74 fields covered.
Toggle register map Toggle registers CPUIDCPUID base register
Offset: 0x0, size: 32, reset: 0x410FC241, access: read-only
5/5 fields covered.
Toggle fields RevisionBits 0-3: Revision number.
PartNoBits 4-15: Part number of the processor.
ConstantBits 16-19: Reads as 0xF.
VariantBits 20-23: Variant number.
ImplementerBits 24-31: Implementer code.
ICSRInterrupt control and state register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields VECTACTIVEBits 0-8: Active vector.
RETTOBASEBit 11: Return to base level.
VECTPENDINGBits 12-18: Pending vector.
ISRPENDINGBit 22: Interrupt pending flag.
PENDSTCLRBit 25: SysTick exception clear-pending bit.
PENDSTSETBit 26: SysTick exception set-pending bit.
PENDSVCLRBit 27: PendSV clear-pending bit.
PENDSVSETBit 28: PendSV set-pending bit.
NMIPENDSETBit 31: NMI set-pending bit..
VTORVector table offset register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TBLOFFBits 9-29: Vector table base offset field.
AIRCRApplication interrupt and reset control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields VECTRESETBit 0: VECTRESET.
VECTCLRACTIVEBit 1: VECTCLRACTIVE.
SYSRESETREQBit 2: SYSRESETREQ.
PRIGROUPBits 8-10: PRIGROUP.
ENDIANESSBit 15: ENDIANESS.
VECTKEYSTATBits 16-31: Register key.
SCRSystem control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields SLEEPONEXITBit 1: SLEEPONEXIT.
SLEEPDEEPBit 2: SLEEPDEEP.
SEVEONPENDBit 4: Send Event on Pending bit.
CCRConfiguration and control register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields NONBASETHRDENABit 0: Configures how the processor enters Thread mode.
USERSETMPENDBit 1: USERSETMPEND.
UNALIGN__TRPBit 3: UNALIGN_ TRP.
DIV_0_TRPBit 4: DIV_0_TRP.
BFHFNMIGNBit 8: BFHFNMIGN.
STKALIGNBit 9: STKALIGN.
SHPR1System handler priority registers
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRI_6Bits 0-7: Priority of system handler 4.
PRI_5Bits 8-15: Priority of system handler 5.
PRI_6Bits 16-23: Priority of system handler 6.
SHPR2System handler priority registers
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRI_11Bits 24-31: Priority of system handler 11.
SHPR3System handler priority registers
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRI_15Bits 16-23: Priority of system handler 14.
PRI_15Bits 24-31: Priority of system handler 15.
SHCRSSystem handler control and state register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields MEMFAULTACTBit 0: Memory management fault exception active bit.
BUSFAULTACTBit 1: Bus fault exception active bit.
USGFAULTACTBit 3: Usage fault exception active bit.
SVCALLACTBit 7: SVC call active bit.
MONITORACTBit 8: Debug monitor active bit.
PENDSVACTBit 10: PendSV exception active bit.
SYSTICKACTBit 11: SysTick exception active bit.
USGFAULTPENDEDBit 12: Usage fault exception pending bit.
MEMFAULTPENDEDBit 13: Memory management fault exception pending bit.
BUSFAULTPENDEDBit 14: Bus fault exception pending bit.
SVCALLPENDEDBit 15: SVC call pending bit.
MEMFAULTENABit 16: Memory management fault enable bit.
BUSFAULTENABit 17: Bus fault enable bit.
USGFAULTENABit 18: Usage fault enable bit.
CFSR_UFSR_BFSR_MMFSRConfigurable fault status register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
Toggle fields IACCVIOLBit 0: IACCVIOL.
DACCVIOLBit 1: DACCVIOL.
MUNSTKERRBit 3: MUNSTKERR.
MSTKERRBit 4: MSTKERR.
MLSPERRBit 5: MLSPERR.
MMARVALIDBit 7: MMARVALID.
IBUSERRBit 8: Instruction bus error.
PRECISERRBit 9: Precise data bus error.
IMPRECISERRBit 10: Imprecise data bus error.
UNSTKERRBit 11: Bus fault on unstacking for a return from exception.
STKERRBit 12: Bus fault on stacking for exception entry.
LSPERRBit 13: Bus fault on floating-point lazy state preservation.
BFARVALIDBit 15: Bus Fault Address Register (BFAR) valid flag.
UNDEFINSTRBit 16: Undefined instruction usage fault.
INVSTATEBit 17: Invalid state usage fault.
INVPCBit 18: Invalid PC load usage fault.
NOCPBit 19: No coprocessor usage fault..
UNALIGNEDBit 24: Unaligned access usage fault.
DIVBYZEROBit 25: Divide by zero usage fault.
HFSRHard fault status register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DEBUG_VTBit 1: Vector table hard fault.
FORCEDBit 30: Forced hard fault.
DEBUG_VTBit 31: Reserved for Debug use.
MMFARMemory management fault address register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MMFARBits 0-31: Memory management fault address.
BFARBus fault address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BFARBits 0-31: Bus fault address.
SCB_ACTRL0xe000e008: System control block ACTLR
0/4 fields covered.
Toggle register map Toggle registers ACTRLAuxiliary control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DISFOLDBit 2: DISFOLD.
FPEXCODISBit 10: FPEXCODIS.
DISRAMODEBit 11: DISRAMODE.
DISITMATBFLUSHBit 12: DISITMATBFLUSH.
SDIO0x40018000: Secure digital input/output interface
98/98 fields covered.
Toggle register map Toggle registers POWERBits 1:0 = PWRCTRL: Power supply control bits
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 (SDIO_CLKCR)
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
Bits 31:0 = : Command argument
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
CMDSDIO command register (SDIO_CMD)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields CMDINDEXBits 0-5: CMDINDEX.
Allowed values: 0x0-0x3f
WAITRESPBits 6-7: WAITRESP.
Allowed values:
0: NoResponse: No response
1: ShortResponse: Short response
2: NoResponse2: No reponse
3: LongResponse: Long reponse
Bit 8: WAITINT.
Allowed values:
0: Disabled: Don't wait for interrupt request
1: Enabled: Wait for interrupt request
Bit 9: WAITPEND.
Allowed values:
0: Disabled: Don't wait for data end
1: Enabled: Wait for end of data transfer signal before sending command
Bit 10: CPSMEN.
Allowed values:
0: Disabled: Command path state machine disabled
1: Enabled: Command path state machine enabled
Bit 11: SDIOSuspend.
Allowed values:
0: Disabled: Next command is not a SDIO suspend command
1: Enabled: Next command send is a SDIO suspend command
Bit 12: ENCMDcompl.
Allowed values:
0: Disabled: Command complete signal disabled
1: Enabled: Command complete signal enabled
Bit 13: nIEN.
Allowed values:
0: Disabled: Interrupts to the CE-ATA not disabled
1: Enabled: Interrupt to the CE-ATA are disabled
Bit 14: CE_ATACMD.
Allowed values:
0: Disabled: CE-ATA command disabled
1: Enabled: CE-ATA command enabled
SDIO command 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: RESPCMD.
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
DTIMERBits 31:0 = DATATIME: Data timeout period
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
DLENBits 24:0 = DATALENGTH: Data length value
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
DCTRLSDIO data control register (SDIO_DCTRL)
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields DTENBit 0: DTEN.
Allowed values:
0: Disabled: Disabled
1: Enabled: Start transfer
Bit 1: DTDIR.
Allowed values:
0: ControllerToCard: From controller to card
1: CardToController: From card to controller
Bit 2: DTMODE.
Allowed values:
0: BlockMode: Bloack data transfer
1: StreamMode: Stream or SDIO multibyte data transfer
Bit 3: DMAEN.
Allowed values:
0: Disabled: Dma disabled
1: Enabled: Dma enabled
Bits 4-7: DBLOCKSIZE.
Allowed values: 0x0-0xf
RWSTARTBit 8: PWSTART.
Allowed values:
0: Disabled: Don't start read wait operation
1: Enabled: Read wait operation starts
Bit 9: PWSTOP.
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: RWMOD.
Allowed values:
0: D2: Read wait control stopping using SDIO_D2
1: Ck: Read wait control using SDIO_CK
Bit 11: SDIOEN.
Allowed values:
0: Disabled: SDIO operations disabled
1: Enabled: SDIO operations enabled
Bits 24:0 = DATACOUNT: Data count value
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
STASDIO status register (SDIO_STA)
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
24/24 fields covered.
Toggle fields CCRCFAILBit 0: CCRCFAIL.
Allowed values:
0: NotFailed: Command response received, crc check passed
1: Failed: Command response received, crc check failed
Bit 1: DCRCFAIL.
Allowed values:
0: NotFailed: No Data block sent/received crc check fail
1: Failed: Data block sent/received crc failed
Bit 2: CTIMEOUT.
Allowed values:
0: NoTimeout: No Command timeout
1: Timeout: Command timeout
Bit 3: DTIMEOUT.
Allowed values:
0: NoTimeout: No data timeout
1: Timeout: Data timeout
Bit 4: TXUNDERR.
Allowed values:
0: NoUnderrun: No transmit FIFO underrun error
1: Underrun: Transmit FIFO underrun error
Bit 5: RXOVERR.
Allowed values:
0: NoOverrun: No FIFO overrun error
1: Overrun: Receive FIFO overrun error
Bit 6: CMDREND.
Allowed values:
0: NotDone: Command not done
1: Done: Command response received (CRC check passed)
Bit 7: CMDSENT.
Allowed values:
0: NotSent: Command not sent
1: Sent: Command sent (no response required)
Bit 8: DATAEND.
Allowed values:
0: NotDone: Not done
1: Done: Data end (DCOUNT, is zero)
Bit 9: STBITERR.
Allowed values:
0: Detected: No start bit detected error
1: NotDetected: Start bit not detected error
Bit 10: DBCKEND.
Allowed values:
0: NotTransferred: Data block not sent/received (CRC check failed)
1: Transferred: Data block sent/received (CRC check passed)
Bit 11: CMDACT.
Allowed values:
0: NotInProgress: Command transfer not in progress
1: InProgress: Command tranfer in progress
Bit 12: TXACT.
Allowed values:
0: NotInProgress: Data transmit is not in progress
1: InProgress: Data transmit in progress
Bit 13: RXACT.
Allowed values:
0: NotInProgress: Data receive not in progress
1: InProgress: Data receive in progress
Bit 14: TXFIFOHE.
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: RXFIFOHF.
Allowed values:
0: NotHalfFull: Receive FIFO not half full
1: HalfFull: Receive FIFO half full. At least 8 words in the FIFO
Bit 16: TXFIFOF.
Allowed values:
0: NotFull: Transmit FIFO not full
1: Full: Transmit FIFO full
Bit 17: RXFIFOF.
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: TXFIFOE.
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: RXFIFOE.
Allowed values:
0: NotEmpty: Receive FIFO not empty
1: Empty: Receive FIFO empty
Bit 20: TXDAVL.
Allowed values:
0: NotAvailable: Data not available in transmit FIFO
1: Available: Data available in transmit FIFO
Bit 21: RXDAVL.
Allowed values:
0: NotAvailable: Data not available in receive FIFO
1: Available: Data available in receive FIFO
Bit 22: SDIOIT.
Allowed values:
0: NotReceived: SDIO interrupt not receieved
1: Received: SDIO interrupt received
Bit 23: CEATAEND.
Allowed values:
0: NotReceived: Completion signal not received
1: Received: CE-ATA command completion signal received for CMD61
SDIO interrupt clear register (SDIO_ICR)
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields CCRCFAILCBit 0: CCRCFAILC.
Allowed values:
1: Clear: Clear flag
Bit 1: DCRCFAILC.
Allowed values:
1: Clear: Clear flag
Bit 2: CTIMEOUTC.
Allowed values:
1: Clear: Clear flag
Bit 3: DTIMEOUTC.
Allowed values:
1: Clear: Clear flag
Bit 4: TXUNDERRC.
Allowed values:
1: Clear: Clear flag
Bit 5: RXOVERRC.
Allowed values:
1: Clear: Clear flag
Bit 6: CMDRENDC.
Allowed values:
1: Clear: Clear flag
Bit 7: CMDSENTC.
Allowed values:
1: Clear: Clear flag
Bit 8: DATAENDC.
Allowed values:
1: Clear: Clear flag
Bit 9: STBITERRC.
Allowed values:
1: Clear: Clear flag
Bit 10: DBCKENDC.
Allowed values:
1: Clear: Clear flag
Bit 22: SDIOITC.
Allowed values:
1: Clear: Clear flag
Bit 23: CEATAENDC.
Allowed values:
1: Clear: Clear flag
SDIO mask register (SDIO_MASK)
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields CCRCFAILIEBit 0: CCRCFAILIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: DCRCFAILIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: CTIMEOUTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: DTIMEOUTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 4: TXUNDERRIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 5: RXOVERRIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 6: CMDRENDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 7: CMDSENTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 8: DATAENDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 9: STBITERRIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 10: DBACKENDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 11: CMDACTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 12: TXACTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 13: RXACTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: TXFIFOHEIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 15: RXFIFOHFIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 16: TXFIFOFIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 17: RXFIFOFIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 18: TXFIFOEIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 19: RXFIFOEIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 20: TXDAVLIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 21: RXDAVLIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 22: SDIOITIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 23: CEATENDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bits 23:0 = FIFOCOUNT: Remaining number of words to be written to or read from the FIFO
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: FIF0COUNT.
Allowed values: 0x0-0xffffff
FIFObits 31:0 = FIFOData: Receive and transmit FIFO data
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: FIFOData.
Allowed values: 0x0-0xffffffff
SPI10x40013000: Serial peripheral interface
44/44 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: Data frame format.
Allowed values:
0: EightBit: 8-bit data frame format is selected for transmission/reception
1: SixteenBit: 16-bit data frame format is selected for transmission/reception
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: 0x00000000, access: read-write
6/6 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 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
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/8 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
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
8/8 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
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
44/44 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: Data frame format.
Allowed values:
0: EightBit: 8-bit data frame format is selected for transmission/reception
1: SixteenBit: 16-bit data frame format is selected for transmission/reception
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: 0x00000000, access: read-write
6/6 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 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
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/8 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
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
8/8 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
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
44/44 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: Data frame format.
Allowed values:
0: EightBit: 8-bit data frame format is selected for transmission/reception
1: SixteenBit: 16-bit data frame format is selected for transmission/reception
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: 0x00000000, access: read-write
6/6 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 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
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/8 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
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
8/8 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
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
0xe000e010: SysTick timer
0/7 fields covered.
Toggle register map Toggle registers CTRLSysTick control and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields ENABLEBit 0: Counter enable.
TICKINTBit 1: SysTick exception request enable.
CLKSOURCEBit 2: Clock source selection.
COUNTFLAGBit 16: COUNTFLAG.
LOAD_SysTick reload value register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RELOADBits 0-23: RELOAD value.
VALSysTick current value register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CURRENTBits 0-23: Current counter value.
CALIBSysTick calibration value register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TENMSBits 0-23: Calibration value.
TIM10x40012c00: Advanced timer
126/127 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/12 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
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields SMSBits 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
DMA/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
12/12 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 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
8/8 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
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 (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
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 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
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 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
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 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
10/10 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
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 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
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 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
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
14/14 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
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: counter value.
Allowed values: 0x0-0xffff
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-7: Repetition counter value.
Allowed values: 0x0-0xff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
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
8/8 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
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.
TIM100x40015000: General purpose timer
26/28 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/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
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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
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 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/4 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
capture/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
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
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
TIM110x40015400: General purpose timer
26/28 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/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
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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
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 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/4 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
capture/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
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
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
TIM120x40001800: General purpose timer
45/49 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/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
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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
2/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MSMBits 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.
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.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
DMA/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
8/8 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
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
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
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
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
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 timer
26/28 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/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
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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
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 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/4 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
capture/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
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
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
TIM140x40002000: General purpose timer
26/28 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/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
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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
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 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/4 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
capture/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
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
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
TIM20x40000000: General purpose timer
95/96 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 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/7 fields covered.
Toggle fields SMSBits 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
DMA/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
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
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 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
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 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
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
10/10 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
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 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
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 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
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 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 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 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 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
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: counter value.
Allowed values: 0x0-0xffff
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.
TIM30x40000400: General purpose timer
95/96 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 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/7 fields covered.
Toggle fields SMSBits 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
DMA/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
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
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 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
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 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
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
10/10 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
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 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
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 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
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 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 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 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 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
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: counter value.
Allowed values: 0x0-0xffff
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 timer
95/96 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 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/7 fields covered.
Toggle fields SMSBits 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
DMA/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
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
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 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
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 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
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
10/10 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
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 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
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 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
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 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 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 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 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
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: counter value.
Allowed values: 0x0-0xffff
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 timer
95/96 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 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/7 fields covered.
Toggle fields SMSBits 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
DMA/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
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
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 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
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 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
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
10/10 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
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 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
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 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
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 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 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 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 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
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: counter value.
Allowed values: 0x0-0xffff
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.
TIM60x40001000: Basic timer
13/13 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/5 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
Allowed values:
0: Reset: Use UG bit from TIMx_EGR register
1: Enable: Use CNT bit from TIMx_CEN register
2: Update: Use the update event
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UDEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: Low counter value.
Allowed values: 0x0-0xffff
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 timer
13/13 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/5 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
Allowed values:
0: Reset: Use UG bit from TIMx_EGR register
1: Enable: Use CNT bit from TIMx_CEN register
2: Update: Use the update event
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UDEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: Low counter value.
Allowed values: 0x0-0xffff
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
TIM80x40013400: Advanced timer
126/127 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/12 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
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields SMSBits 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
DMA/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
12/12 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 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
8/8 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
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 (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
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 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
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 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
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 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
10/10 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
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 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
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 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
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
14/14 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
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-15: counter value.
Allowed values: 0x0-0xffff
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-7: Repetition counter value.
Allowed values: 0x0-0xff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
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
8/8 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
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.
TIM90x40014c00: General purpose timer
45/49 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/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
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
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MMSBits 4-6: Master mode selection.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
2/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MSMBits 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.
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.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
DMA/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
8/8 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
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
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
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
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
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 asynchronous receiver transmitter
38/38 fields covered.
Toggle register map Toggle registers SRUART4_SR
Offset: 0x0, size: 16, reset: 0x000000C0, access: Unspecified
9/9 fields covered.
Toggle fields PEBit 0: Parity error.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: Framing error.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: Noise error flag.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: Overrun error.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE line detected.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: Read data register not empty.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: Transmission complete.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: Transmit data register empty.
Allowed values:
0: TxNotEmpty: Data is not transferred to the shift register
1: TxEmpty: Data is transferred to the shift register
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
UART4_DR
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 DRBits 0-8: Data value.
Allowed values: 0x0-0x1ff
BRRUART4_BRR
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DIV_FractionBits 0-3: fraction of USARTDIV.
Allowed values: 0x0-0xf
DIV_MantissaBits 4-15: mantissa of USARTDIV.
Allowed values: 0x0-0xfff
CR1UART4_CR1
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SBKBit 0: Send break.
Allowed values:
0: NoBreak: No break character is transmitted
1: Break: Break character transmitted
Bit 1: Receiver wakeup.
Allowed values:
0: Active: Receiver in active mode
1: Mute: Receiver in mute mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver disabled
1: Enabled: Receiver enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter disabled
1: Enabled: Transmitter enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: IDLE interrupt disabled
1: Enabled: IDLE interrupt enabled
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: RXNE interrupt disabled
1: Enabled: RXNE interrupt enabled
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 7: TXE interrupt enable.
Allowed values:
0: Disabled: TXE interrupt disabled
1: Enabled: TXE interrupt enabled
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: PE interrupt disabled
1: Enabled: PE interrupt enabled
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: Wakeup method.
Allowed values:
0: IdleLine: USART wakeup on idle line
1: AddressMark: USART wakeup on address mark
Bit 12: Word length.
Allowed values:
0: M8: 8 data bits
1: M9: 9 data bits
Bit 13: USART enable.
Allowed values:
0: Disabled: USART prescaler and outputs disabled
1: Enabled: USART enabled
UART4_CR2
Offset: 0x10, size: 16, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ADDBits 0-3: Address of the USART node.
Allowed values: 0x0-0xf
LBDLBit 5: lin break detection length.
Allowed values:
0: LBDL10: 10-bit break detection
1: LBDL11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: LIN break detection interrupt disabled
1: Enabled: LIN break detection interrupt enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
2: Stop2: 2 stop bits
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
UART4_CR3
Offset: 0x14, size: 16, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 1: IrDA mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: IrDA low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: FullDuplex: Half duplex mode is not selected
1: HalfDuplex: Half duplex mode is selected
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Guard Time and Prescaler Register
Offset: 0x18, 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 PSCBits 0-7: IrDA Low-Power pulse width peripheral clock prescaler.
Allowed values: 0x1-0xff
UART50x40005000: Universal asynchronous receiver transmitter
38/38 fields covered.
Toggle register map Toggle registers SRUART4_SR
Offset: 0x0, size: 16, reset: 0x000000C0, access: Unspecified
9/9 fields covered.
Toggle fields PEBit 0: Parity error.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: Framing error.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: Noise error flag.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: Overrun error.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE line detected.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: Read data register not empty.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: Transmission complete.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: Transmit data register empty.
Allowed values:
0: TxNotEmpty: Data is not transferred to the shift register
1: TxEmpty: Data is transferred to the shift register
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
UART4_DR
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 DRBits 0-8: Data value.
Allowed values: 0x0-0x1ff
BRRUART4_BRR
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DIV_FractionBits 0-3: fraction of USARTDIV.
Allowed values: 0x0-0xf
DIV_MantissaBits 4-15: mantissa of USARTDIV.
Allowed values: 0x0-0xfff
CR1UART4_CR1
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SBKBit 0: Send break.
Allowed values:
0: NoBreak: No break character is transmitted
1: Break: Break character transmitted
Bit 1: Receiver wakeup.
Allowed values:
0: Active: Receiver in active mode
1: Mute: Receiver in mute mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver disabled
1: Enabled: Receiver enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter disabled
1: Enabled: Transmitter enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: IDLE interrupt disabled
1: Enabled: IDLE interrupt enabled
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: RXNE interrupt disabled
1: Enabled: RXNE interrupt enabled
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 7: TXE interrupt enable.
Allowed values:
0: Disabled: TXE interrupt disabled
1: Enabled: TXE interrupt enabled
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: PE interrupt disabled
1: Enabled: PE interrupt enabled
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: Wakeup method.
Allowed values:
0: IdleLine: USART wakeup on idle line
1: AddressMark: USART wakeup on address mark
Bit 12: Word length.
Allowed values:
0: M8: 8 data bits
1: M9: 9 data bits
Bit 13: USART enable.
Allowed values:
0: Disabled: USART prescaler and outputs disabled
1: Enabled: USART enabled
UART4_CR2
Offset: 0x10, size: 16, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ADDBits 0-3: Address of the USART node.
Allowed values: 0x0-0xf
LBDLBit 5: lin break detection length.
Allowed values:
0: LBDL10: 10-bit break detection
1: LBDL11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: LIN break detection interrupt disabled
1: Enabled: LIN break detection interrupt enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
2: Stop2: 2 stop bits
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
UART4_CR3
Offset: 0x14, size: 16, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 1: IrDA mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: IrDA low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: FullDuplex: Half duplex mode is not selected
1: HalfDuplex: Half duplex mode is selected
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Guard Time and Prescaler Register
Offset: 0x18, 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 PSCBits 0-7: IrDA Low-Power pulse width peripheral clock prescaler.
Allowed values: 0x1-0xff
USART10x40013800: Universal synchronous asynchronous receiver transmitter
49/49 fields covered.
Toggle register map Toggle registers SRStatus register
Offset: 0x0, size: 16, reset: 0x000000C0, access: Unspecified
10/10 fields covered.
Toggle fields PEBit 0: Parity error.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: Framing error.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: Noise error flag.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: Overrun error.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE line detected.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: Read data register not empty.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: Transmission complete.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: Transmit data register empty.
Allowed values:
0: TxNotEmpty: Data is not transferred to the shift register
1: TxEmpty: Data is transferred to the shift register
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Data 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 DRBits 0-8: Data value.
Allowed values: 0x0-0x1ff
BRRBaud rate register
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DIV_FractionBits 0-3: fraction of USARTDIV.
Allowed values: 0x0-0xf
DIV_MantissaBits 4-15: mantissa of USARTDIV.
Allowed values: 0x0-0xfff
CR1Control register 1
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SBKBit 0: Send break.
Allowed values:
0: NoBreak: No break character is transmitted
1: Break: Break character transmitted
Bit 1: Receiver wakeup.
Allowed values:
0: Active: Receiver in active mode
1: Mute: Receiver in mute mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver disabled
1: Enabled: Receiver enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter disabled
1: Enabled: Transmitter enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: IDLE interrupt disabled
1: Enabled: IDLE interrupt enabled
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: RXNE interrupt disabled
1: Enabled: RXNE interrupt enabled
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 7: TXE interrupt enable.
Allowed values:
0: Disabled: TXE interrupt disabled
1: Enabled: TXE interrupt enabled
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: PE interrupt disabled
1: Enabled: PE interrupt enabled
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: Wakeup method.
Allowed values:
0: IdleLine: USART wakeup on idle line
1: AddressMark: USART wakeup on address mark
Bit 12: Word length.
Allowed values:
0: M8: 8 data bits
1: M9: 9 data bits
Bit 13: USART enable.
Allowed values:
0: Disabled: USART prescaler and outputs disabled
1: Enabled: USART enabled
Control register 2
Offset: 0x10, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields ADDBits 0-3: Address of the USART node.
Allowed values: 0x0-0xf
LBDLBit 5: lin break detection length.
Allowed values:
0: LBDL10: 10-bit break detection
1: LBDL11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: LIN break detection interrupt disabled
1: Enabled: LIN break detection interrupt enabled
Bit 8: Last bit clock pulse.
Allowed values:
0: Disabled: The clock pulse of the last data bit is not output to the CK pin
1: Enabled: 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 bits
2: Stop2: 2 stop bits
3: Stop1p5: 1.5 stop bits
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Control register 3
Offset: 0x14, size: 16, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 1: IrDA mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: IrDA low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: FullDuplex: Half duplex mode is not selected
1: HalfDuplex: 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 hardware flow control enabled
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS hardware flow control enabled
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: CTS interrupt disabled
1: Enabled: CTS interrupt enabled
Guard time and prescaler register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x1-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
USART20x40004400: Universal synchronous asynchronous receiver transmitter
49/49 fields covered.
Toggle register map Toggle registers SRStatus register
Offset: 0x0, size: 16, reset: 0x000000C0, access: Unspecified
10/10 fields covered.
Toggle fields PEBit 0: Parity error.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: Framing error.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: Noise error flag.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: Overrun error.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE line detected.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: Read data register not empty.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: Transmission complete.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: Transmit data register empty.
Allowed values:
0: TxNotEmpty: Data is not transferred to the shift register
1: TxEmpty: Data is transferred to the shift register
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Data 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 DRBits 0-8: Data value.
Allowed values: 0x0-0x1ff
BRRBaud rate register
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DIV_FractionBits 0-3: fraction of USARTDIV.
Allowed values: 0x0-0xf
DIV_MantissaBits 4-15: mantissa of USARTDIV.
Allowed values: 0x0-0xfff
CR1Control register 1
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SBKBit 0: Send break.
Allowed values:
0: NoBreak: No break character is transmitted
1: Break: Break character transmitted
Bit 1: Receiver wakeup.
Allowed values:
0: Active: Receiver in active mode
1: Mute: Receiver in mute mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver disabled
1: Enabled: Receiver enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter disabled
1: Enabled: Transmitter enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: IDLE interrupt disabled
1: Enabled: IDLE interrupt enabled
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: RXNE interrupt disabled
1: Enabled: RXNE interrupt enabled
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 7: TXE interrupt enable.
Allowed values:
0: Disabled: TXE interrupt disabled
1: Enabled: TXE interrupt enabled
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: PE interrupt disabled
1: Enabled: PE interrupt enabled
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: Wakeup method.
Allowed values:
0: IdleLine: USART wakeup on idle line
1: AddressMark: USART wakeup on address mark
Bit 12: Word length.
Allowed values:
0: M8: 8 data bits
1: M9: 9 data bits
Bit 13: USART enable.
Allowed values:
0: Disabled: USART prescaler and outputs disabled
1: Enabled: USART enabled
Control register 2
Offset: 0x10, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields ADDBits 0-3: Address of the USART node.
Allowed values: 0x0-0xf
LBDLBit 5: lin break detection length.
Allowed values:
0: LBDL10: 10-bit break detection
1: LBDL11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: LIN break detection interrupt disabled
1: Enabled: LIN break detection interrupt enabled
Bit 8: Last bit clock pulse.
Allowed values:
0: Disabled: The clock pulse of the last data bit is not output to the CK pin
1: Enabled: 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 bits
2: Stop2: 2 stop bits
3: Stop1p5: 1.5 stop bits
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Control register 3
Offset: 0x14, size: 16, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 1: IrDA mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: IrDA low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: FullDuplex: Half duplex mode is not selected
1: HalfDuplex: 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 hardware flow control enabled
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS hardware flow control enabled
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: CTS interrupt disabled
1: Enabled: CTS interrupt enabled
Guard time and prescaler register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x1-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
USART30x40004800: Universal synchronous asynchronous receiver transmitter
49/49 fields covered.
Toggle register map Toggle registers SRStatus register
Offset: 0x0, size: 16, reset: 0x000000C0, access: Unspecified
10/10 fields covered.
Toggle fields PEBit 0: Parity error.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: Framing error.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: Noise error flag.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: Overrun error.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE line detected.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: Read data register not empty.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: Transmission complete.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: Transmit data register empty.
Allowed values:
0: TxNotEmpty: Data is not transferred to the shift register
1: TxEmpty: Data is transferred to the shift register
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Data 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 DRBits 0-8: Data value.
Allowed values: 0x0-0x1ff
BRRBaud rate register
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DIV_FractionBits 0-3: fraction of USARTDIV.
Allowed values: 0x0-0xf
DIV_MantissaBits 4-15: mantissa of USARTDIV.
Allowed values: 0x0-0xfff
CR1Control register 1
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SBKBit 0: Send break.
Allowed values:
0: NoBreak: No break character is transmitted
1: Break: Break character transmitted
Bit 1: Receiver wakeup.
Allowed values:
0: Active: Receiver in active mode
1: Mute: Receiver in mute mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver disabled
1: Enabled: Receiver enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter disabled
1: Enabled: Transmitter enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: IDLE interrupt disabled
1: Enabled: IDLE interrupt enabled
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: RXNE interrupt disabled
1: Enabled: RXNE interrupt enabled
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled
Bit 7: TXE interrupt enable.
Allowed values:
0: Disabled: TXE interrupt disabled
1: Enabled: TXE interrupt enabled
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: PE interrupt disabled
1: Enabled: PE interrupt enabled
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: Wakeup method.
Allowed values:
0: IdleLine: USART wakeup on idle line
1: AddressMark: USART wakeup on address mark
Bit 12: Word length.
Allowed values:
0: M8: 8 data bits
1: M9: 9 data bits
Bit 13: USART enable.
Allowed values:
0: Disabled: USART prescaler and outputs disabled
1: Enabled: USART enabled
Control register 2
Offset: 0x10, size: 16, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields ADDBits 0-3: Address of the USART node.
Allowed values: 0x0-0xf
LBDLBit 5: lin break detection length.
Allowed values:
0: LBDL10: 10-bit break detection
1: LBDL11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: LIN break detection interrupt disabled
1: Enabled: LIN break detection interrupt enabled
Bit 8: Last bit clock pulse.
Allowed values:
0: Disabled: The clock pulse of the last data bit is not output to the CK pin
1: Enabled: 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 bits
2: Stop2: 2 stop bits
3: Stop1p5: 1.5 stop bits
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Control register 3
Offset: 0x14, size: 16, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt disabled
1: Enabled: Error interrupt enabled
Bit 1: IrDA mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: IrDA low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: FullDuplex: Half duplex mode is not selected
1: HalfDuplex: 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 hardware flow control enabled
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS hardware flow control enabled
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: CTS interrupt disabled
1: Enabled: CTS interrupt enabled
Guard time and prescaler register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x1-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
USB0x40005c00: Universal serial bus full-speed device interface
63/111 fields covered.
Toggle register map Toggle registers EP[0]Rendpoint 0 register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[1]Rendpoint 1 register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[2]Rendpoint 2 register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[3]Rendpoint 3 register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[4]Rendpoint 4 register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[5]Rendpoint 5 register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[6]Rendpoint 6 register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
EP[7]Rendpoint 7 register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: Endpoint address.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: Status bits, for transmission transfers.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: Data Toggle, for transmission transfers.
CTR_TXBit 7: Correct Transfer for transmission.
EP_KINDBit 8: Endpoint kind.
EP_TYPEBits 9-10: Endpoint type.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: Setup transaction completed.
STAT_RXBits 12-13: Status bits, for reception transfers.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: Data Toggle, for reception transfers.
CTR_RXBit 15: Correct transfer for reception.
CNTRcontrol register
Offset: 0x40, size: 32, reset: 0x00000003, access: read-write
13/13 fields covered.
Toggle fields FRESBit 0: Force USB Reset.
Allowed values:
0: NoReset: Clear USB reset
1: Reset: Force a reset of the USB peripheral, exactly like a RESET signaling on the USB
Bit 1: Power down.
Allowed values:
0: Disabled: No power down
1: Enabled: Enter power down mode
Bit 2: Low-power mode.
Allowed values:
0: Disabled: No low-power mode
1: Enabled: Enter low-power mode
Bit 3: Force suspend.
Allowed values:
0: NoEffect: No effect
1: Suspend: Enter suspend mode. Clocks and static power dissipation in the analog transceiver are left unaffected
Bit 4: Resume request.
Allowed values:
1: Requested: Resume requested
Bit 8: Expected start of frame interrupt mask.
Allowed values:
0: Disabled: ESOF Interrupt disabled
1: Enabled: ESOF Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 9: Start of frame interrupt mask.
Allowed values:
0: Disabled: SOF Interrupt disabled
1: Enabled: SOF Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 10: USB reset interrupt mask.
Allowed values:
0: Disabled: RESET Interrupt disabled
1: Enabled: RESET Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 11: Suspend mode interrupt mask.
Allowed values:
0: Disabled: Suspend Mode Request SUSP Interrupt disabled
1: Enabled: SUSP Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 12: Wakeup interrupt mask.
Allowed values:
0: Disabled: WKUP Interrupt disabled
1: Enabled: WKUP Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 13: Error interrupt mask.
Allowed values:
0: Disabled: ERR Interrupt disabled
1: Enabled: ERR Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 14: Packet memory area over / underrun interrupt mask.
Allowed values:
0: Disabled: PMAOVR Interrupt disabled
1: Enabled: PMAOVR Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 15: Correct transfer interrupt mask.
Allowed values:
0: Disabled: Correct Transfer (CTR) Interrupt disabled
1: Enabled: CTR Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
interrupt status register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields EP_IDBits 0-3: Endpoint Identifier.
Allowed values: 0x0-0xf
DIRBit 4: Direction of transaction.
Allowed values:
0: To: Data transmitted by the USB peripheral to the host PC
1: From: Data received by the USB peripheral from the host PC
Bit 8: Expected start frame.
Allowed values:
0: NotExpectedStartOfFrame: NotExpectedStartOfFrame
1: ExpectedStartOfFrame: An SOF packet is expected but not received
Bit 9: start of frame.
Allowed values:
0: NotStartOfFrame: NotStartOfFrame
1: StartOfFrame: Beginning of a new USB frame and it is set when a SOF packet arrives through the USB bus
Bit 10: reset request.
Allowed values:
0: NotReset: NotReset
1: Reset: Peripheral detects an active USB RESET signal at its inputs
Bit 11: Suspend mode request.
Allowed values:
0: NotSuspend: NotSuspend
1: Suspend: No traffic has been received for 3 ms, indicating a suspend mode request from the USB bus
Bit 12: Wakeup.
Allowed values:
0: NotWakeup: NotWakeup
1: Wakeup: Activity is detected that wakes up the USB peripheral
Bit 13: Error.
Allowed values:
0: NotOverrun: Errors are not occurred
1: Error: One of No ANSwer, Cyclic Redundancy Check, Bit Stuffing or Framing format Violation error occurred
Bit 14: Packet memory area over / underrun.
Allowed values:
0: NotOverrun: Overrun is not occurred
1: Overrun: Microcontroller has not been able to respond in time to an USB memory request
Bit 15: Correct transfer.
Allowed values:
1: Completed: Endpoint has successfully completed a transaction
frame number register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields FNBits 0-10: Frame number.
Allowed values: 0x0-0x7ff
LSOFBits 11-12: Lost SOF.
Allowed values: 0x0-0x3
LCKBit 13: Locked.
Allowed values:
1: Locked: the frame timer remains in this state until an USB reset or USB suspend event occurs
Bit 14: Receive data - line status.
Allowed values:
1: Received: received data minus upstream port data line
Bit 15: Receive data + line status.
Allowed values:
1: Received: received data plus upstream port data line
device address
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EFBits 0-6: Device address.
Allowed values: 0x0-0x7f
EFBit 7: Enable function.
Allowed values:
0: Disabled: USB device disabled
1: Enabled: USB device enabled
Buffer table address
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BTABLEBits 3-15: Buffer table.
Allowed values: 0x0-0x1fff
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 (WWDG_CR)
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 (WWDG_CFR)
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 (WWDG_SR)
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.
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