Overall: 3867/4417 fields covered
ADC0x40012400: Analog-to-digital converter
59/59 fields covered.
Toggle register map Toggle registers ISRinterrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields ADRDYBit 0: ADC ready.
Allowed values:
0: NotReady: ADC not yet ready to start conversion
1: Ready: ADC ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotAtEnd: Not at the end of the samplings phase
1: AtEnd: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Channel conversion is not complete
1: Complete: Channel conversion complete
Bit 3: End of sequence flag.
Allowed values:
0: NotComplete: Conversion sequence is not complete
1: Complete: Conversion sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Analog watchdog flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields ADRDYIEBit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable.
Allowed values:
0: Disabled: End of sampling interrupt disabled
1: Enabled: End of sampling interrupt enabled
Bit 2: End of conversion interrupt enable.
Allowed values:
0: Disabled: End of conversion interrupt disabled
1: Enabled: End of conversion interrupt enabled
Bit 3: End of conversion sequence interrupt enable.
Allowed values:
0: Disabled: End of conversion sequence interrupt disabled
1: Enabled: End of conversion sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 7: Analog watchdog interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADCALBit 0: ADC enable command.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start conversion command.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 31: ADC calibration.
Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress
configuration register 1
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields DMAENBit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA mode disabled
1: Enabled: DMA mode enabled
Bit 1: Direct memery access configuration.
Allowed values:
0: OneShot: DMA one shot mode
1: Circular: DMA circular mode
Bit 2: Scan sequence direction.
Allowed values:
0: Upward: Upward scan (from CHSEL0 to CHSEL18)
1: Backward: Backward scan (from CHSEL18 to CHSEL0)
Bits 3-4: Data resolution.
Allowed values:
0: TwelveBit: 12-bit (14 ADCCLK cycles)
1: TenBit: 10-bit (13 ADCCLK cycles)
2: EightBit: 8-bit (11 ADCCLK cycles)
3: SixBit: 6-bit (9 ADCCLK cycles)
Bit 5: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bits 6-8: External trigger selection.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO Event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM3_TRGO: Timer 3 TRGO event
4: TIM15_TRGO: Timer 15 TRGO event
Bits 10-11: External trigger enable and polarity selection.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun management mode.
Allowed values:
0: Preserved: ADC_DR register is preserved with the old data when an overrun is detected
1: Overwritten: ADC_DR register is overwritten with the last conversion result when an overrun is detected
Bit 13: Single / continuous conversion mode.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Wait conversion mode.
Allowed values:
0: Disabled: Wait conversion mode off
1: Enabled: Wait conversion mode on
Bit 15: Auto-off mode.
Allowed values:
0: Disabled: Auto-off mode disabled
1: Enabled: Auto-off mode enabled
Bit 16: Discontinuous mode.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bit 22: Enable the watchdog on a single channel or on all channels.
Allowed values:
0: AllChannels: Analog watchdog enabled on all channels
1: SingleChannel: Analog watchdog enabled on a single channel
Bit 23: Analog watchdog enable.
Allowed values:
0: Disabled: Analog watchdog disabled on regular channels
1: Enabled: Analog watchdog enabled on regular channels
Bits 26-30: Analog watchdog channel selection.
Allowed values: 0x0-0x12
CFGR2configuration register 2
Offset: 0x10, size: 32, reset: 0x00008000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CKMODEBits 30-31: ADC clock mode.
Allowed values:
0: ADCCLK: Asynchronous clock mode
1: PCLK_Div2: Synchronous clock mode (PCLK/2)
2: PCLK_Div4: Sychronous clock mode (PCLK/4)
sampling time 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 SMPBits 0-2: Sampling time selection.
Allowed values:
0: Cycles1_5: 1.5 cycles
1: Cycles7_5: 7.5 cycles
2: Cycles13_5: 13.5 cycles
3: Cycles28_5: 28.5 cycles
4: Cycles41_5: 41.5 cycles
5: Cycles55_5: 55.5 cycles
6: Cycles71_5: 71.5 cycles
7: Cycles239_5: 239.5 cycles
watchdog threshold register
Offset: 0x20, size: 32, reset: 0x00000FFF, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HTBits 0-11: Analog watchdog lower threshold.
Allowed values: 0x0-0xfff
HTBits 16-27: Analog watchdog higher threshold.
Allowed values: 0x0-0xfff
CHSELRchannel selection register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields CHSEL[0]Bit 0: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 1: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 2: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 3: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 4: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 5: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 6: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 7: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 8: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 9: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 10: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 11: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 12: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 13: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 14: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 15: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 16: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 17: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
Bit 18: Channel-x selection.
Allowed values:
0: NotSelected: Input Channel is not selected for conversion
1: Selected: Input Channel is selected for conversion
data register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DATABits 0-15: Converted data.
CCRcommon configuration register
Offset: 0x308, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 VBATENBit 22: Temperature sensor and VREFINT enable.
Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled
Bit 23: Temperature sensor enable.
Allowed values:
0: Disabled: Temperature sensor disabled
1: Enabled: Temperature sensor enabled
Bit 24: VBAT enable.
Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled
0x40006400: Controller area network
82/323 fields covered.
Toggle register map Toggle registers MCRCAN_MCR
Offset: 0x0, size: 32, reset: 0x00010002, access: read-write
0/10 fields covered.
Toggle fields INRQBit 0: INRQ.
SLEEPBit 1: SLEEP.
TXFPBit 2: TXFP.
RFLMBit 3: RFLM.
NARTBit 4: NART.
AWUMBit 5: AWUM.
ABOMBit 6: ABOM.
TTCMBit 7: TTCM.
RESETBit 15: RESET.
DBFBit 16: DBF.
MSRCAN_MSR
Offset: 0x4, size: 32, reset: 0x00000C02, access: Unspecified
6/9 fields covered.
Toggle fields INAKBit 0: INAK.
SLAKBit 1: SLAK.
ERRIBit 2: ERRI.
WKUIBit 3: WKUI.
SLAKIBit 4: SLAKI.
TXMBit 8: TXM.
RXMBit 9: RXM.
SAMPBit 10: SAMP.
RXBit 11: RX.
TSRCAN_TSR
Offset: 0x8, size: 32, reset: 0x1C000000, access: Unspecified
7/22 fields covered.
Toggle fields RQCP[0]Bit 0: RQCP0.
TXOK[0]Bit 1: TXOK0.
ALST[0]Bit 2: ALST0.
TERR[0]Bit 3: TERR0.
ABRQ[0]Bit 7: ABRQ0.
RQCP[1]Bit 8: RQCP1.
TXOK[1]Bit 9: TXOK1.
ALST[1]Bit 10: ALST1.
TERR[1]Bit 11: TERR1.
ABRQ[1]Bit 15: ABRQ1.
RQCP[2]Bit 16: RQCP2.
TXOK[2]Bit 17: TXOK2.
ALST[2]Bit 18: ALST2.
TERR[2]Bit 19: TERR2.
ABRQ[2]Bit 23: ABRQ2.
CODEBits 24-25: CODE.
TME[0]Bit 26: Lowest priority flag for mailbox 0.
TME[1]Bit 27: Lowest priority flag for mailbox 1.
TME[2]Bit 28: Lowest priority flag for mailbox 2.
LOW[0]Bit 29: Lowest priority flag for mailbox 0.
LOW[1]Bit 30: Lowest priority flag for mailbox 1.
LOW[2]Bit 31: Lowest priority flag for mailbox 2.
RF[0]RCAN_RF0R
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields FMPBits 0-1: FMP0.
FULLBit 3: FULL0.
Allowed values:
0: NotFull: FIFO x is not full
1: Full: FIFO x is full
Bit 4: FOVR0.
Allowed values:
0: NoOverrun: No FIFO x overrun
1: Overrun: FIFO x overrun
Bit 5: RFOM0.
Allowed values:
1: Release: Set by software to release the output mailbox of the FIFO
CAN_RF1R
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields FMPBits 0-1: FMP0.
FULLBit 3: FULL0.
Allowed values:
0: NotFull: FIFO x is not full
1: Full: FIFO x is full
Bit 4: FOVR0.
Allowed values:
0: NoOverrun: No FIFO x overrun
1: Overrun: FIFO x overrun
Bit 5: RFOM0.
Allowed values:
1: Release: Set by software to release the output mailbox of the FIFO
CAN_IER
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields TMEIEBit 0: TMEIE.
Allowed values:
0: Disabled: No interrupt when RQCPx bit is set
1: Enabled: Interrupt generated when RQCPx bit is set
Bit 1: FMPIE0.
Allowed values:
0: Disabled: No interrupt generated when state of FMP[1:0] bits are not 00
1: Enabled: Interrupt generated when state of FMP[1:0] bits are not 00b
Bit 2: FFIE0.
Allowed values:
0: Disabled: No interrupt when FULL bit is set
1: Enabled: Interrupt generated when FULL bit is set
Bit 3: FOVIE0.
Allowed values:
0: Disabled: No interrupt when FOVR bit is set
1: Enabled: Interrupt generated when FOVR bit is set
Bit 4: FMPIE1.
Allowed values:
0: Disabled: No interrupt generated when state of FMP[1:0] bits are not 00b
1: Enabled: Interrupt generated when state of FMP[1:0] bits are not 00b
Bit 5: FFIE1.
Allowed values:
0: Disabled: No interrupt when FULL bit is set
1: Enabled: Interrupt generated when FULL bit is set
Bit 6: FOVIE1.
Allowed values:
0: Disabled: No interrupt when FOVR is set
1: Enabled: Interrupt generation when FOVR is set
Bit 8: EWGIE.
Allowed values:
0: Disabled: ERRI bit will not be set when EWGF is set
1: Enabled: ERRI bit will be set when EWGF is set
Bit 9: EPVIE.
Allowed values:
0: Disabled: ERRI bit will not be set when EPVF is set
1: Enabled: ERRI bit will be set when EPVF is set
Bit 10: BOFIE.
Allowed values:
0: Disabled: ERRI bit will not be set when BOFF is set
1: Enabled: ERRI bit will be set when BOFF is set
Bit 11: LECIE.
Allowed values:
0: Disabled: ERRI bit will not be set when the error code in LEC[2:0] is set by hardware on error detection
1: Enabled: ERRI bit will be set when the error code in LEC[2:0] is set by hardware on error detection
Bit 15: ERRIE.
Allowed values:
0: Disabled: No interrupt will be generated when an error condition is pending in the CAN_ESR
1: Enabled: An interrupt will be generation when an error condition is pending in the CAN_ESR
Bit 16: WKUIE.
Allowed values:
0: Disabled: No interrupt when WKUI is set
1: Enabled: Interrupt generated when WKUI bit is set
Bit 17: SLKIE.
Allowed values:
0: Disabled: No interrupt when SLAKI bit is set
1: Enabled: Interrupt generated when SLAKI bit is set
CAN_ESR
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
6/6 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RECBit 0: EWGF.
EPVFBit 1: EPVF.
BOFFBit 2: BOFF.
LECBits 4-6: LEC.
Allowed values:
0: NoError: No Error
1: Stuff: Stuff Error
2: Form: Form Error
3: Ack: Acknowledgment Error
4: BitRecessive: Bit recessive Error
5: BitDominant: Bit dominant Error
6: Crc: CRC Error
7: Custom: Set by software
Bits 16-23: TEC.
RECBits 24-31: REC.
BTRCAN BTR
Offset: 0x1c, size: 32, reset: 0x01230000, access: read-write
2/6 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SILMBits 0-9: BRP.
TS1Bits 16-19: TS1.
TS2Bits 20-22: TS2.
SJWBits 24-25: SJW.
LBKMBit 30: LBKM.
Allowed values:
0: Disabled: Loop Back Mode disabled
1: Enabled: Loop Back Mode enabled
Bit 31: SILM.
Allowed values:
0: Normal: Normal operation
1: Silent: Silent Mode
CAN_TI0R
Offset: 0x180, size: 32, reset: 0x00000000, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 0: TXRQ.
RTRBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
TDTR [0]CAN_TDT0R
Offset: 0x184, size: 32, reset: 0x00000000, access: read-write
1/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
TGTBit 8: TGT.
TIMEBits 16-31: TIME.
TDLR [0]CAN_TDL0R
Offset: 0x188, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
TDHR [0]CAN_TDH0R
Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
TIR [1]CAN_TI0R
Offset: 0x190, size: 32, reset: 0x00000000, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 0: TXRQ.
RTRBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
TDTR [1]CAN_TDT0R
Offset: 0x194, size: 32, reset: 0x00000000, access: read-write
1/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
TGTBit 8: TGT.
TIMEBits 16-31: TIME.
TDLR [1]CAN_TDL0R
Offset: 0x198, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
TDHR [1]CAN_TDH0R
Offset: 0x19c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
TIR [2]CAN_TI0R
Offset: 0x1a0, size: 32, reset: 0x00000000, access: read-write
2/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 0: TXRQ.
RTRBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
TDTR [2]CAN_TDT0R
Offset: 0x1a4, size: 32, reset: 0x00000000, access: read-write
1/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
TGTBit 8: TGT.
TIMEBits 16-31: TIME.
TDLR [2]CAN_TDL0R
Offset: 0x1a8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
TDHR [2]CAN_TDH0R
Offset: 0x1ac, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
RIR [0]CAN_RI0R
Offset: 0x1b0, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
RDTR [0]CAN_RDT0R
Offset: 0x1b4, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
FMIBits 8-15: FMI.
TIMEBits 16-31: TIME.
RDLR [0]CAN_RDL0R
Offset: 0x1b8, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
RDHR [0]CAN_RDH0R
Offset: 0x1bc, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
RIR [1]CAN_RI0R
Offset: 0x1c0, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STIDBit 1: RTR.
Allowed values:
0: Data: Data frame
1: Remote: Remote frame
Bit 2: IDE.
Allowed values:
0: Standard: Standard identifier
1: Extended: Extended identifier
Bits 3-20: EXID.
STIDBits 21-31: STID.
RDTR [1]CAN_RDT0R
Offset: 0x1c4, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TIMEBits 0-3: DLC.
Allowed values: 0x0-0x8
FMIBits 8-15: FMI.
TIMEBits 16-31: TIME.
RDLR [1]CAN_RDL0R
Offset: 0x1c8, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[0]Bits 0-7: DATA0.
DATA[1]Bits 8-15: DATA1.
DATA[2]Bits 16-23: DATA2.
DATA[3]Bits 24-31: DATA3.
RDHR [1]CAN_RDH0R
Offset: 0x1cc, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields DATA[4]Bits 0-7: DATA4.
DATA[5]Bits 8-15: DATA5.
DATA[6]Bits 16-23: DATA6.
DATA[7]Bits 24-31: DATA7.
FMRCAN_FMR
Offset: 0x200, size: 32, reset: 0x2A1C0E01, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CAN2SBBit 0: FINIT.
CAN2SBBits 8-13: CAN2SB.
FM1RCAN_FM1R
Offset: 0x204, size: 32, reset: 0x00000000, access: read-write
0/28 fields covered.
Toggle fields FBM[0]Bit 0: Filter mode.
FBM[1]Bit 1: Filter mode.
FBM[2]Bit 2: Filter mode.
FBM[3]Bit 3: Filter mode.
FBM[4]Bit 4: Filter mode.
FBM[5]Bit 5: Filter mode.
FBM[6]Bit 6: Filter mode.
FBM[7]Bit 7: Filter mode.
FBM[8]Bit 8: Filter mode.
FBM[9]Bit 9: Filter mode.
FBM[10]Bit 10: Filter mode.
FBM[11]Bit 11: Filter mode.
FBM[12]Bit 12: Filter mode.
FBM[13]Bit 13: Filter mode.
FBM[14]Bit 14: Filter mode.
FBM[15]Bit 15: Filter mode.
FBM[16]Bit 16: Filter mode.
FBM[17]Bit 17: Filter mode.
FBM[18]Bit 18: Filter mode.
FBM[19]Bit 19: Filter mode.
FBM[20]Bit 20: Filter mode.
FBM[21]Bit 21: Filter mode.
FBM[22]Bit 22: Filter mode.
FBM[23]Bit 23: Filter mode.
FBM[24]Bit 24: Filter mode.
FBM[25]Bit 25: Filter mode.
FBM[26]Bit 26: Filter mode.
FBM[27]Bit 27: Filter mode.
FS1RCAN_FS1R
Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write
0/28 fields covered.
Toggle fields FSC[0]Bit 0: Filter scale configuration.
FSC[1]Bit 1: Filter scale configuration.
FSC[2]Bit 2: Filter scale configuration.
FSC[3]Bit 3: Filter scale configuration.
FSC[4]Bit 4: Filter scale configuration.
FSC[5]Bit 5: Filter scale configuration.
FSC[6]Bit 6: Filter scale configuration.
FSC[7]Bit 7: Filter scale configuration.
FSC[8]Bit 8: Filter scale configuration.
FSC[9]Bit 9: Filter scale configuration.
FSC[10]Bit 10: Filter scale configuration.
FSC[11]Bit 11: Filter scale configuration.
FSC[12]Bit 12: Filter scale configuration.
FSC[13]Bit 13: Filter scale configuration.
FSC[14]Bit 14: Filter scale configuration.
FSC[15]Bit 15: Filter scale configuration.
FSC[16]Bit 16: Filter scale configuration.
FSC[17]Bit 17: Filter scale configuration.
FSC[18]Bit 18: Filter scale configuration.
FSC[19]Bit 19: Filter scale configuration.
FSC[20]Bit 20: Filter scale configuration.
FSC[21]Bit 21: Filter scale configuration.
FSC[22]Bit 22: Filter scale configuration.
FSC[23]Bit 23: Filter scale configuration.
FSC[24]Bit 24: Filter scale configuration.
FSC[25]Bit 25: Filter scale configuration.
FSC[26]Bit 26: Filter scale configuration.
FSC[27]Bit 27: Filter scale configuration.
FFA1RCAN_FFA1R
Offset: 0x214, size: 32, reset: 0x00000000, access: read-write
0/28 fields covered.
Toggle fields FFA[0]Bit 0: Filter FIFO assignment for filter 0.
FFA[1]Bit 1: Filter FIFO assignment for filter 1.
FFA[2]Bit 2: Filter FIFO assignment for filter 2.
FFA[3]Bit 3: Filter FIFO assignment for filter 3.
FFA[4]Bit 4: Filter FIFO assignment for filter 4.
FFA[5]Bit 5: Filter FIFO assignment for filter 5.
FFA[6]Bit 6: Filter FIFO assignment for filter 6.
FFA[7]Bit 7: Filter FIFO assignment for filter 7.
FFA[8]Bit 8: Filter FIFO assignment for filter 8.
FFA[9]Bit 9: Filter FIFO assignment for filter 9.
FFA[10]Bit 10: Filter FIFO assignment for filter 10.
FFA[11]Bit 11: Filter FIFO assignment for filter 11.
FFA[12]Bit 12: Filter FIFO assignment for filter 12.
FFA[13]Bit 13: Filter FIFO assignment for filter 13.
FFA[14]Bit 14: Filter FIFO assignment for filter 14.
FFA[15]Bit 15: Filter FIFO assignment for filter 15.
FFA[16]Bit 16: Filter FIFO assignment for filter 16.
FFA[17]Bit 17: Filter FIFO assignment for filter 17.
FFA[18]Bit 18: Filter FIFO assignment for filter 18.
FFA[19]Bit 19: Filter FIFO assignment for filter 19.
FFA[20]Bit 20: Filter FIFO assignment for filter 20.
FFA[21]Bit 21: Filter FIFO assignment for filter 21.
FFA[22]Bit 22: Filter FIFO assignment for filter 22.
FFA[23]Bit 23: Filter FIFO assignment for filter 23.
FFA[24]Bit 24: Filter FIFO assignment for filter 24.
FFA[25]Bit 25: Filter FIFO assignment for filter 25.
FFA[26]Bit 26: Filter FIFO assignment for filter 26.
FFA[27]Bit 27: Filter FIFO assignment for filter 27.
FA1RCAN_FA1R
Offset: 0x21c, size: 32, reset: 0x00000000, access: read-write
0/28 fields covered.
Toggle fields FACT[0]Bit 0: Filter active.
FACT[1]Bit 1: Filter active.
FACT[2]Bit 2: Filter active.
FACT[3]Bit 3: Filter active.
FACT[4]Bit 4: Filter active.
FACT[5]Bit 5: Filter active.
FACT[6]Bit 6: Filter active.
FACT[7]Bit 7: Filter active.
FACT[8]Bit 8: Filter active.
FACT[9]Bit 9: Filter active.
FACT[10]Bit 10: Filter active.
FACT[11]Bit 11: Filter active.
FACT[12]Bit 12: Filter active.
FACT[13]Bit 13: Filter active.
FACT[14]Bit 14: Filter active.
FACT[15]Bit 15: Filter active.
FACT[16]Bit 16: Filter active.
FACT[17]Bit 17: Filter active.
FACT[18]Bit 18: Filter active.
FACT[19]Bit 19: Filter active.
FACT[20]Bit 20: Filter active.
FACT[21]Bit 21: Filter active.
FACT[22]Bit 22: Filter active.
FACT[23]Bit 23: Filter active.
FACT[24]Bit 24: Filter active.
FACT[25]Bit 25: Filter active.
FACT[26]Bit 26: Filter active.
FACT[27]Bit 27: Filter active.
FR1 [0]Filter bank x register 1
Offset: 0x240, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [0]Filter bank x register 2
Offset: 0x244, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [1]Filter bank x register 1
Offset: 0x248, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [1]Filter bank x register 2
Offset: 0x24c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [2]Filter bank x register 1
Offset: 0x250, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [2]Filter bank x register 2
Offset: 0x254, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [3]Filter bank x register 1
Offset: 0x258, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [3]Filter bank x register 2
Offset: 0x25c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [4]Filter bank x register 1
Offset: 0x260, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [4]Filter bank x register 2
Offset: 0x264, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [5]Filter bank x register 1
Offset: 0x268, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [5]Filter bank x register 2
Offset: 0x26c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [6]Filter bank x register 1
Offset: 0x270, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [6]Filter bank x register 2
Offset: 0x274, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [7]Filter bank x register 1
Offset: 0x278, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [7]Filter bank x register 2
Offset: 0x27c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [8]Filter bank x register 1
Offset: 0x280, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [8]Filter bank x register 2
Offset: 0x284, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [9]Filter bank x register 1
Offset: 0x288, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [9]Filter bank x register 2
Offset: 0x28c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [10]Filter bank x register 1
Offset: 0x290, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [10]Filter bank x register 2
Offset: 0x294, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [11]Filter bank x register 1
Offset: 0x298, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [11]Filter bank x register 2
Offset: 0x29c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [12]Filter bank x register 1
Offset: 0x2a0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [12]Filter bank x register 2
Offset: 0x2a4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [13]Filter bank x register 1
Offset: 0x2a8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [13]Filter bank x register 2
Offset: 0x2ac, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [14]Filter bank x register 1
Offset: 0x2b0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [14]Filter bank x register 2
Offset: 0x2b4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [15]Filter bank x register 1
Offset: 0x2b8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [15]Filter bank x register 2
Offset: 0x2bc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [16]Filter bank x register 1
Offset: 0x2c0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [16]Filter bank x register 2
Offset: 0x2c4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [17]Filter bank x register 1
Offset: 0x2c8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [17]Filter bank x register 2
Offset: 0x2cc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [18]Filter bank x register 1
Offset: 0x2d0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [18]Filter bank x register 2
Offset: 0x2d4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [19]Filter bank x register 1
Offset: 0x2d8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [19]Filter bank x register 2
Offset: 0x2dc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [20]Filter bank x register 1
Offset: 0x2e0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [20]Filter bank x register 2
Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [21]Filter bank x register 1
Offset: 0x2e8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [21]Filter bank x register 2
Offset: 0x2ec, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [22]Filter bank x register 1
Offset: 0x2f0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [22]Filter bank x register 2
Offset: 0x2f4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [23]Filter bank x register 1
Offset: 0x2f8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [23]Filter bank x register 2
Offset: 0x2fc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [24]Filter bank x register 1
Offset: 0x300, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [24]Filter bank x register 2
Offset: 0x304, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [25]Filter bank x register 1
Offset: 0x308, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [25]Filter bank x register 2
Offset: 0x30c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [26]Filter bank x register 1
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [26]Filter bank x register 2
Offset: 0x314, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR1 [27]Filter bank x register 1
Offset: 0x318, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
FR2 [27]Filter bank x register 2
Offset: 0x31c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FBBits 0-31: Filter bits.
CEC0x40007800: HDMI-CEC controller
4/40 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields CECENBit 0: CEC Enable.
TXSOMBit 1: Tx start of message.
TXEOMBit 2: Tx End Of Message.
CFGRconfiguration register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
2/9 fields covered.
Toggle fields SFTBits 0-2: Signal Free Time.
Allowed values: 0x0-0x7
RXTOLBit 3: Rx-Tolerance.
BRESTPBit 4: Rx-stop on bit rising error.
BREGENBit 5: Generate error-bit on bit rising error.
LBPEGENBit 6: Generate Error-Bit on Long Bit Period Error.
BRDNOGENBit 7: Avoid Error-Bit Generation in Broadcast.
SFTOPBit 8: SFT Option Bit.
OARBits 16-30: Own Address.
Allowed values: 0x0-0x7fff
LSTNBit 31: Listen mode.
TXDRTx data register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TXDBits 0-7: Tx Data register.
Allowed values: 0x0-0xff
RXDRRx Data Register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXDRBits 0-7: CEC Rx Data Register.
ISRInterrupt and Status Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
Toggle fields RXBRBit 0: Rx-Byte Received.
RXENDBit 1: End Of Reception.
RXOVRBit 2: Rx-Overrun.
BREBit 3: Rx-Bit rising error.
SBPEBit 4: Rx-Short Bit period error.
LBPEBit 5: Rx-Long Bit Period Error.
RXACKEBit 6: Rx-Missing Acknowledge.
ARBLSTBit 7: Arbitration Lost.
TXBRBit 8: Tx-Byte Request.
TXENDBit 9: End of Transmission.
TXUDRBit 10: Tx-Buffer Underrun.
TXERRBit 11: Tx-Error.
TXACKEBit 12: Tx-Missing acknowledge error.
IERinterrupt enable register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
Toggle fields RXBRIEBit 0: Rx-Byte Received Interrupt Enable.
RXENDIEBit 1: End Of Reception Interrupt Enable.
RXOVRIEBit 2: Rx-Buffer Overrun Interrupt Enable.
BREIEBit 3: Bit Rising Error Interrupt Enable.
SBPEIEBit 4: Short Bit Period Error Interrupt Enable.
LBPEIEBit 5: Long Bit Period Error Interrupt Enable.
RXACKIEBit 6: Rx-Missing Acknowledge Error Interrupt Enable.
ARBLSTIEBit 7: Arbitration Lost Interrupt Enable.
TXBRIEBit 8: Tx-Byte Request Interrupt Enable.
TXENDIEBit 9: Tx-End of message interrupt enable.
TXUDRIEBit 10: Tx-Underrun interrupt enable.
TXERRIEBit 11: Tx-Error Interrupt Enable.
TXACKIEBit 12: Tx-Missing Acknowledge Error Interrupt Enable.
COMP0x40010000: General purpose comparators
18/18 fields covered.
Toggle register map Toggle registers CSRcontrol and status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: Unspecified
18/18 fields covered.
Toggle fields COMP1ENBit 0: Comparator 1 enable.
Allowed values:
0: Disabled: Comparator X disabled
1: Enabled: Comparator X enabled
Bit 1: Comparator 1 non inverting input DAC switch.
Allowed values:
0: Open: Switch open
1: Closed: Switch closed
Bits 2-3: Comparator 1 mode.
Allowed values:
0: HighSpeed: High speed / full power
1: MediumSpeed: Medium speed / medium power
2: LowSpeed: Low speed / low power
3: VeryLowSpeed: Very-low speed / ultra-low power
Bits 4-6: Comparator 1 inverting input selection.
Allowed values:
0: OneQuarterVRef: 1/4 of VRefint
1: OneHalfVRef: 1/2 of VRefint
2: ThreeQuarterVRef: 3/4 of VRefint
3: VRef: VRefint
4: Comp1_INM4: COMP1_INM4 (PA4 with DAC_OUT1 if enabled)
5: Comp1_INM5: COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)
6: Comp1_INM6: COMP1_INM6 (PA0)
Bits 8-10: Comparator 1 output selection.
Allowed values:
0: NoSelection: No selection
1: Timer1BreakInput: Timer 1 break input
2: Timer1InputCapture1: Timer 1 Input capture 1
3: Timer1OCRefClearInput: Timer 1 OCrefclear input
4: Timer2InputCapture4: Timer 2 input capture 4
5: Timer2OCRefClearInput: Timer 2 OCrefclear input
6: Timer3InputCapture1: Timer 3 input capture 1
7: Timer3OCRefClearInput: Timer 3 OCrefclear input
Bit 11: Comparator 1 output polarity.
Allowed values:
0: NotInverted: Output is not inverted
1: Inverted: Output is inverted
Bits 12-13: Comparator 1 hysteresis.
Allowed values:
0: NoHysteresis: No hysteresis
1: LowHysteresis: Low hysteresis
2: MediumHysteresis: Medium hysteresis
3: HighHysteresis: High hysteresis
Bit 14: Comparator 1 output.
Allowed values:
0: Low: Non-inverting input below inverting input
1: High: Non-inverting input above inverting input
Bit 15: Comparator 1 lock.
Allowed values:
0: Unlocked: Comparator X CSR bits are read-write
1: Locked: Comparator X CSR bits are read-only
Bit 16: Comparator 2 enable.
Allowed values:
0: Disabled: Comparator X disabled
1: Enabled: Comparator X enabled
Bits 18-19: Comparator 2 mode.
Allowed values:
0: HighSpeed: High speed / full power
1: MediumSpeed: Medium speed / medium power
2: LowSpeed: Low speed / low power
3: VeryLowSpeed: Very-low speed / ultra-low power
Bits 20-22: Comparator 2 inverting input selection.
Allowed values:
0: OneQuarterVRef: 1/4 of VRefint
1: OneHalfVRef: 1/2 of VRefint
2: ThreeQuarterVRef: 3/4 of VRefint
3: VRef: VRefint
4: Comp2_INM4: COMP1_INM4 (PA4 with DAC_OUT1 if enabled)
5: Comp2_INM5: COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)
6: Comp2_INM6: COMP1_INM6 (PA2)
Bit 23: Window mode enable.
Allowed values:
0: Disabled: Window mode disabled
1: Enabled: Window mode enabled
Bits 24-26: Comparator 2 output selection.
Allowed values:
0: NoSelection: No selection
1: Timer1BreakInput: Timer 1 break input
2: Timer1InputCapture1: Timer 1 Input capture 1
3: Timer1OCRefClearInput: Timer 1 OCrefclear input
4: Timer2InputCapture4: Timer 2 input capture 4
5: Timer2OCRefClearInput: Timer 2 OCrefclear input
6: Timer3InputCapture1: Timer 3 input capture 1
7: Timer3OCRefClearInput: Timer 3 OCrefclear input
Bit 27: Comparator 2 output polarity.
Allowed values:
0: NotInverted: Output is not inverted
1: Inverted: Output is inverted
Bits 28-29: Comparator 2 hysteresis.
Allowed values:
0: NoHysteresis: No hysteresis
1: LowHysteresis: Low hysteresis
2: MediumHysteresis: Medium hysteresis
3: HighHysteresis: High hysteresis
Bit 30: Comparator 2 output.
Allowed values:
0: Low: Non-inverting input below inverting input
1: High: Non-inverting input above inverting input
Bit 31: Comparator 2 lock.
Allowed values:
0: Unlocked: Comparator X CSR bits are read-write
1: Locked: Comparator X CSR bits are read-only
0x40023000: cyclic redundancy check calculation unit
10/10 fields covered.
Toggle register map Toggle registers DRData register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DRBits 0-31: Data register bits.
Allowed values: 0x0-0xffffffff
DR16Data register - half-word sized
Offset: 0x0, size: 16, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR16Bits 0-15: Data register bits.
Allowed values: 0x0-0xffff
DR8Data register - byte sized
Offset: 0x0, size: 8, reset: 0x000000FF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR8Bits 0-7: Data register bits.
Allowed values: 0x0-0xff
IDRIndependent data register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 IDRBits 0-7: General-purpose 8-bit data register bits.
Allowed values: 0x0-0xff
CRControl register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields RESETBit 0: reset bit.
Allowed values:
1: Reset: Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF
Bits 3-4: Polynomial size.
Allowed values:
0: Polysize32: 32-bit polynomial
1: Polysize16: 16-bit polynomial
2: Polysize8: 8-bit polynomial
3: Polysize7: 7-bit polynomial
Bits 5-6: Reverse input data.
Allowed values:
0: Normal: Bit order not affected
1: Byte: Bit reversal done by byte
2: HalfWord: Bit reversal done by half-word
3: Word: Bit reversal done by word
Bit 7: Reverse output data.
Allowed values:
0: Normal: Bit order not affected
1: Reversed: Bit reversed output
Initial CRC value
Offset: 0x10, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INITBits 0-31: Programmable initial CRC value.
Allowed values: 0x0-0xffffffff
POLCRC polynomial
Offset: 0x14, size: 32, reset: 0x04C11DB7, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 POLBits 0-31: Programmable polynomial.
Allowed values: 0x0-0xffffffff
CRS0x40006c00: Clock recovery system
26/26 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00002000, access: read-write
8/8 fields covered.
Toggle fields SYNCOKIEBit 0: SYNC event OK interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: SYNC warning interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: Synchronization or trimming error interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: Expected SYNC interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 5: Frequency error counter enable.
Allowed values:
0: Disabled: Frequency error counter disabled
1: Enabled: Frequency error counter enabled
Bit 6: Automatic trimming enable.
Allowed values:
0: Disabled: Automatic trimming disabled
1: Enabled: Automatic trimming enabled
Bit 7: Generate software SYNC event.
Allowed values:
1: Sync: A software sync is generated
Bits 8-13: HSI48 oscillator smooth trimming.
Allowed values: 0x0-0x3f
CFGRconfiguration register
Offset: 0x4, size: 32, reset: 0x2022BB7F, access: read-write
5/5 fields covered.
Toggle fields RELOADBits 0-15: Counter reload value.
Allowed values: 0x0-0xffff
FELIMBits 16-23: Frequency error limit.
Allowed values: 0x0-0xff
SYNCDIVBits 24-26: SYNC divider.
Allowed values:
0: Div1: SYNC not divided
1: Div2: SYNC divided by 2
2: Div4: SYNC divided by 4
3: Div8: SYNC divided by 8
4: Div16: SYNC divided by 16
5: Div32: SYNC divided by 32
6: Div64: SYNC divided by 64
7: Div128: SYNC divided by 128
Bits 28-29: SYNC signal source selection.
Allowed values:
0: GPIO_AF: GPIO AF (crs_sync_in_1) selected as SYNC signal source
1: LSE: LSE (crs_sync_in_2) selected as SYNC signal source
2: USB_SOF: USB SOF (crs_sync_in_3) selected as SYNC signal source
Bit 31: SYNC polarity selection.
Allowed values:
0: RisingEdge: SYNC active on rising edge
1: FallingEdge: SYNC active on falling edge
interrupt and status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
9/9 fields covered.
Toggle fields SYNCOKFBit 0: SYNC event OK flag.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 1: SYNC warning flag.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 2: Error flag.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 3: Expected SYNC flag.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 8: SYNC error.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 9: SYNC missed.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 10: Trimming overflow or underflow.
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
Bit 15: Frequency error direction.
Allowed values:
0: UpCounting: Error in up-counting direction
1: DownCounting: Error in down-counting direction
Bits 16-31: Frequency error capture.
Allowed values: 0x0-0xffff
ICRinterrupt flag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields SYNCOKCBit 0: SYNC event OK clear flag.
Allowed values:
1: Clear: Clear flag
Bit 1: SYNC warning clear flag.
Allowed values:
1: Clear: Clear flag
Bit 2: Error clear flag.
Allowed values:
1: Clear: Clear flag
Bit 3: Expected SYNC clear flag.
Allowed values:
1: Clear: Clear flag
0x40007400: Digital-to-analog converter
34/34 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields EN[1]Bit 0: DAC channel1 enable.
Allowed values:
0: Disabled: DAC channel X disabled
1: Enabled: DAC channel X enabled
Bit 1: DAC channel1 output buffer disable.
Allowed values:
0: Enabled: DAC channel X output buffer enabled
1: Disabled: DAC channel X output buffer disabled
Bit 2: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC channel X trigger disabled
1: Enabled: DAC channel X trigger enabled
Bits 3-5: DAC channel1 trigger selection.
Allowed values:
0: Tim6Trgo: Timer 6 TRGO event
1: Tim3Trgo: Timer 3 TRGO event
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
6: Exti9: EXTI line 9
7: Swtrig: Software trigger
Bits 6-7: DAC channel1 noise/triangle wave generation enable.
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2 (+): Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11 (+): Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable.
Allowed values:
0: Disabled: DAC channel X DMA mode disabled
1: Enabled: DAC channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 16: DAC channel2 enable.
Allowed values:
0: Disabled: DAC channel X disabled
1: Enabled: DAC channel X enabled
Bit 17: DAC channel2 output buffer disable.
Allowed values:
0: Enabled: DAC channel X output buffer enabled
1: Disabled: DAC channel X output buffer disabled
Bit 18: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC channel X trigger disabled
1: Enabled: DAC channel X trigger enabled
Bits 19-21: DAC channel2 trigger selection.
Allowed values:
0: Tim6Trgo: Timer 6 TRGO event
1: Tim3Trgo: Timer 3 TRGO event
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
6: Exti9: EXTI line 9
7: Swtrig: Software trigger
Bits 22-23: DAC channel2 noise/triangle wave generation enable.
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2 (+): Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11 (+): Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable.
Allowed values:
0: Disabled: DAC channel X DMA mode disabled
1: Enabled: DAC channel X DMA mode enabled
Bit 29: DAC channel2 DMA Underrun Interrupt enable.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
Toggle fields SWTRIG[1]Bit 0: DAC channel1 software trigger.
Allowed values:
0: Disabled: DAC channel X software trigger disabled
1: Enabled: DAC channel X software trigger enabled
Bit 1: DAC channel2 software trigger.
Allowed values:
0: Disabled: DAC channel X software trigger disabled
1: Enabled: DAC channel X software trigger enabled
channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12L[1]channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8R[1]channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12R[2]channel2 12-bit right-aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12L[2]channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8R[2]channel2 8-bit right aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12RDDHR12RD
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC[2]DHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 16-27: DAC channel2 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12LDDual DAC 12-bit left-aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC[2]DHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 20-31: DAC channel2 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8RDDual DAC 8-bit right-aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACC[1]DHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DACC[2]DHRBits 8-15: DAC channel2 8-bit right-aligned data.
Allowed values: 0x0-0xff
DOR[1]channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDORBits 0-11: DAC channel1 data output.
DOR[2]channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DACCDORBits 0-11: DAC channel1 data output.
SRstatus register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DMAUDR[2]Bit 13: DAC channel1 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 29: DAC channel2 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
0x40015800: Debug support
3/19 fields covered.
Toggle register map Toggle registers IDCODEMCU Device ID Code Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 REV_IDBits 0-11: Device Identifier.
DIV_IDBits 12-15: Division Identifier.
REV_IDBits 16-31: Revision Identifier.
CRDebug MCU Configuration Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields DBG_STOPBit 1: Debug Stop Mode.
DBG_STANDBYBit 2: Debug Standby Mode.
APB1_FZDebug MCU APB1 freeze register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields DBG_TIM2_STOPBit 0: TIM2 counter stopped when core is halted.
DBG_TIM3_STOPBit 1: TIM3 counter stopped when core is halted.
TIM3_counter_stopped_when_core_is_haltedBit 4: TIM6 counter stopped when core is halted.
DBG_TIM7_STOPBit 5: TIM7 counter stopped when core is halted.
DBG_TIM14_STOPBit 8: TIM14 counter stopped when core is halted.
DBG_RTC_STOPBit 10: Debug RTC stopped when core is halted.
DBG_WWDG_STOPBit 11: Debug window watchdog stopped when core is halted.
DBG_IWDG_STOPBit 12: Debug independent watchdog stopped when core is halted.
DBG_I2C1_SMBUS_TIMEOUTBit 21: SMBUS timeout mode stopped when core is halted.
DBG_CAN_STOPBit 25: CAN stopped when core is halted.
APB2_FZDebug MCU APB2 freeze register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields DBG_TIM1_STOPBit 11: TIM1 counter stopped when core is halted.
DBG_TIM15_STOPBit 16: TIM15 counter stopped when core is halted.
DBG_TIM16_STOPBit 17: TIM16 counter stopped when core is halted.
DBG_TIM17_STOPBit 18: TIM17 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.
EXTI0x40010400: External interrupt/event controller
132/132 fields covered.
Toggle register map Toggle registers IMRInterrupt mask register (EXTI_IMR)
Offset: 0x0, size: 32, reset: 0x0F940000, access: read-write
28/28 fields covered.
Toggle fields MR0Bit 0: Interrupt Mask on line 0.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Interrupt Mask on line 1.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Interrupt Mask on line 2.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Interrupt Mask on line 3.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Interrupt Mask on line 4.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Interrupt Mask on line 5.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 6: Interrupt Mask on line 6.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 7: Interrupt Mask on line 7.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Interrupt Mask on line 8.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Interrupt Mask on line 9.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Interrupt Mask on line 10.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Interrupt Mask on line 11.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 12: Interrupt Mask on line 12.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 13: Interrupt Mask on line 13.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 14: Interrupt Mask on line 14.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 15: Interrupt Mask on line 15.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 16: Interrupt Mask on line 16.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 17: Interrupt Mask on line 17.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 18: Interrupt Mask on line 18.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 19: Interrupt Mask on line 19.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 20: Interrupt Mask on line 20.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 21: Interrupt Mask on line 21.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 22: Interrupt Mask on line 22.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 23: Interrupt Mask on line 23.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 24: Interrupt Mask on line 24.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 25: Interrupt Mask on line 25.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 26: Interrupt Mask on line 26.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 27: Interrupt Mask on line 27.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Event mask register (EXTI_EMR)
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
28/28 fields covered.
Toggle fields MR0Bit 0: Event Mask on line 0.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 1: Event Mask on line 1.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 2: Event Mask on line 2.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 3: Event Mask on line 3.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 4: Event Mask on line 4.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 5: Event Mask on line 5.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 6: Event Mask on line 6.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 7: Event Mask on line 7.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 8: Event Mask on line 8.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 9: Event Mask on line 9.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 10: Event Mask on line 10.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 11: Event Mask on line 11.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 12: Event Mask on line 12.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 13: Event Mask on line 13.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 14: Event Mask on line 14.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 15: Event Mask on line 15.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 16: Event Mask on line 16.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 17: Event Mask on line 17.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 18: Event Mask on line 18.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 19: Event Mask on line 19.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 20: Event Mask on line 20.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 21: Event Mask on line 21.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 22: Event Mask on line 22.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 23: Event Mask on line 23.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 24: Event Mask on line 24.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 25: Event Mask on line 25.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 26: Event Mask on line 26.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 27: Event Mask on line 27.
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 TR0Bit 0: Rising trigger event configuration of line 0.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 1: Rising trigger event configuration of line 1.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 2: Rising trigger event configuration of line 2.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 3: Rising trigger event configuration of line 3.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 4: Rising trigger event configuration of line 4.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 5: Rising trigger event configuration of line 5.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 6: Rising trigger event configuration of line 6.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 7: Rising trigger event configuration of line 7.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 8: Rising trigger event configuration of line 8.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 9: Rising trigger event configuration of line 9.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 10: Rising trigger event configuration of line 10.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 11: Rising trigger event configuration of line 11.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 12: Rising trigger event configuration of line 12.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 13: Rising trigger event configuration of line 13.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 14: Rising trigger event configuration of line 14.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 15: Rising trigger event configuration of line 15.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 16: Rising trigger event configuration of line 16.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 17: Rising trigger event configuration of line 17.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 19: Rising trigger event configuration of line 19.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Falling Trigger selection register (EXTI_FTSR)
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields TR0Bit 0: Falling trigger event configuration of line 0.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 1: Falling trigger event configuration of line 1.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 2: Falling trigger event configuration of line 2.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 3: Falling trigger event configuration of line 3.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 4: Falling trigger event configuration of line 4.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 5: Falling trigger event configuration of line 5.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 6: Falling trigger event configuration of line 6.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 7: Falling trigger event configuration of line 7.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 8: Falling trigger event configuration of line 8.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 9: Falling trigger event configuration of line 9.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 10: Falling trigger event configuration of line 10.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 11: Falling trigger event configuration of line 11.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 12: Falling trigger event configuration of line 12.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 13: Falling trigger event configuration of line 13.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 14: Falling trigger event configuration of line 14.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 15: Falling trigger event configuration of line 15.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 16: Falling trigger event configuration of line 16.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 17: Falling trigger event configuration of line 17.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 19: Falling trigger event configuration of line 19.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Software interrupt event register (EXTI_SWIER)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields SWIER0Bit 0: Software Interrupt on line 0.
Allowed values:
1: Pend: Generates an interrupt request
Bit 1: Software Interrupt on line 1.
Allowed values:
1: Pend: Generates an interrupt request
Bit 2: Software Interrupt on line 2.
Allowed values:
1: Pend: Generates an interrupt request
Bit 3: Software Interrupt on line 3.
Allowed values:
1: Pend: Generates an interrupt request
Bit 4: Software Interrupt on line 4.
Allowed values:
1: Pend: Generates an interrupt request
Bit 5: Software Interrupt on line 5.
Allowed values:
1: Pend: Generates an interrupt request
Bit 6: Software Interrupt on line 6.
Allowed values:
1: Pend: Generates an interrupt request
Bit 7: Software Interrupt on line 7.
Allowed values:
1: Pend: Generates an interrupt request
Bit 8: Software Interrupt on line 8.
Allowed values:
1: Pend: Generates an interrupt request
Bit 9: Software Interrupt on line 9.
Allowed values:
1: Pend: Generates an interrupt request
Bit 10: Software Interrupt on line 10.
Allowed values:
1: Pend: Generates an interrupt request
Bit 11: Software Interrupt on line 11.
Allowed values:
1: Pend: Generates an interrupt request
Bit 12: Software Interrupt on line 12.
Allowed values:
1: Pend: Generates an interrupt request
Bit 13: Software Interrupt on line 13.
Allowed values:
1: Pend: Generates an interrupt request
Bit 14: Software Interrupt on line 14.
Allowed values:
1: Pend: Generates an interrupt request
Bit 15: Software Interrupt on line 15.
Allowed values:
1: Pend: Generates an interrupt request
Bit 16: Software Interrupt on line 16.
Allowed values:
1: Pend: Generates an interrupt request
Bit 17: Software Interrupt on line 17.
Allowed values:
1: Pend: Generates an interrupt request
Bit 19: Software Interrupt on line 19.
Allowed values:
1: Pend: Generates an interrupt request
Pending register (EXTI_PR)
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields PR0Bit 0: Pending bit 0.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 1: Pending bit 1.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 2: Pending bit 2.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 3: Pending bit 3.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 4: Pending bit 4.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 5: Pending bit 5.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 6: Pending bit 6.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 7: Pending bit 7.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 8: Pending bit 8.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 9: Pending bit 9.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 10: Pending bit 10.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 11: Pending bit 11.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 12: Pending bit 12.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 13: Pending bit 13.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 14: Pending bit 14.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 15: Pending bit 15.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 16: Pending bit 16.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 17: Pending bit 17.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 19: Pending bit 19.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
0x40022000: Flash
34/34 fields covered.
Toggle register map Toggle registers ACRFlash access control register
Offset: 0x0, size: 32, reset: 0x00000030, access: Unspecified
3/3 fields covered.
Toggle fields LATENCYBits 0-2: LATENCY.
Allowed values:
0: WS0: 0 wait states
1: WS1: 1 wait state
Bit 4: PRFTBE.
Allowed values:
0: Disabled: Prefetch is disabled
1: Enabled: Prefetch is enabled
Bit 5: PRFTBS.
Allowed values:
0: Disabled: Prefetch buffer is disabled
1: Enabled: Prefetch buffer is enabled
Flash key register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FKEYRBits 0-31: Flash Key.
Allowed values: 0x0-0xffffffff
OPTKEYRFlash option key register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OPTKEYRBits 0-31: Option byte key.
Allowed values: 0x0-0xffffffff
SRFlash status register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields BSYBit 0: Busy.
Allowed values:
0: Inactive: No write/erase operation is in progress
1: Active: A write/erase operation is in progress
Bit 2: Programming error.
Allowed values:
0: NoError: No programming error occurred
1: Error: A programming error occurred
Bit 4: Write protection error.
Allowed values:
0: NoError: No write protection error occurred
1: Error: A write protection error occurred
Bit 5: End of operation.
Allowed values:
0: NoEvent: No EOP operation occurred
1: Event: An EOP event occurred
Flash control register
Offset: 0x10, size: 32, reset: 0x00000080, access: read-write
11/11 fields covered.
Toggle fields PGBit 0: Programming.
Allowed values:
1: Program: Flash programming activated
Bit 1: Page erase.
Allowed values:
1: PageErase: Erase activated for selected page
Bit 2: Mass erase.
Allowed values:
1: MassErase: Erase activated for all user sectors
Bit 4: Option byte programming.
Allowed values:
1: OptionByteProgramming: Program option byte activated
Bit 5: Option byte erase.
Allowed values:
1: OptionByteErase: Erase option byte activated
Bit 6: Start.
Allowed values:
1: Start: Trigger an erase operation
Bit 7: Lock.
Allowed values:
0: Unlocked: FLASH_CR register is unlocked
1: Locked: FLASH_CR register is locked
Bit 9: Option bytes write enable.
Allowed values:
0: Disabled: Option byte write disabled
1: Enabled: Option byte write enabled
Bit 10: Error interrupt enable.
Allowed values:
0: Disabled: Error interrupt generation disabled
1: Enabled: Error interrupt generation enabled
Bit 12: End of operation interrupt enable.
Allowed values:
0: Disabled: End of operation interrupt disabled
1: Enabled: End of operation interrupt enabled
Bit 13: Force option byte loading.
Allowed values:
0: Inactive: Force option byte loading inactive
1: Active: Force option byte loading active
Flash address register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 FARBits 0-31: Flash address.
Allowed values: 0x0-0xffffffff
OBROption byte register
Offset: 0x1c, size: 32, reset: 0x03FFFFF2, access: read-only
12/12 fields covered.
Toggle fields OPTERRBit 0: Option byte error.
Allowed values:
1: OptionByteError: The loaded option byte and its complement do not match
Bits 1-2: Read protection level status.
Allowed values:
0: Level0: Level 0
1: Level1: Level 1
3: Level2: Level 2
Bit 8: WDG_SW.
Allowed values:
0: Hardware: Hardware watchdog
1: Software: Software watchdog
Bit 9: nRST_STOP.
Allowed values:
0: Reset: Reset generated when entering Stop mode
1: NoReset: No reset generated
Bit 10: nRST_STDBY.
Allowed values:
0: Reset: Reset generated when entering Standby mode
1: NoReset: No reset generated
Bit 11: nBOOT0.
Allowed values:
0: Disabled: When BOOT_SEL is cleared, select the device boot mode
1: Enabled: When BOOT_SEL is cleared, select the device boot mode
Bit 12: BOOT1.
Allowed values:
0: Disabled: Together with BOOT0, select the device boot mode
1: Enabled: Together with BOOT0, select the device boot mode
Bit 13: VDDA_MONITOR.
Allowed values:
0: Disabled: VDDA power supply supervisor disabled
1: Enabled: VDDA power supply supervisor enabled
Bit 14: RAM_PARITY_CHECK.
Allowed values:
0: Enabled: RAM parity check enabled
1: Disabled: RAM parity check disabled
Bit 15: BOOT_SEL.
Allowed values:
0: nBOOT0: BOOT0 signal is defined by nBOOT0 option bit
1: BOOT0: BOOT0 signal is defined by BOOT0 pin value (legacy mode)
Bits 16-23: Data0.
Allowed values: 0x0-0xff
Data1Bits 24-31: Data1.
Allowed values: 0x0-0xff
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.
Allowed values: 0x0-0xffffffff
GPIOA0x48000000: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x28000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x24000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48000400: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48000800: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48000c00: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48001000: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48001400: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields MODER[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OT[0]Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields OSPEEDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields PUPDR[0]Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields IDR[0]Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields ODR[0]Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields BS[0]Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields LCK[0]Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[L0]Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields AFR[H8]Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x40005400: Inter-integrated circuit
76/77 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
20/21 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 13: Software reset.
TXDMAENBit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields SADDBits 0-9: Slave address bit 9:8 (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
RELOADBit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
TEXTENBit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
Toggle fields TXEBit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
I2C20x40005800: Inter-integrated circuit
76/77 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
20/21 fields covered.
Toggle fields PEBit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 13: Software reset.
TXDMAENBit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields SADDBits 0-9: Slave address bit 9:8 (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
RELOADBit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
TEXTENBit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
Toggle fields TXEBit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
IWDG0x40003000: Independent watchdog
7/7 fields covered.
Toggle register map Offset Name31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) KR KEY 0x4 (16-bit) PR PR 0x8 (16-bit) RLR RL 0xc (16-bit) SR WVU RVU PVU 0x10 (16-bit) WINR WIN Toggle registers KRKey register
Offset: 0x0, size: 16, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 KEYBits 0-15: Key value.
Allowed values:
21845: Unlock: Enable access to PR, RLR and WINR registers
43690: Feed: Feed watchdog with RLR register value
52428: Start: Start the watchdog
Prescaler register
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PRBits 0-2: Prescaler divider.
Allowed values:
0: DivideBy4: Divider /4
1: DivideBy8: Divider /8
2: DivideBy16: Divider /16
3: DivideBy32: Divider /32
4: DivideBy64: Divider /64
5: DivideBy128: Divider /128
6 (+): DivideBy256: Divider /256
Reload register
Offset: 0x8, size: 16, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RLBits 0-11: Watchdog counter reload value.
Allowed values: 0x0-0xfff
SRStatus register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-only
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WVUBit 0: Watchdog prescaler value update.
RVUBit 1: Watchdog counter reload value update.
WVUBit 2: Watchdog counter window value update.
WINRWindow register
Offset: 0x10, size: 16, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WINBits 0-11: Watchdog counter window value.
Allowed values: 0x0-0xfff
NVIC0xe000e100: Nested Vectored Interrupt Controller
0/36 fields covered.
Toggle register map Toggle registers ISERInterrupt 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.
ICERInterrupt 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.
ISPRInterrupt 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.
ICPRInterrupt 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.
IPR0Interrupt Priority Register 0
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 PRI_03Bits 6-7: PRI_00.
PRI_01Bits 14-15: PRI_01.
PRI_02Bits 22-23: PRI_02.
PRI_03Bits 30-31: PRI_03.
IPR1Interrupt Priority Register 1
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 PRI_43Bits 6-7: PRI_40.
PRI_41Bits 14-15: PRI_41.
PRI_42Bits 22-23: PRI_42.
PRI_43Bits 30-31: PRI_43.
IPR2Interrupt Priority Register 2
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 PRI_83Bits 6-7: PRI_80.
PRI_81Bits 14-15: PRI_81.
PRI_82Bits 22-23: PRI_82.
PRI_83Bits 30-31: PRI_83.
IPR3Interrupt Priority Register 3
Offset: 0x30c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields PRI_120Bits 6-7: PRI_120.
PRI_121Bits 14-15: PRI_121.
PRI_122Bits 22-23: PRI_122.
PRI_123Bits 30-31: PRI_123.
IPR4Interrupt Priority Register 4
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields PRI_160Bits 6-7: PRI_160.
PRI_161Bits 14-15: PRI_161.
PRI_162Bits 22-23: PRI_162.
PRI_163Bits 30-31: PRI_163.
IPR5Interrupt Priority Register 5
Offset: 0x314, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields PRI_200Bits 6-7: PRI_200.
PRI_201Bits 14-15: PRI_201.
PRI_202Bits 22-23: PRI_202.
PRI_203Bits 30-31: PRI_203.
IPR6Interrupt Priority Register 6
Offset: 0x318, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields PRI_240Bits 6-7: PRI_240.
PRI_241Bits 14-15: PRI_241.
PRI_242Bits 22-23: PRI_242.
PRI_243Bits 30-31: PRI_243.
IPR7Interrupt Priority Register 7
Offset: 0x31c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields PRI_280Bits 6-7: PRI_280.
PRI_281Bits 14-15: PRI_281.
PRI_282Bits 22-23: PRI_282.
PRI_283Bits 30-31: PRI_283.
PWR0x40007000: Power control
5/19 fields covered.
Toggle register map Toggle registers CRpower control register
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 deepsleep.
Allowed values:
0: STOP_MODE: Enter Stop mode when the CPU enters deepsleep
1: STANDBY_MODE: Enter Standby mode when the CPU enters deepsleep
Bit 2: Clear wakeup 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/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
4/12 fields covered.
Toggle fields WUFBit 0: Wakeup flag.
SBFBit 1: Standby flag.
PVDOBit 2: PVD output.
VREFINTRDYBit 3: VREFINT reference voltage ready.
EWUP1Bit 8: Enable WKUP pin 1.
EWUP2Bit 9: Enable WKUP pin 2.
EWUP3Bit 10: Enable WKUP pin 3.
EWUP4Bit 11: Enable WKUP pin 4.
EWUP5Bit 12: Enable WKUP pin 5.
EWUP6Bit 13: Enable WKUP pin 6.
EWUP7Bit 14: Enable WKUP pin 7.
EWUP8Bit 15: Enable WKUP pin 8.
RCC0x40021000: Reset and clock control
157/159 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/11 fields covered.
Toggle fields SWBits 0-1: System clock Switch.
Allowed values:
0: HSI: HSI selected as system clock
1: HSE: HSE selected as system clock
2: PLL: PLL selected as system clock
3: HSI48: HSI48 selected as system clock (when available)
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
3: HSI48: HSI48 used as system clock (when avaiable)
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
Bit 14: ADCPRE is deprecated. See ADC field in CFGR2 register..
PLLSRCBits 15-16: PLL input clock source.
Allowed values:
0: HSI_Div2: HSI divided by 2 selected as PLL input clock
1: HSI_Div_PREDIV: HSI divided by PREDIV selected as PLL input clock
2: HSE_Div_PREDIV: HSE divided by PREDIV selected as PLL input clock
3: HSI48_Div_PREDIV: HSI48 divided by PREDIV selected as PLL input clock
Bit 17: HSE divider for PLL entry. Same bit as PREDIC[0] from CFGR2 register. Refer to it for its meaning.
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-27: Microcontroller clock output.
Allowed values:
0: NoMCO: MCO output disabled, no clock on MCO
1: HSI14: Internal RC 14 MHz (HSI14) oscillator clock selected
2: LSI: Internal low speed (LSI) oscillator clock selected
3: LSE: External low speed (LSE) oscillator clock selected
4: SYSCLK: System clock selected
5: HSI: Internal RC 8 MHz (HSI) oscillator clock selected
6: HSE: External 4-32 MHz (HSE) oscillator clock selected
7: PLL: PLL clock selected (divided by 1 or 2, depending en PLLNODIV)
8: HSI48: Internal RC 48 MHz (HSI48) oscillator clock selected
Bits 28-30: Microcontroller Clock Output Prescaler.
Allowed values:
0: Div1: MCO is divided by 1
1: Div2: MCO is divided by 2
2: Div4: MCO is divided by 4
3: Div8: MCO is divided by 8
4: Div16: MCO is divided by 16
5: Div32: MCO is divided by 32
6: Div64: MCO is divided by 64
7: Div128: MCO is divided by 128
Bit 31: PLL clock not divided for MCO.
Allowed values:
0: Div2: PLL is divided by 2 for MCO
1: Div1: PLL is not divided for MCO
Clock interrupt register (RCC_CIR)
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
23/23 fields covered.
Toggle fields LSIRDYFBit 0: LSI Ready Interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 1: LSE Ready Interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 2: HSI Ready Interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 3: HSE Ready Interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 4: PLL Ready Interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 5: HSI14 ready interrupt flag.
Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt
Bit 6: HSI48 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 13: HSI14 ready interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: HSI48 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 21: HSI 14 MHz Ready Interrupt Clear.
Allowed values:
1: Clear: Clear interrupt flag
Bit 22: HSI48 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
12/12 fields covered.
Toggle fields SYSCFGRSTBit 0: SYSCFG and COMP reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: USART6 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: USART7 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 7: USART8 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 9: ADC interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 11: TIM1 timer 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 16: TIM15 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 17: TIM16 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: TIM17 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: Debug MCU reset.
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register (RCC_APB1RSTR)
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
19/19 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 4: Timer 6 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: TIM7 timer 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 17: USART 2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: USART3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 19: USART4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: USART5 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 23: USB interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 25: CAN interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 27: Clock Recovery System 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
Bit 30: HDMI CEC 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
12/12 fields covered.
Toggle fields DMAENBit 0: DMA 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 17: I/O port A clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: I/O port B clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: I/O port C clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: I/O port D clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: I/O port E clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: I/O port F clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 24: Touch sensing controller 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
12/12 fields covered.
Toggle fields SYSCFGENBit 0: SYSCFG clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: USART6 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: USART7 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 7: USART8 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 11: TIM1 Timer 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 16: TIM15 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: TIM16 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: TIM17 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: MCU debug module 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
19/19 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 4: Timer 6 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: TIM7 timer 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 17: USART 2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: USART3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: USART4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: USART5 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 23: USB interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 25: CAN interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 27: Clock Recovery System 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
Bit 30: HDMI CEC 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
7/7 fields covered.
Toggle fields LSEONBit 0: External Low Speed oscillator enable.
Allowed values:
0: Off: LSE oscillator Off
1: On: LSE oscillator On
Bit 1: External Low Speed oscillator ready.
Allowed values:
0: NotReady: LSE oscillator not ready
1: Ready: LSE oscillator ready
Bit 2: External Low Speed oscillator bypass.
Allowed values:
0: NotBypassed: LSE crystal oscillator not bypassed
1: Bypassed: LSE crystal oscillator bypassed with external clock
Bits 3-4: LSE oscillator drive capability.
Allowed values:
0: Low: Low drive capacity
1: MediumHigh: Medium-high drive capacity
2: MediumLow: Medium-low drive capacity
3: High: High drive capacity
Bits 8-9: RTC clock source selection.
Allowed values:
0: NoClock: No clock
1: LSE: LSE oscillator clock used as RTC clock
2: LSI: LSI oscillator clock used as RTC clock
3: HSE: HSE oscillator clock divided by a prescaler used as RTC clock
Bit 15: RTC clock enable.
Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled
Bit 16: Backup domain software reset.
Allowed values:
0: Disabled: Reset not activated
1: Enabled: Reset the entire RTC domain
Control/status register (RCC_CSR)
Offset: 0x24, size: 32, reset: 0x0C000000, access: Unspecified
11/11 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 23: 1.8 V domain reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 24: Remove reset flag.
Allowed values:
1: Clear: Clears the reset flag
Bit 25: Option byte loader reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 26: PIN reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 27: POR/PDR reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 28: Software reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 29: Independent watchdog reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 30: Window watchdog reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 31: Low-power reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
AHB peripheral reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields IOPARSTBit 17: I/O port A reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: I/O port B reset.
Allowed values:
1: Reset: Reset the selected module
Bit 19: I/O port C reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: I/O port D reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: I/O port E reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: I/O port F reset.
Allowed values:
1: Reset: Reset the selected module
Bit 24: Touch sensing controller reset.
Allowed values:
1: Reset: Reset the selected module
Clock configuration register 2
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 PREDIVBits 0-3: PREDIV division factor.
Allowed values:
0: Div1: PREDIV input clock not divided
1: Div2: PREDIV input clock divided by 2
2: Div3: PREDIV input clock divided by 3
3: Div4: PREDIV input clock divided by 4
4: Div5: PREDIV input clock divided by 5
5: Div6: PREDIV input clock divided by 6
6: Div7: PREDIV input clock divided by 7
7: Div8: PREDIV input clock divided by 8
8: Div9: PREDIV input clock divided by 9
9: Div10: PREDIV input clock divided by 10
10: Div11: PREDIV input clock divided by 11
11: Div12: PREDIV input clock divided by 12
12: Div13: PREDIV input clock divided by 13
13: Div14: PREDIV input clock divided by 14
14: Div15: PREDIV input clock divided by 15
15: Div16: PREDIV input clock divided by 16
Clock configuration register 3
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields USART1SWBits 0-1: USART1 clock source selection.
Allowed values:
0: PCLK: PCLK selected as USART clock source
1: SYSCLK: SYSCLK selected as USART clock source
2: LSE: LSE selected as USART clock source
3: HSI: HSI selected as USART clock source
Bit 4: I2C1 clock source selection.
Allowed values:
0: HSI: HSI clock selected as I2C clock source
1: SYSCLK: SYSCLK clock selected as I2C clock source
Bit 6: HDMI CEC clock source selection.
Allowed values:
0: HSI_Div244: HSI clock divided by 244 selected as CEC clock source
1: LSE: LSE clock selected as CEC clock source
Bit 7: USB clock source selection.
Allowed values:
0: HSI48: HSI48 selected as USB clock source
1: PLLCLK: PLL clock selected as USB clock source
Bit 8: ADCSW is deprecated. See ADC field in CFGR2 register..
USART2SWBits 16-17: USART2 clock source selection.
Allowed values:
0: PCLK: PCLK selected as USART clock source
1: SYSCLK: SYSCLK selected as USART clock source
2: LSE: LSE selected as USART clock source
3: HSI: HSI selected as USART clock source
Bits 18-19: USART3 clock source.
Allowed values:
0: PCLK: PCLK selected as USART clock source
1: SYSCLK: SYSCLK selected as USART clock source
2: LSE: LSE selected as USART clock source
3: HSI: HSI selected as USART clock source
Clock control register 2
Offset: 0x34, size: 32, reset: 0x00000080, access: Unspecified
8/8 fields covered.
Toggle fields HSI14ONBit 0: HSI14 clock enable.
Allowed values:
0: Off: HSI14 oscillator off
1: On: HSI14 oscillator on
Bit 1: HR14 clock ready flag.
Allowed values:
0: NotReady: HSI14 oscillator not ready
1: Ready: HSI14 oscillator ready
Bit 2: HSI14 clock request from ADC disable.
Allowed values:
0: Allow: ADC can turn on the HSI14 oscillator
1: Disallow: ADC can not turn on the HSI14 oscillator
Bits 3-7: HSI14 clock trimming.
Allowed values: 0x0-0x1f
HSI14CALBits 8-15: HSI14 clock calibration.
Allowed values: 0x0-0xff
HSI48ONBit 16: HSI48 clock enable.
Allowed values:
0: Off: HSI48 oscillator off
1: On: HSI48 oscillator on
Bit 17: HSI48 clock ready flag.
Allowed values:
0: NotReady: HSI48 oscillator ready
1: Ready: HSI48 oscillator ready
Bits 24-31: HSI48 factory clock calibration.
Allowed values: 0x0-0xff
RTC0x40002800: Real-time clock
75/103 fields covered.
Toggle register map Toggle registers TRtime register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PMBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MNUBits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
HUBits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
date register
Offset: 0x4, size: 32, reset: 0x00002101, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 YTBits 0-3: Date units in BCD format.
Allowed values: 0x0-0xf
DTBits 4-5: Date tens in BCD format.
Allowed values: 0x0-0x3
MUBits 8-11: Month units in BCD format.
Allowed values: 0x0-0xf
MTBit 12: Month tens in BCD format.
Allowed values:
0: Zero: Month tens is 0
1: One: Month tens is 1
Bits 13-15: Week day units.
Allowed values: 0x1-0x7
YUBits 16-19: Year units in BCD format.
Allowed values: 0x0-0xf
YTBits 20-23: Year tens in BCD format.
Allowed values: 0x0-0xf
CRcontrol register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
13/15 fields covered.
Toggle fields TSEDGEBit 3: Time-stamp event active edge.
Allowed values:
0: RisingEdge: RTC_TS input rising edge generates a time-stamp event
1: FallingEdge: RTC_TS input falling edge generates a time-stamp event
Bit 4: RTC_REFIN reference clock detection enable (50 or 60 Hz).
Allowed values:
0: Disabled: RTC_REFIN detection disabled
1: Enabled: RTC_REFIN detection enabled
Bit 5: Bypass the shadow registers.
FMTBit 6: Hour format.
Allowed values:
0: Twenty_Four_Hour: 24 hour/day format
1: AM_PM: AM/PM hour format
Bit 8: Alarm A enable.
Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled
Bit 11: timestamp enable.
Allowed values:
0: Disabled: Timestamp disabled
1: Enabled: Timestamp enabled
Bit 12: Alarm A interrupt enable.
Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled
Bit 15: Time-stamp interrupt enable.
Allowed values:
0: Disabled: Time-stamp Interrupt disabled
1: Enabled: Time-stamp Interrupt enabled
Bit 16: Add 1 hour (summer time change).
Allowed values:
1: Add1: Adds 1 hour to the current time. This can be used for summer time change outside initialization mode
Bit 17: Subtract 1 hour (winter time change).
Allowed values:
1: Sub1: Subtracts 1 hour to the current time. This can be used for winter time change outside initialization mode
Bit 18: Backup.
Allowed values:
0: DST_Not_Changed: Daylight Saving Time change has not been performed
1: DST_Changed: Daylight Saving Time change has been performed
Bit 19: Calibration output selection.
POLBit 20: Output polarity.
Allowed values:
0: High: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
1: Low: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
Bits 21-22: Output selection.
Allowed values:
0: Disabled: Output disabled
1: AlarmA: Alarm A output enabled
2: AlarmB: Alarm B output enabled
3: Wakeup: Wakeup output enabled
Bit 23: Calibration output enable.
Allowed values:
0: Disabled: Calibration output disabled
1: Enabled: Calibration output enabled
initialization and status register
Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified
11/12 fields covered.
Toggle fields ALRAWFBit 0: Alarm A write flag.
Allowed values:
0: UpdateNotAllowed: Alarm update not allowed
1: UpdateAllowed: Alarm update allowed
Bit 3: Shift operation pending.
INITSBit 4: Initialization status flag.
Allowed values:
0: NotInitalized: Calendar has not been initialized
1: Initalized: Calendar has been initialized
Bit 5: Registers synchronization flag.
Allowed values:
0: NotSynced: Calendar shadow registers not yet synchronized
1: Synced: Calendar shadow registers synchronized
Bit 6: Initialization flag.
Allowed values:
0: NotAllowed: Calendar registers update is not allowed
1: Allowed: Calendar registers update is allowed
Bit 7: Initialization mode.
Allowed values:
0: FreeRunningMode: Free running mode
1: InitMode: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
Bit 8: Alarm A flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRMxR)
Bit 11: Time-stamp flag.
Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs
Bit 12: Time-stamp overflow flag.
Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set
Bit 13: RTC_TAMP1 detection flag.
Allowed values:
1: Tampered: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
Bit 14: RTC_TAMP2 detection flag.
Allowed values:
1: Tampered: This flag is set by hardware when a tamper detection event is detected on the RTC_TAMPx input
Bit 16: Recalibration pending Flag.
PRERprescaler register
Offset: 0x10, size: 32, reset: 0x007F00FF, access: read-write
1/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PREDIV_ABits 0-14: Synchronous prescaler factor.
PREDIV_ABits 16-22: Asynchronous prescaler factor.
Allowed values: 0x0-0x7f
ALRMARalarm A register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SUBits 0-3: Second units in BCD format..
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format..
Allowed values: 0x0-0x7
MSK1Bit 7: Alarm A seconds mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 8-11: Minute units in BCD format..
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format..
Allowed values: 0x0-0x7
MSK2Bit 15: Alarm A minutes mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 16-19: Hour units in BCD format..
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format..
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
Bit 23: Alarm A hours mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 24-27: Date units or day in BCD format..
Allowed values: 0x0-0xf
DTBits 28-29: Date tens in BCD format..
Allowed values: 0x0-0x3
WDSELBit 30: Week day selection.
Allowed values:
0: DateUnits: DU[3:0] represents the date units
1: WeekDay: DU[3:0] represents the week day. DT[1:0] is don’t care.
Bit 31: Alarm A date mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
write protection register
Offset: 0x24, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 KEYBits 0-7: Write protection key.
Allowed values: 0x0-0xff
SSRsub second register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SSBits 0-15: Sub second value.
SHIFTRshift control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADD1SBits 0-14: Subtract a fraction of a second.
ADD1SBit 31: Add one second.
TSTRtimestamp time register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PMBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MNUBits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
HUBits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
timestamp date register
Offset: 0x34, size: 32, reset: 0x00002101, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 YTBits 0-3: Date units in BCD format.
Allowed values: 0x0-0xf
DTBits 4-5: Date tens in BCD format.
Allowed values: 0x0-0x3
MUBits 8-11: Month units in BCD format.
Allowed values: 0x0-0xf
MTBit 12: Month tens in BCD format.
Allowed values:
0: Zero: Month tens is 0
1: One: Month tens is 1
Bits 13-15: Week day units.
Allowed values: 0x1-0x7
YUBits 16-19: Year units in BCD format.
Allowed values: 0x0-0xf
YTBits 20-23: Year tens in BCD format.
Allowed values: 0x0-0xf
TSSSRtime-stamp sub second register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SSBits 0-15: Sub second value.
CALRcalibration register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields CALMBits 0-8: Calibration minus.
CALW16Bit 13: Use a 16-second calibration cycle period.
CALW8Bit 14: Use an 8-second calibration cycle period.
CALPBit 15: Increase frequency of RTC by 488.5 ppm.
TAFCRtamper and alternate function configuration register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
Toggle fields TAMP1EBit 0: RTC_TAMP1 input detection enable.
TAMP1TRGBit 1: Active level for RTC_TAMP1 input.
TAMPIEBit 2: Tamper interrupt enable.
TAMP2EBit 3: RTC_TAMP2 input detection enable.
TAMP2_TRGBit 4: Active level for RTC_TAMP2 input.
TAMPTSBit 7: Activate timestamp on tamper detection event.
TAMPFREQBits 8-10: Tamper sampling frequency.
TAMPFLTBits 11-12: RTC_TAMPx filter count.
TAMP_PRCHBits 13-14: RTC_TAMPx precharge duration.
TAMP_PUDISBit 15: RTC_TAMPx pull-up disable.
PC13VALUEBit 18: RTC_ALARM output type/PC13 value.
PC13MODEBit 19: PC13 mode.
PC14VALUEBit 20: PC14 value.
PC14MODEBit 21: PC14 mode.
PC15VALUEBit 22: PC15 value.
PC15MODEBit 23: PC15 mode.
ALRMASSRalarm A sub second register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MASKSSBits 0-14: Sub seconds value.
MASKSSBits 24-27: Mask the most-significant bits starting at this bit.
BKP[0]Rbackup register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[1]Rbackup register
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[2]Rbackup register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[3]Rbackup register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
BKP[4]Rbackup register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BKPBits 0-31: BKP.
Allowed values: 0x0-0xffffffff
SCB0xe000ed00: System control block
5/25 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/8 fields covered.
Toggle fields VECTACTIVEBits 0-5: Active vector.
VECTPENDINGBits 12-17: 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..
AIRCRApplication interrupt and reset control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields VECTCLRACTIVEBit 1: VECTCLRACTIVE.
SYSRESETREQBit 2: SYSRESETREQ.
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/2 fields covered.
Toggle fields UNALIGN__TRPBit 3: UNALIGN_ TRP.
STKALIGNBit 9: STKALIGN.
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.
SPI10x40013000: Serial peripheral interface
53/53 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: Frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO transmission level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
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: 0x00000010, 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
53/53 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
11/11 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 2: Channel side.
Allowed values:
0: Left: Channel left has to be transmitted or has been received
1: Right: Channel right has to be transmitted or has been received
Bit 3: Underrun flag.
Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: Frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO transmission level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRI2S configuration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
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: 0x00000010, 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/9 fields covered.
Toggle register map Toggle registers CSRSysTick 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.
RVRSysTick 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.
CVRSysTick 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/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 NOREFBits 0-23: Calibration value.
SKEWBit 30: SKEW flag: Indicates whether the TENMS value is exact.
NOREFBit 31: NOREF flag. Reads as zero.
SYSCFG0x40010000: System configuration controller
45/45 fields covered.
Toggle register map Toggle registers CFGR1configuration register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
Toggle fields MEM_MODEBits 0-1: Memory mapping selection bits.
Allowed values:
0: MainFlash: Main Flash memory mapped at 0x0000_0000
1: SystemFlash: System Flash memory mapped at 0x0000_0000
2: MainFlash2: Main Flash memory mapped at 0x0000_0000
3: SRAM: Embedded SRAM mapped at 0x0000_0000
Bit 4: PA11 and PA12 remapping bit for small packages (28 and 20 pins).
Allowed values:
0: NotRemapped: Pin pair PA9/PA10 mapped on the pins
1: Remapped: Pin pair PA11/PA12 mapped instead of PA9/PA10
Bits 6-7: IR Modulation Envelope signal selection.
Allowed values:
0: TIM16: TIM16 selected
1: USART1: USART1 selected
2: USART4: USART4 selected
Bit 8: ADC DMA remapping bit.
Allowed values:
0: NotRemapped: ADC DMA request mapped on DMA channel 1
1: Remapped: ADC DMA request mapped on DMA channel 2
Bit 9: USART1_TX DMA remapping bit.
Allowed values:
0: NotRemapped: USART1_TX DMA request mapped on DMA channel 2
1: Remapped: USART1_TX DMA request mapped on DMA channel 4
Bit 10: USART1_RX DMA request remapping bit.
Allowed values:
0: NotRemapped: USART1_RX DMA request mapped on DMA channel 3
1: Remapped: USART1_RX DMA request mapped on DMA channel 5
Bit 11: TIM16 DMA request remapping bit.
Allowed values:
0: NotRemapped: TIM16_CH1 and TIM16_UP DMA request mapped on DMA channel 3
1: Remapped: TIM16_CH1 and TIM16_UP DMA request mapped on DMA channel 4
Bit 12: TIM17 DMA request remapping bit.
Allowed values:
0: NotRemapped: TIM17_CH1 and TIM17_UP DMA request mapped on DMA channel 1
1: Remapped: TIM17_CH1 and TIM17_UP DMA request mapped on DMA channel 2
Bit 13: TIM16 alternate DMA request remapping bit.
Allowed values:
0: NotAlternateRemapped: TIM16 DMA request mapped according to TIM16_DMA_RMP bit
1: AlternateRemapped: TIM16_CH1 and TIM16_UP DMA request mapped on DMA channel 6
Bit 14: TIM17 alternate DMA request remapping bit.
Allowed values:
0: NotAlternateRemapped: TIM17 DMA request mapped according to TIM16_DMA_RMP bit
1: AlternateRemapped: TIM17_CH1 and TIM17_UP DMA request mapped on DMA channel 7
Bit 16: Fast Mode Plus (FM plus) driving capability activation bits..
Allowed values:
0: Standard: PB6 pin operate in standard mode
1: FMP: I2C FM+ mode enabled on PB6 and the Speed control is bypassed
Bit 17: Fast Mode Plus (FM+) driving capability activation bits..
Allowed values:
0: Standard: PB7 pin operate in standard mode
1: FMP: I2C FM+ mode enabled on PB7 and the Speed control is bypassed
Bit 18: Fast Mode Plus (FM+) driving capability activation bits..
Allowed values:
0: Standard: PB8 pin operate in standard mode
1: FMP: I2C FM+ mode enabled on PB8 and the Speed control is bypassed
Bit 19: Fast Mode Plus (FM+) driving capability activation bits..
Allowed values:
0: Standard: PB9 pin operate in standard mode
1: FMP: I2C FM+ mode enabled on PB9 and the Speed control is bypassed
Bit 20: FM+ driving capability activation for I2C1.
Allowed values:
0: Standard: FM+ mode is controlled by I2C_Pxx_FMP bits only
1: FMP: FM+ mode is enabled on all I2C1 pins selected through selection bits in GPIOx_AFR registers
Bit 21: FM+ driving capability activation for I2C2.
Allowed values:
0: Standard: FM+ mode is controlled by I2C_Pxx_FMP bits only
1: FMP: FM+ mode is enabled on all I2C2 pins selected through selection bits in GPIOx_AFR registers
Bit 22: Fast Mode Plus (FM+) driving capability activation bits.
Allowed values:
0: Standard: PA9 pin operate in standard mode
1: FMP: I2C FM+ mode enabled on PA9 and the Speed control is bypassed
Bit 23: Fast Mode Plus (FM+) driving capability activation bits.
Allowed values:
0: Standard: PA10 pin operate in standard mode
1: FMP: I2C FM+ mode enabled on PA10 and the Speed control is bypassed
Bit 24: SPI2 DMA request remapping bit.
Allowed values:
0: NotRemapped: SPI2_RX and SPI2_TX DMA requests mapped on DMA channel 4 and 5 respectively
1: Remapped: SPI2_RX and SPI2_TX DMA requests mapped on DMA channel 6 and 7 respectively
Bit 25: USART2 DMA request remapping bit.
Allowed values:
0: NotRemapped: USART2_RX and USART2_TX DMA requests mapped on DMA channel 5 and 4 respectively
1: Remapped: USART2_RX and USART2_TX DMA requests mapped on DMA channel 6 and 7 respectively
Bit 26: USART3 DMA request remapping bit.
Allowed values:
0: NotRemapped: USART3_RX and USART3_TX DMA requests mapped on DMA channel 6 and 7 respectively (or simply disabled on STM32F0x0)
1: Remapped: USART3_RX and USART3_TX DMA requests mapped on DMA channel 3 and 2 respectively
Bit 27: I2C1 DMA request remapping bit.
Allowed values:
0: NotRemapped: I2C1_RX and I2C1_TX DMA requests mapped on DMA channel 3 and 2 respectively
1: Remapped: I2C1_RX and I2C1_TX DMA requests mapped on DMA channel 7 and 6 respectively
Bit 28: TIM1 DMA request remapping bit.
Allowed values:
0: NotRemapped: TIM1_CH1, TIM1_CH2 and TIM1_CH3 DMA requests mapped on DMA channel 2, 3 and 4 respectively
1: Remapped: TIM1_CH1, TIM1_CH2 and TIM1_CH3 DMA requests mapped on DMA channel 6
Bit 29: TIM2 DMA request remapping bit.
Allowed values:
0: NotRemapped: TIM2_CH2 and TIM2_CH4 DMA requests mapped on DMA channel 3 and 4 respectively
1: Remapped: TIM2_CH2 and TIM2_CH4 DMA requests mapped on DMA channel 7
Bit 30: TIM3 DMA request remapping bit.
Allowed values:
0: NotRemapped: TIM3_CH1 and TIM3_TRIG DMA requests mapped on DMA channel 4
1: Remapped: TIM3_CH1 and TIM3_TRIG DMA requests mapped on DMA channel 6
external interrupt configuration register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI0Bits 0-3: EXTI 0 configuration bits.
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
Bits 4-7: EXTI 1 configuration bits.
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
Bits 8-11: EXTI 2 configuration bits.
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
Bits 12-15: EXTI 3 configuration bits.
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
external interrupt configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI4Bits 0-3: EXTI 4 configuration bits.
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
Bits 4-7: EXTI 5 configuration bits.
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
Bits 8-11: EXTI 6 configuration bits.
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
Bits 12-15: EXTI 7 configuration bits.
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
external interrupt configuration register 3
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI8Bits 0-3: EXTI 8 configuration bits.
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
Bits 4-7: EXTI 9 configuration bits.
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
Bits 8-11: EXTI 10 configuration bits.
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
Bits 12-15: EXTI 11 configuration bits.
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
external interrupt configuration register 4
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields EXTI12Bits 0-3: EXTI 12 configuration bits.
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
Bits 4-7: EXTI 13 configuration bits.
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
Bits 8-11: EXTI 14 configuration bits.
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
Bits 12-15: EXTI 15 configuration bits.
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
configuration register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields LOCKUP_LOCKBit 0: Cortex-M0 LOCKUP bit enable bit.
Allowed values:
0: Disconnected: Cortex-M0 LOCKUP output disconnected from TIM1/15/16/17 Break input
1: Connected: Cortex-M0 LOCKUP output connected to TIM1/15/16/17 Break input
Bit 1: SRAM parity lock bit.
Allowed values:
0: Disconnected: SRAM parity error disconnected from TIM1/15/16/17 Break input
1: Connected: SRAM parity error connected to TIM1/15/16/17 Break input
Bit 2: PVD lock enable bit.
Allowed values:
0: Disconnected: PVD interrupt disconnected from TIM1/15/16/17 Break input
1: Connected: PVD interrupt connected to TIM1/15/16/17 Break input
Bit 8: SRAM parity flag.
Allowed values:
0: NoParityError: No SRAM parity error detected
1: ParityErrorDetected: SRAM parity error detected
0x40012c00: Advanced-timers
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.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMABBits 0-15: DMA register for burst accesses.
TIM140x40002000: General-purpose-timers
25/27 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 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
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 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
ORoption register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RMPBits 0-1: Timer input 1 remap.
TIM150x40014000: General-purpose-timers
63/78 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
6/7 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.
OIS[1]Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
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
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MSMBits 0-2: Slave mode selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
10/10 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 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 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
8/8 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 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
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 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
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
7/7 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 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
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
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
LOCKBits 8-9: Lock configuration.
OSSIBit 10: Off-state selection for Idle mode.
OSSRBit 11: Off-state selection for Run mode.
BKEBit 12: Break enable.
BKPBit 13: Break polarity.
AOEBit 14: Automatic output enable.
MOEBit 15: Main output enable.
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
DBLBits 8-12: DMA burst length.
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.
TIM160x40014400: General-purpose-timers
42/57 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
5/5 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
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
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
6/8 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 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
BIEBit 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 14: Trigger DMA request enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/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 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
BIFBit 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
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
4/5 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 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.
BGBit 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
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
4/4 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
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
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
LOCKBits 8-9: Lock configuration.
OSSIBit 10: Off-state selection for Idle mode.
OSSRBit 11: Off-state selection for Run mode.
BKEBit 12: Break enable.
BKPBit 13: Break polarity.
AOEBit 14: Automatic output enable.
MOEBit 15: Main output enable.
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
DBLBits 8-12: DMA burst length.
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.
TIM170x40014800: General-purpose-timers
42/57 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
5/5 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
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
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
6/8 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 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
BIEBit 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 14: Trigger DMA request enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/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 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
BIFBit 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
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
4/5 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 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.
BGBit 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
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
4/4 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
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
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
LOCKBits 8-9: Lock configuration.
OSSIBit 10: Off-state selection for Idle mode.
OSSRBit 11: Off-state selection for Run mode.
BKEBit 12: Break enable.
BKPBit 13: Break polarity.
AOEBit 14: Automatic output enable.
MOEBit 15: Main output enable.
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
DBLBits 8-12: DMA burst length.
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.
TIM20x40000000: General-purpose-timers
95/101 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/13 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 13: COM DMA request enable.
TDEBit 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/12 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CNTBits 0-31: Counter value.
Allowed values: 0x0-0xffffffff
PSCprescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-31: Auto-reload value.
Allowed values: 0x0-0xffffffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
DCRDMA control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DMARBits 0-15: DMA register for burst accesses.
TIM30x40000400: General-purpose-timers
95/101 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/13 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 13: COM DMA request enable.
TDEBit 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/12 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 15: Capture/Compare 4 output Polarity.
CNTcounter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
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 DMARBits 0-15: DMA register for burst accesses.
TIM60x40001000: Basic-timers
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-timers
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
TSC0x40024000: Touch sensing controller
126/136 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
6/12 fields covered.
Toggle fields TSCEBit 0: Touch sensing controller enable.
Allowed values:
0: Disabled: Touch sensing controller disabled
1: Enabled: Touch sensing controller enabled
Bit 1: Start a new acquisition.
Allowed values:
0: NoStarted: Acquisition not started
1: Started: Start a new acquisition
Bit 2: Acquisition mode.
Allowed values:
0: Normal: Normal acquisition mode (acquisition starts as soon as START bit is set)
1: Synchronized: Synchronized acquisition mode (acquisition starts if START bit is set and when the selected signal is detected on the SYNC input pin)
Bit 3: Synchronization pin polarity.
Allowed values:
0: FallingEdge: Falling edge only
1: RisingEdge: Rising edge and high level
Bit 4: I/O Default mode.
Allowed values:
0: PushPull: I/Os are forced to output push-pull low
1: Floating: I/Os are in input floating
Bits 5-7: Max count value.
PGPSCBits 12-14: pulse generator prescaler.
SSPSCBit 15: Spread spectrum prescaler.
SSEBit 16: Spread spectrum enable.
Allowed values:
0: Disabled: Spread spectrum disabled
1: Enabled: Spread spectrum enabled
Bits 17-23: Spread spectrum deviation.
CTPLBits 24-27: Charge transfer pulse low.
CTPHBits 28-31: Charge transfer pulse high.
IERinterrupt enable register
Offset: 0x4, 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 MCEIEBit 0: End of acquisition interrupt enable.
Allowed values:
0: Disabled: End of acquisition interrupt disabled
1: Enabled: End of acquisition interrupt enabled
Bit 1: Max count error interrupt enable.
Allowed values:
0: Disabled: Max count error interrupt disabled
1: Enabled: Max count error interrupt enabled
interrupt clear register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MCEICBit 0: End of acquisition interrupt clear.
MCEICBit 1: Max count error interrupt clear.
ISRinterrupt status register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 MCEFBit 0: End of acquisition flag.
MCEFBit 1: Max count error flag.
IOHCRI/O hysteresis control register
Offset: 0x10, size: 32, reset: 0xFFFFFFFF, access: read-write
24/24 fields covered.
Toggle fields G[1]_IO1Bit 0: G1_IO1 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 1: G1_IO2 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 2: G1_IO3 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 3: G1_IO4 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 4: G2_IO1 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 5: G2_IO2 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 6: G2_IO3 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 7: G2_IO4 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 8: G3_IO1 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 9: G3_IO2 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 10: G3_IO3 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 11: G3_IO4 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 12: G4_IO1 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 13: G4_IO2 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 14: G4_IO3 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 15: G4_IO4 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 16: G5_IO1 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 17: G5_IO2 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 18: G5_IO3 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 19: G5_IO4 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 20: G6_IO1 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 21: G6_IO2 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 22: G6_IO3 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
Bit 23: G6_IO4 Schmitt trigger hysteresis mode.
Allowed values:
0: Disabled: Gx_IOy Schmitt trigger hysteresis disabled
1: Enabled: Gx_IOy Schmitt trigger hysteresis enabled
I/O analog switch control register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields G[1]_IO1Bit 0: G1_IO1 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 1: G1_IO2 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 2: G1_IO3 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 3: G1_IO4 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 4: G2_IO1 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 5: G2_IO2 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 6: G2_IO3 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 7: G2_IO4 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 8: G3_IO1 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 9: G3_IO2 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 10: G3_IO3 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 11: G3_IO4 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 12: G4_IO1 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 13: G4_IO2 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 14: G4_IO3 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 15: G4_IO4 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 16: G5_IO1 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 17: G5_IO2 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 18: G5_IO3 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 19: G5_IO4 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 20: G6_IO1 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 21: G6_IO2 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 22: G6_IO3 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
Bit 23: G6_IO4 analog switch enable.
Allowed values:
0: Disabled: Gx_IOy analog switch disabled (opened)
1: Enabled: Gx_IOy analog switch enabled (closed)
I/O sampling control register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields G[1]_IO1Bit 0: G1_IO1 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 1: G1_IO2 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 2: G1_IO3 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 3: G1_IO4 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 4: G2_IO1 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 5: G2_IO2 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 6: G2_IO3 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 7: G2_IO4 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 8: G3_IO1 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 9: G3_IO2 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 10: G3_IO3 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 11: G3_IO4 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 12: G4_IO1 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 13: G4_IO2 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 14: G4_IO3 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 15: G4_IO4 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 16: G5_IO1 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 17: G5_IO2 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 18: G5_IO3 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 19: G5_IO4 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 20: G6_IO1 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 21: G6_IO2 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 22: G6_IO3 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
Bit 23: G6_IO4 sampling mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as sampling capacitor
I/O channel control register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields G[1]_IO1Bit 0: G1_IO1 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 1: G1_IO2 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 2: G1_IO3 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 3: G1_IO4 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 4: G2_IO1 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 5: G2_IO2 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 6: G2_IO3 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 7: G2_IO4 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 8: G3_IO1 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 9: G3_IO2 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 10: G3_IO3 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 11: G3_IO4 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 12: G4_IO1 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 13: G4_IO2 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 14: G4_IO3 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 15: G4_IO4 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 16: G5_IO1 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 17: G5_IO2 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 18: G5_IO3 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 19: G5_IO4 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 20: G6_IO1 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 21: G6_IO2 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 22: G6_IO3 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
Bit 23: G6_IO4 channel mode.
Allowed values:
0: Disabled: Gx_IOy unused
1: Enabled: Gx_IOy used as channel
I/O group control status register
Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified
16/16 fields covered.
Toggle fields G[1]EBit 0: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 1: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 2: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 3: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 4: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 5: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 6: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 7: Analog I/O group x enable.
Allowed values:
0: Disabled: Acquisition on analog I/O group x disabled
1: Enabled: Acquisition on analog I/O group x enabled
Bit 16: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 17: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 18: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 19: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 20: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 21: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 22: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
Bit 23: Analog I/O group x status.
Allowed values:
0: Ongoing: Acquisition on analog I/O group x is ongoing or not started
1: Complete: Acquisition on analog I/O group x is complete
I/O group x counter register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-13: Counter value.
IOG[2]CRI/O group x counter register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-13: Counter value.
IOG[3]CRI/O group x counter register
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 CNTBits 0-13: Counter value.
IOG[4]CRI/O group x counter register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CNTBits 0-13: Counter value.
IOG[5]CRI/O group x counter register
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 CNTBits 0-13: Counter value.
IOG[6]CRI/O group x counter register
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 CNTBits 0-13: Counter value.
USART10x40013800: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART20x40004400: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART30x40004800: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART40x40004c00: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART50x40005000: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART60x40011400: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART70x40011800: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USART80x40011c00: Universal synchronous asynchronous receiver transmitter
104/104 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable deassertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: Word length.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields EIEBit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: 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: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BRRBits 0-15: mantissa of USARTDIV.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ABRRQBit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
22/22 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 detected 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: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LIN break detection flag.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTS interrupt flag.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS flag.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: Receiver timeout.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: End of block flag.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 14: Auto baud rate error.
ABRFBit 15: Auto baud rate flag.
BUSYBit 16: Busy flag.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: character match flag.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: Send break flag.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: Receiver wakeup from Mute mode.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: Wakeup from Stop mode flag.
TEACKBit 21: Transmit enable acknowledge flag.
REACKBit 22: Receive enable acknowledge flag.
ICRInterrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields PECFBit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of timeout clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
USB0x40005c00: Universal serial bus full-speed device interface
79/127 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
15/15 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 5: LPM L1 Resume request.
Allowed values:
1: Requested: LPM L1 request requested
Bit 7: LPM L1 state request interrupt mask.
Allowed values:
0: Disabled: L1REQ Interrupt disabled
1: Enabled: L1REQ Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
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: Unspecified
11/11 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 7: LPM L1 state request.
Allowed values:
0: NotReceived: LPM command to enter the L1 state is not received
1: Received: LPM command to enter the L1 state is successfully received and acknowledged
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
LPMCSRLPM control and status register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields LPMENBit 0: LPM support enable.
Allowed values:
0: Disabled: No LPM transactions are handled
1: Enabled: Enable the LPM support within the USB device
Bit 1: LPM Token acknowledge enable.
Allowed values:
0: Nyet: The valid LPM Token will be NYET
1: Ack: The valid LPM Token will be ACK
Bit 3: bRemoteWake value.
BESLBits 4-7: BESL value.
Allowed values: 0x0-0xf
BCDRBattery charging detector
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
9/9 fields covered.
Toggle fields BCDENBit 0: Battery charging detector (BCD) enable.
Allowed values:
0: Disabled: disable the BCD support
1: Enabled: enable the BCD support within the USB device
Bit 1: Data contact detection (DCD) mode enable.
Allowed values:
0: Disabled: Data contact detection (DCD) mode disabled
1: Enabled: Data contact detection (DCD) mode enabled
Bit 2: Primary detection (PD) mode enable.
Allowed values:
0: Disabled: Primary detection (PD) mode disabled
1: Enabled: Primary detection (PD) mode enabled
Bit 3: Secondary detection (SD) mode enable.
Allowed values:
0: Disabled: Secondary detection (SD) mode disabled
1: Enabled: Secondary detection (SD) mode enabled
Bit 4: Data contact detection (DCD) status.
Allowed values:
0: NotDetected: data lines contact not detected
1: Detected: data lines contact detected
Bit 5: Primary detection (PD) status.
Allowed values:
0: NoBCD: no BCD support detected
1: BCD: BCD support detected
Bit 6: Secondary detection (SD) status.
Allowed values:
0: CDP: CDP detected
1: DCP: DCP detected
Bit 7: DM pull-up detection status.
Allowed values:
0: Normal: Normal port detected
1: PS2: PS2 port or proprietary charger detected
Bit 15: DP pull-up control.
Allowed values:
0: Disabled: signalize disconnect to the host when needed by the user software
1: Enabled: enable the embedded pull-up on the DP line
0x40002c00: Window watchdog
6/6 fields covered.
Toggle register map Offset Name31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR WDGA T 0x4 (16-bit) CFR EWI WDGTB W 0x8 (16-bit) SR EWIF Toggle registers CRControl register
Offset: 0x0, size: 16, reset: 0x0000007F, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WDGABits 0-6: 7-bit counter.
Allowed values: 0x0-0x7f
WDGABit 7: Activation bit.
Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled
Configuration register
Offset: 0x4, size: 16, reset: 0x0000007F, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EWIBits 0-6: 7-bit window value.
Allowed values: 0x0-0x7f
WDGTBBits 7-8: Timer base.
Allowed values:
0: Div1: Counter clock (PCLK1 div 4096) div 1
1: Div2: Counter clock (PCLK1 div 4096) div 2
2: Div4: Counter clock (PCLK1 div 4096) div 4
3: Div8: Counter clock (PCLK1 div 4096) div 8
Bit 9: Early wakeup interrupt.
Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40
Status register
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EWIFBit 0: Early wakeup interrupt flag.
Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4