Timery

TIM1 0x40012C00

30 rejestrów/klastrów w tym peryferium.

Rejestr: CR1  0x40012C00
rw

control register 1

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: UIFREMAPBit 10: zarezerwowanyBit 9: CKDBit 8: CKD8Bit 7: ARPEBit 6: CMSBit 5: CMSBit 4: DIR4Bit 3: OPMBit 2: URSBit 1: UDISBit 0: CEN0
BitSzer.PoleDostępOpis
01CEN`rw`Counter enable Note: External clock, gated mode and encoder mode can work only if the CEN bit has been previously set by software. However trigger mode can set the CEN bit automatically by hardware.
11UDIS`rw`Update disable This bit is set and cleared by software to enable/disable UEV event generation. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller Buffered registers are then loaded with their preload values.
21URS`rw`Update request source This bit is set and cleared by software to select the UEV event sources. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller
31OPM`rw`One pulse mode
41DIR`rw`Direction Note: This bit is read only when the timer is configured in Center-aligned mode or Encoder mode.
5–62CMS`rw`Center-aligned mode selection Note: Switch from edge-aligned mode to center-aligned mode as long as the counter is enabled (CEN=1) is not allowed
71ARPE`rw`Auto-reload preload enable
8–92CKD`rw`Clock division This bit-field indicates the division ratio between the timer clock (CK_INT) frequency and the dead-time and sampling clock (tDTS)used by the dead-time generators and the digital filters (ETR, TIx): Note: tDTS = 1/fDTS, tCK_INT = 1/fCK_INT.
111UIFREMAP`rw`UIF status bit remapping
Rejestr: CR2  0x40012C04
rw

control register 2

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: MMS2Bit 22: MMS2Bit 21: MMS2Bit 20: MMS220Bit 19: zarezerwowanyBit 18: OIS6Bit 17: zarezerwowanyBit 16: OIS516Bit 15: zarezerwowanyBit 14: OIS4Bit 13: OIS3NBit 12: OIS312Bit 11: OIS2NBit 10: OIS2Bit 9: OIS1NBit 8: OIS18Bit 7: TI1SBit 6: MMSBit 5: MMSBit 4: MMS4Bit 3: CCDSBit 2: CCUSBit 1: zarezerwowanyBit 0: CCPC0
BitSzer.PoleDostępOpis
01CCPC`rw`Capture/compare preloaded control Note: This bit acts only on channels that have a complementary output.
21CCUS`rw`Capture/compare control update selection Note: This bit acts only on channels that have a complementary output.
31CCDS`rw`Capture/compare DMA selection
4–63MMS`rw`Master mode selection These bits allow selected information to be sent in master mode to slave timers for synchronization (TRGO). The combination is as follows: Note: The clock of the slave timer or ADC must be enabled prior to receive events from the master timer, and must not be changed on-the-fly while triggers are received from the master timer.
71TI1S`rw`TI1 selection
81OIS1`rw`Output Idle state (OC1 output)
91OIS1N`rw`Output Idle state (OC1N output)
101OIS2`rw`Output Idle state (OC2 output)
111OIS2N`rw`Output Idle state (OC2N output)
121OIS3`rw`Output Idle state (OC3 output)
131OIS3N`rw`Output Idle state (OC3N output)
141OIS4`rw`Output Idle state (OC4 output)
161OIS5`rw`Output Idle state (OC5 output)
181OIS6`rw`Output Idle state (OC6 output)
20–234MMS2`rw`Master mode selection 2 These bits allow the information to be sent to ADC for synchronization (TRGO2) to be selected. The combination is as follows: Note: The clock of the slave timer or ADC must be enabled prior to receive events from the master timer, and must not be changed on-the-fly while triggers are received from the master timer.
Rejestr: SMCR  0x40012C08
rw

slave mode control register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: TS2Bit 20: TS220Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: SMS_316Bit 15: ETPBit 14: ECEBit 13: ETPSBit 12: ETPS12Bit 11: ETFBit 10: ETFBit 9: ETFBit 8: ETF8Bit 7: MSMBit 6: TSBit 5: TSBit 4: TS4Bit 3: OCCSBit 2: SMSBit 1: SMSBit 0: SMS0
BitSzer.PoleDostępOpis
0–23SMS`rw`Slave mode selection When external signals are selected the active edge of the trigger signal (TRGI) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if TI1F_ED is selected as the trigger input (TS=00100). Indeed, TI1F_ED outputs 1 pulse for each transition on TI1F, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the TRGO or the TRGO2 signals must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer.
31OCCS`rw`OCREF clear selection This bit is used to select the OCREF clear source.
4–63TS`rw`Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for more details on ITRx meaning for each Timer. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition.
71MSM`rw`Master/slave mode
8–114ETF`rw`External trigger filter This bit-field then defines the frequency used to sample ETRP signal and the length of the digital filter applied to ETRP. The digital filter is made of an event counter in which N consecutive events are needed to validate a transition on the output:
12–132ETPS`rw`External trigger prescaler External trigger signal ETRP frequency must be at most 1/4 of fCK_INT frequency. A prescaler can be enabled to reduce ETRP frequency. It is useful when inputting fast external clocks.
141ECE`rw`External clock enable This bit enables External clock mode 2. Note: Setting the ECE bit has the same effect as selecting external clock mode 1 with TRGI connected to ETRF (SMS=111 and TS=00111). It is possible to simultaneously use external clock mode 2 with the following slave modes: reset mode, gated mode and trigger mode. Nevertheless, TRGI must not be connected to ETRF in this case (TS bits must not be 00111). If external clock mode 1 and external clock mode 2 are enabled at the same time, the external clock input is ETRF.
151ETP`rw`External trigger polarity This bit selects whether ETR or ETR is used for trigger operations
161SMS_3`rw`Slave mode selection When external signals are selected the active edge of the trigger signal (TRGI) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if TI1F_ED is selected as the trigger input (TS=00100). Indeed, TI1F_ED outputs 1 pulse for each transition on TI1F, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the TRGO or the TRGO2 signals must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer.
20–212TS2`rw`Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for more details on ITRx meaning for each Timer. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition.
Rejestr: DIER  0x40012C0C
rw

DMA/Interrupt enable register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: TDEBit 13: COMDEBit 12: CC4DE12Bit 11: CC3DEBit 10: CC2DEBit 9: CC1DEBit 8: UDE8Bit 7: BIEBit 6: TIEBit 5: COMIEBit 4: CC4IE4Bit 3: CC3IEBit 2: CC2IEBit 1: CC1IEBit 0: UIE0
BitSzer.PoleDostępOpis
01UIE`rw`Update interrupt enable
11CC1IE`rw`Capture/Compare 1 interrupt enable
21CC2IE`rw`Capture/Compare 2 interrupt enable
31CC3IE`rw`Capture/Compare 3 interrupt enable
41CC4IE`rw`Capture/Compare 4 interrupt enable
51COMIE`rw`COM interrupt enable
61TIE`rw`Trigger interrupt enable
71BIE`rw`Break interrupt enable
81UDE`rw`Update DMA request enable
91CC1DE`rw`Capture/Compare 1 DMA request enable
101CC2DE`rw`Capture/Compare 2 DMA request enable
111CC3DE`rw`Capture/Compare 3 DMA request enable
121CC4DE`rw`Capture/Compare 4 DMA request enable
131COMDE`rw`COM DMA request enable
141TDE`rw`Trigger DMA request enable
Rejestr: SR  0x40012C10
rw

status register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: CC6IFBit 16: CC5IF16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: SBIFBit 12: CC4OF12Bit 11: CC3OFBit 10: CC2OFBit 9: CC1OFBit 8: B2IF8Bit 7: BIFBit 6: TIFBit 5: COMIFBit 4: CC4IF4Bit 3: CC3IFBit 2: CC2IFBit 1: CC1IFBit 0: UIF0
BitSzer.PoleDostępOpis
01UIF`rw`Update interrupt flag This bit is set by hardware on an update event. It is cleared by software. At overflow or underflow regarding the repetition counter value (update if repetition counter = 0) and if the UDIS=0 in the TIMx_CR1 register. When CNT is reinitialized by software using the UG bit in TIMx_EGR register, if URS=0 and UDIS=0 in the TIMx_CR1 register. When CNT is reinitialized by a trigger event (refer to control register (TIM1_SMCRTIMx_SMCR)N/A), if URS=0 and UDIS=0 in the TIMx_CR1 register.
11CC1IF`rw`Capture/compare 1 interrupt flag
21CC2IF`rw`Capture/compare 2 interrupt flag
31CC3IF`rw`Capture/compare 3 interrupt flag
41CC4IF`rw`Capture/compare 4 interrupt flag
51COMIF`rw`COM interrupt flag
61TIF`rw`Trigger interrupt flag This flag is set by hardware on the TRG trigger event (active edge detected on TRGI input when the slave mode controller is enabled in all modes but gated mode. It is set when the counter starts or stops when gated mode is selected. It is cleared by software.
71BIF`rw`Break interrupt flag This flag is set by hardware as soon as the break input goes active. It can be cleared by software if the break input is not active.
81B2IF`rw`Break 2 interrupt flag This flag is set by hardware as soon as the break 2 input goes active. It can be cleared by software if the break 2 input is not active.
91CC1OF`rw`Capture/Compare 1 overcapture flag
101CC2OF`rw`Capture/Compare 2 overcapture flag
111CC3OF`rw`Capture/Compare 3 overcapture flag
121CC4OF`rw`Capture/Compare 4 overcapture flag
131SBIF`rw`System Break interrupt flag This flag is set by hardware as soon as the system break input goes active. It can be cleared by software if the system break input is not active. This flag must be reset to re-start PWM operation.
161CC5IF`rw`Compare 5 interrupt flag Refer to CC1IF description (Note: Channel 5 can only be configured as output)
171CC6IF`rw`Compare 6 interrupt flag Refer to CC1IF description (Note: Channel 6 can only be configured as output)
Rejestr: EGR  0x40012C14
wo

event generation register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: zarezerwowanyBit 10: zarezerwowanyBit 9: zarezerwowanyBit 8: B2G8Bit 7: BGBit 6: TGBit 5: COMGBit 4: CC4G4Bit 3: CC3GBit 2: CC2GBit 1: CC1GBit 0: UG0
BitSzer.PoleDostępOpis
01UG`wo`Update generation This bit can be set by software, it is automatically cleared by hardware.
11CC1G`wo`Capture/compare 1 generation
21CC2G`wo`Capture/compare 2 generation
31CC3G`wo`Capture/compare 3 generation
41CC4G`wo`Capture/compare 4 generation
51COMG`wo`Capture/Compare control update generation This bit can be set by software, it is automatically cleared by hardware Note: This bit acts only on channels having a complementary output.
61TG`wo`Trigger generation This bit is set by software in order to generate an event, it is automatically cleared by hardware.
71BG`wo`Break generation This bit is set by software in order to generate an event, it is automatically cleared by hardware.
81B2G`wo`Break 2 generation This bit is set by software in order to generate an event, it is automatically cleared by hardware.
Rejestr: CCMR1_Input  0x40012C18
rw

capture/compare mode register 1 (output mode)

Brak zdefiniowanych pól bitowych.

Rejestr: CCMR1_Output  0x40012C18
rw

capture/compare mode register 1 (output mode)

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: OC2M_324Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: OC1M_316Bit 15: OC2CEBit 14: IC2FBit 13: IC2FBit 12: IC2F12Bit 11: OC2PEBit 10: IC2PSCBit 9: CC2SBit 8: CC2S8Bit 7: OC1CEBit 6: IC1FBit 5: IC1FBit 4: IC1F4Bit 3: OC1PEBit 2: IC1PSCBit 1: CC1SBit 0: CC1S0
BitSzer.PoleDostępOpis
0–12CC1S`rw`Capture/Compare 1 Selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC1S bits are writable only when the channel is OFF (CC1E = '0' in TIMx_CCER).
0–12CC1S`rw`Capture/Compare 1 selection
21OC1FE`rw`Output compare 1 fast enable
2–32IC1PSC`rw`Input capture 1 prescaler
31OC1PE`rw`Output compare 1 preload enable
4–63OC1M`rw`Output compare 1 mode
4–74IC1F`rw`Input capture 1 filter
71OC1CE`rw`Output compare 1 clear enable
8–92CC2S`rw`Capture/Compare 2 selection
8–92CC2S`rw`Capture/Compare 2 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC2S bits are writable only when the channel is OFF (CC2E = '0' in TIMx_CCER).
101OC2FE`rw`Output compare 2 fast enable
10–112IC2PSC`rw`Input capture 2 prescaler
111OC2PE`rw`Output compare 2 preload enable
12–143OC2M`rw`Output compare 2 mode
12–154IC2F`rw`Input capture 2 filter
151OC2CE`rw`Output compare 2 clear enable
161OC1M_3`rw`Output compare 1 mode, bit 3
241OC2M_3`rw`Output compare 2 mode, bit 3
Rejestr: CCMR2_Input  0x40012C1C
rw

capture/compare mode register 2 (output mode)

Brak zdefiniowanych pól bitowych.

Rejestr: CCMR2_Output  0x40012C1C
rw

capture/compare mode register 2 (output mode)

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: OC4M_324Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: OC3M_316Bit 15: OC4CEBit 14: IC4FBit 13: IC4FBit 12: IC4F12Bit 11: OC4PEBit 10: IC4PSCBit 9: CC4SBit 8: CC4S8Bit 7: OC3CEBit 6: IC3FBit 5: IC3FBit 4: IC3F4Bit 3: OC3PEBit 2: IC3PSCBit 1: CC3SBit 0: CC3S0
BitSzer.PoleDostępOpis
0–12CC3S`rw`Capture/Compare 3 selection
0–12CC3S`rw`Capture/compare 3 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC3S bits are writable only when the channel is OFF (CC3E = '0' in TIMx_CCER).
21OC3FE`rw`Output compare 3 fast enable
2–32IC3PSC`rw`Input capture 3 prescaler
31OC3PE`rw`Output compare 3 preload enable
4–63OC3M`rw`Output compare 3 mode
4–74IC3F`rw`Input capture 3 filter
71OC3CE`rw`Output compare 3 clear enable
8–92CC4S`rw`Capture/Compare 4 selection
8–92CC4S`rw`Capture/Compare 4 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC4S bits are writable only when the channel is OFF (CC4E = '0' in TIMx_CCER).
101OC4FE`rw`Output compare 4 fast enable
10–112IC4PSC`rw`Input capture 4 prescaler
111OC4PE`rw`Output compare 4 preload enable
12–143OC4M`rw`Output compare 4 mode
12–154IC4F`rw`Input capture 4 filter
151OC4CE`rw`Output compare 4 clear enable
161OC3M_3`rw`Output compare 3 mode, bit 3
241OC4M_3`rw`Output compare 4 mode, bit 3
Rejestr: CCER  0x40012C20
rw

capture/compare enable register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: CC6PBit 20: CC6E20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: CC5PBit 16: CC5E16Bit 15: CC4NPBit 14: zarezerwowanyBit 13: CC4PBit 12: CC4E12Bit 11: CC3NPBit 10: CC3NEBit 9: CC3PBit 8: CC3E8Bit 7: CC2NPBit 6: CC2NEBit 5: CC2PBit 4: CC2E4Bit 3: CC1NPBit 2: CC1NEBit 1: CC1PBit 0: CC1E0
BitSzer.PoleDostępOpis
01CC1E`rw`Capture/Compare 1 output enable
11CC1P`rw`Capture/Compare 1 output Polarity
21CC1NE`rw`Capture/Compare 1 complementary output enable
31CC1NP`rw`Capture/Compare 1 output Polarity
41CC2E`rw`Capture/Compare 2 output enable
51CC2P`rw`Capture/Compare 2 output Polarity
61CC2NE`rw`Capture/Compare 2 complementary output enable
71CC2NP`rw`Capture/Compare 2 output Polarity
81CC3E`rw`Capture/Compare 3 output enable
91CC3P`rw`Capture/Compare 3 output Polarity
101CC3NE`rw`Capture/Compare 3 complementary output enable
111CC3NP`rw`Capture/Compare 3 output Polarity
121CC4E`rw`Capture/Compare 4 output enable
131CC4P`rw`Capture/Compare 4 output Polarity
151CC4NP`rw`Capture/Compare 4 output Polarity
161CC5E`rw`Capture/Compare 5 output enable
171CC5P`rw`Capture/Compare 5 output Polarity
201CC6E`rw`Capture/Compare 6 output enable
211CC6P`rw`Capture/Compare 6 output Polarity
Rejestr: CNT16  0x40012C24
rw

16-bit counter register

Brak zdefiniowanych pól bitowych.

Rejestr: CNT:  0x40012C24

counter

Bit 31: UIFCPY31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CNTBit 14: CNTBit 13: CNTBit 12: CNT12Bit 11: CNTBit 10: CNTBit 9: CNTBit 8: CNT8Bit 7: CNTBit 6: CNTBit 5: CNTBit 4: CNT4Bit 3: CNTBit 2: CNTBit 1: CNTBit 0: CNT0
BitSzer.PoleDostępOpis
0–1516CNT`rw`Counter value
0–1516CNT`rw`counter value
311UIFCPY`ro`UIF copy This bit is a read-only copy of the UIF bit of the TIMx_ISR register. If the UIFREMAP bit in the TIMxCR1 is reset, bit 31 is reserved and read at 0.
Rejestr: PSC  0x40012C28
rw

prescaler

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: PSCBit 14: PSCBit 13: PSCBit 12: PSC12Bit 11: PSCBit 10: PSCBit 9: PSCBit 8: PSC8Bit 7: PSCBit 6: PSCBit 5: PSCBit 4: PSC4Bit 3: PSCBit 2: PSCBit 1: PSCBit 0: PSC0
BitSzer.PoleDostępOpis
0–1516PSC`rw`Prescaler value The counter clock frequency (CK_CNT) is equal to fCK_PSC / (PSC[15:0] + 1). PSC contains the value to be loaded in the active prescaler register at each update event (including when the counter is cleared through UG bit of TIMx_EGR register or through trigger controller when configured in 'reset mode').
Rejestr: ARR  0x40012C2C
rw

auto-reload register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: ARRBit 14: ARRBit 13: ARRBit 12: ARR12Bit 11: ARRBit 10: ARRBit 9: ARRBit 8: ARR8Bit 7: ARRBit 6: ARRBit 5: ARRBit 4: ARR4Bit 3: ARRBit 2: ARRBit 1: ARRBit 0: ARR0
BitSzer.PoleDostępOpis
0–1516ARR`rw`Auto-reload value ARR is the value to be loaded in the actual auto-reload register. Refer to the for more details about ARR update and behavior. The counter is blocked while the auto-reload value is null.
Rejestr: RCR  0x40012C30
rw

repetition counter register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: REP:Bit 14: REP:Bit 13: REP:Bit 12: REP:12Bit 11: REP:Bit 10: REP:Bit 9: REP:Bit 8: REP:8Bit 7: REP:Bit 6: REP:Bit 5: REP:Bit 4: REP:4Bit 3: REP:Bit 2: REP:Bit 1: REP:Bit 0: REP:0
BitSzer.PoleDostępOpis
0–1516REP:Repetition counter value
Rejestr: CCR1  0x40012C34
rw

capture/compare register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CCR:Bit 14: CCR:Bit 13: CCR:Bit 12: CCR:12Bit 11: CCR:Bit 10: CCR:Bit 9: CCR:Bit 8: CCR:8Bit 7: CCR:Bit 6: CCR:Bit 5: CCR:Bit 4: CCR:4Bit 3: CCR:Bit 2: CCR:Bit 1: CCR:Bit 0: CCR:0
BitSzer.PoleDostępOpis
0–1516CCR:Capture/Compare value
Rejestr: CCR2  0x40012C38
rw

capture/compare register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CCR:Bit 14: CCR:Bit 13: CCR:Bit 12: CCR:12Bit 11: CCR:Bit 10: CCR:Bit 9: CCR:Bit 8: CCR:8Bit 7: CCR:Bit 6: CCR:Bit 5: CCR:Bit 4: CCR:4Bit 3: CCR:Bit 2: CCR:Bit 1: CCR:Bit 0: CCR:0
BitSzer.PoleDostępOpis
0–1516CCR:Capture/Compare value
Rejestr: CCR3  0x40012C3C
rw

capture/compare register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CCR:Bit 14: CCR:Bit 13: CCR:Bit 12: CCR:12Bit 11: CCR:Bit 10: CCR:Bit 9: CCR:Bit 8: CCR:8Bit 7: CCR:Bit 6: CCR:Bit 5: CCR:Bit 4: CCR:4Bit 3: CCR:Bit 2: CCR:Bit 1: CCR:Bit 0: CCR:0
BitSzer.PoleDostępOpis
0–1516CCR:Capture/Compare value
Rejestr: CCR4  0x40012C40
rw

capture/compare register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CCR:Bit 14: CCR:Bit 13: CCR:Bit 12: CCR:12Bit 11: CCR:Bit 10: CCR:Bit 9: CCR:Bit 8: CCR:8Bit 7: CCR:Bit 6: CCR:Bit 5: CCR:Bit 4: CCR:4Bit 3: CCR:Bit 2: CCR:Bit 1: CCR:Bit 0: CCR:0
BitSzer.PoleDostępOpis
0–1516CCR:Capture/Compare value
Rejestr: BDTR  0x40012C44
rw

break and dead-time register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: BK2BIDBit 28: BKBID28Bit 27: BK2DSRMBit 26: BKDSRMBit 25: BK2PBit 24: BK2E24Bit 23: BK2FBit 22: BK2FBit 21: BK2FBit 20: BK2F20Bit 19: BKFBit 18: BKFBit 17: BKFBit 16: BKF16Bit 15: MOEBit 14: AOEBit 13: BKPBit 12: BKE12Bit 11: OSSRBit 10: OSSIBit 9: LOCKBit 8: LOCK8Bit 7: DTGBit 6: DTGBit 5: DTGBit 4: DTG4Bit 3: DTGBit 2: DTGBit 1: DTGBit 0: DTG0
BitSzer.PoleDostępOpis
0–78DTG`rw`Dead-time generator setup
8–92LOCK`rw`Lock configuration These bits offer a write protection against software errors. Note: The LOCK bits can be written only once after the reset. Once the TIMx_BDTR register has been written, their content is frozen until the next reset.
101OSSI`rw`Off-state selection for Idle mode This bit is used when MOE=0 due to a break event or by a software write, on channels configured as outputs. See OC/OCN enable description for more details (enable register (TIM1_CCERTIMx_CCER)N/A). Note: This bit can not be modified as soon as the LOCK level 2 has been programmed (LOCK bits in TIMx_BDTR register).
111OSSR`rw`Off-state selection for Run mode This bit is used when MOE=1 on channels having a complementary output which are configured as outputs. OSSR is not implemented if no complementary output is implemented in the timer. See OC/OCN enable description for more details (enable register (TIM1_CCERTIMx_CCER)N/A). Note: This bit can not be modified as soon as the LOCK level 2 has been programmed (LOCK bits in TIMx_BDTR register).
121BKE`rw`Break enable This bit enables the complete break protection (including all sources connected to bk_acth and BKIN sources, as per ). Note: This bit cannot be modified when LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). Note: Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
131BKP`rw`Break polarity Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). Note: Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
141AOE`rw`Automatic output enable Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
151MOE`rw`Main output enable This bit is cleared asynchronously by hardware as soon as one of the break inputs is active (BRK or BRK2). It is set by software or automatically depending on the AOE bit. It is acting only on the channels which are configured in output. In response to a break event or if MOE is written to 0: OC and OCN outputs are disabled or forced to idle state depending on the OSSI bit. See OC/OCN enable description for more details (enable register (TIM1_CCERTIMx_CCER)N/A).
16–194BKF`rw`Break filter This bit-field defines the frequency used to sample BRK input and the length of the digital filter applied to BRK. The digital filter is made of an event counter in which N consecutive events are needed to validate a transition on the output: Note: This bit cannot be modified when LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
20–234BK2F`rw`Break 2 filter This bit-field defines the frequency used to sample BRK2 input and the length of the digital filter applied to BRK2. The digital filter is made of an event counter in which N consecutive events are needed to validate a transition on the output: Note: This bit cannot be modified when LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
241BK2E`rw`Break 2 enable Note: The BRK2 must only be used with OSSR = OSSI = 1. Note: This bit cannot be modified when LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). Note: Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
251BK2P`rw`Break 2 polarity Note: This bit cannot be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). Note: Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
261BKDSRM`rw`Break Disarm This bit is cleared by hardware when no break source is active. The BKDSRM bit must be set by software to release the bidirectional output control (open-drain output in Hi-Z state) and then be polled it until it is reset by hardware, indicating that the fault condition has disappeared. Note: Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
271BK2DSRM`rw`Break2 Disarm Refer to BKDSRM description
281BKBID`rw`Break Bidirectional In the bidirectional mode (BKBID bit set to 1), the break input is configured both in input mode and in open drain output mode. Any active break event asserts a low logic level on the Break input to indicate an internal break event to external devices. Note: This bit cannot be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register). Note: Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
291BK2BID`rw`Break2 bidirectional Refer to BKBID description
Rejestr: DCR  0x40012C48
rw

DMA control register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: DBL12Bit 11: DBLBit 10: DBLBit 9: DBLBit 8: DBL8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: DBA4Bit 3: DBABit 2: DBABit 1: DBABit 0: DBA0
BitSzer.PoleDostępOpis
0–45DBA`rw`DMA base address This 5-bits vector defines the base-address for DMA transfers (when read/write access are done through the TIMx_DMAR address). DBA is defined as an offset starting from the address of the TIMx_CR1 register. Example: ...
8–125DBL`rw`DMA burst length This 5-bit vector defines the length of DMA transfers (the timer recognizes a burst transfer when a read or a write access is done to the TIMx_DMAR address), i.e. the number of transfers. Transfers can be in half-words or in bytes (see example below). ... Example: Let us consider the following transfer: DBL = 7 bytes & DBA = TIMx_CR1. If DBL = 7 bytes and DBA = TIMx_CR1 represents the address of the byte to be transferred, the address of the transfer should be given by the following equation: (TIMx_CR1 address) + DBA + (DMA index), where DMA index = DBL In this example, 7 bytes are added to (TIMx_CR1 address) + DBA, which gives us the address from/to which the data is copied. In this case, the transfer is done to 7 registers starting from the following address: (TIMx_CR1 address) + DBA According to the configuration of the DMA Data Size, several cases may occur: If the DMA Data Size is configured in half-words, 16-bit data is transferred to each of the 7 registers. If the DMA Data Size is configured in bytes, the data is also transferred to 7 registers: the first register contains the first MSB byte, the second register, the first LSB byte and so on. So with the transfer Timer, one also has to specify the size of data transferred by DMA.
Rejestr: DMAR  0x40012C4C
rw

DMA address for full transfer

Bit 31: DMAB31Bit 30: DMABBit 29: DMABBit 28: DMAB28Bit 27: DMABBit 26: DMABBit 25: DMABBit 24: DMAB24Bit 23: DMABBit 22: DMABBit 21: DMABBit 20: DMAB20Bit 19: DMABBit 18: DMABBit 17: DMABBit 16: DMAB16Bit 15: DMABBit 14: DMABBit 13: DMABBit 12: DMAB12Bit 11: DMABBit 10: DMABBit 9: DMABBit 8: DMAB8Bit 7: DMABBit 6: DMABBit 5: DMABBit 4: DMAB4Bit 3: DMABBit 2: DMABBit 1: DMABBit 0: DMAB0
BitSzer.PoleDostępOpis
0–3132DMAB`rw`DMA register for burst accesses A read or write operation to the DMAR register accesses the register located at the address (TIMx_CR1 address) + (DBA + DMA index) x 4 where TIMx_CR1 address is the address of the control register 1, DBA is the DMA base address configured in TIMx_DCR register, DMA index is automatically controlled by the DMA transfer, and ranges from 0 to DBL (DBL configured in TIMx_DCR).
Rejestr: OR1  0x40012C50
rw

option register 1

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: zarezerwowanyBit 10: zarezerwowanyBit 9: zarezerwowanyBit 8: zarezerwowany8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: zarezerwowany4Bit 3: zarezerwowanyBit 2: zarezerwowanyBit 1: zarezerwowanyBit 0: OCREF_CLR0
BitSzer.PoleDostępOpis
01OCREF_CLR`rw`Ocref_clr source selection This bit selects the ocref_clr input source.
Rejestr: CCMR3_Output  0x40012C54
rw

capture/compare mode register 2 (output mode)

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: OC6M_324Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: OC5M_316Bit 15: OC6CEBit 14: OC6MBit 13: OC6MBit 12: OC6M12Bit 11: OC6PEBit 10: OC6FEBit 9: zarezerwowanyBit 8: zarezerwowany8Bit 7: OC5CEBit 6: OC5MBit 5: OC5MBit 4: OC5M4Bit 3: OC5PEBit 2: OC5FEBit 1: zarezerwowanyBit 0: zarezerwowany0
BitSzer.PoleDostępOpis
21OC5FEOutput compare 5 fast enable
31OC5PEOutput compare 5 preload enable
4–63OC5MOutput compare 5 mode
71OC5CEOutput compare 5 clear enable
101OC6FEOutput compare 6 fast enable
111OC6PEOutput compare 6 preload enable
12–143OC6MOutput compare 6 mode
151OC6CEOutput compare 6 clear enable
161OC5M_3Output compare 5 mode, bit 3
241OC6M_3Output compare 6 mode, bit 3
Rejestr: CCR5  0x40012C58
rw

capture/compare register

Bit 31: GC5C331Bit 30: GC5C2Bit 29: GC5C1Bit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CCRBit 14: CCRBit 13: CCRBit 12: CCR12Bit 11: CCRBit 10: CCRBit 9: CCRBit 8: CCR8Bit 7: CCRBit 6: CCRBit 5: CCRBit 4: CCR4Bit 3: CCRBit 2: CCRBit 1: CCRBit 0: CCR0
BitSzer.PoleDostępOpis
0–1516CCR`rw`Capture/Compare value
291GC5C1`rw`Group Channel 5 and Channel 1 Distortion on Channel 1 output: This bit can either have immediate effect or be preloaded and taken into account after an update event (if preload feature is selected in TIMxCCMR1). Note: it is also possible to apply this distortion on combined PWM signals.
301GC5C2`rw`Group Channel 5 and Channel 2 Distortion on Channel 2 output: This bit can either have immediate effect or be preloaded and taken into account after an update event (if preload feature is selected in TIMxCCMR1). Note: it is also possible to apply this distortion on combined PWM signals.
311GC5C3`rw`Group Channel 5 and Channel 3 Distortion on Channel 3 output: This bit can either have immediate effect or be preloaded and taken into account after an update event (if preload feature is selected in TIMxCCMR2). Note: it is also possible to apply this distortion on combined PWM signals.
Rejestr: CCR6  0x40012C5C
rw

capture/compare register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: CCR:Bit 14: CCR:Bit 13: CCR:Bit 12: CCR:12Bit 11: CCR:Bit 10: CCR:Bit 9: CCR:Bit 8: CCR:8Bit 7: CCR:Bit 6: CCR:Bit 5: CCR:Bit 4: CCR:4Bit 3: CCR:Bit 2: CCR:Bit 1: CCR:Bit 0: CCR:0
BitSzer.PoleDostępOpis
0–1516CCR:Capture/Compare value
Rejestr: AF1  0x40012C60
rw

DMA address for full transfer

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: ETRSELBit 16: ETRSEL16Bit 15: ETRSELBit 14: ETRSELBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: BKCMP2PBit 10: BKCMP1PBit 9: BKINPBit 8: zarezerwowany8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: zarezerwowany4Bit 3: zarezerwowanyBit 2: BKCMP2EBit 1: BKCMP1EBit 0: BKINE0
BitSzer.PoleDostępOpis
01BKINE`rw`BRK BKIN input enable This bit enables the BKIN alternate function input for the timer's BRK input. BKIN input is 'ORed' with the other BRK sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
11BKCMP1E`rw`BRK COMP1 enable This bit enables the COMP1 for the timer's BRK input. COMP1 output is 'ORed' with the other BRK sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
21BKCMP2E`rw`BRK COMP2 enable This bit enables the COMP2 for the timer's BRK input. COMP2 output is 'ORed' with the other BRK sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
91BKINP`rw`BRK BKIN input polarity This bit selects the BKIN alternate function input sensitivity. It must be programmed together with the BKP polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
101BKCMP1P`rw`BRK COMP1 input polarity This bit selects the COMP1 input sensitivity. It must be programmed together with the BKP polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
111BKCMP2P`rw`BRK COMP2 input polarity This bit selects the COMP2 input sensitivity. It must be programmed together with the BKP polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
14–174ETRSEL`rw`ETR source selection These bits select the ETR input source. Others: Reserved Note: These bits can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
Rejestr: AF2  0x40012C64
rw

DMA address for full transfer

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: zarezerwowanyBit 26: zarezerwowanyBit 25: zarezerwowanyBit 24: zarezerwowany24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: zarezerwowanyBit 18: zarezerwowanyBit 17: zarezerwowanyBit 16: zarezerwowany16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: BK2CMP2PBit 10: BK2CMP1PBit 9: BK2INPBit 8: zarezerwowany8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: zarezerwowany4Bit 3: zarezerwowanyBit 2: BK2CMP2EBit 1: BK2CMP1EBit 0: BK2INE0
BitSzer.PoleDostępOpis
01BK2INE`rw`BRK2 BKIN input enable This bit enables the BKIN2 alternate function input for the timer's BRK2 input. BKIN2 input is 'ORed' with the other BRK2 sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
11BK2CMP1E`rw`BRK2 COMP1 enable This bit enables the COMP1 for the timer's BRK2 input. COMP1 output is 'ORed' with the other BRK2 sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
21BK2CMP2E`rw`BRK2 COMP2 enable This bit enables the COMP2 for the timer's BRK2 input. COMP2 output is 'ORed' with the other BRK2 sources. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
91BK2INP`rw`BRK2 BKIN2 input polarity This bit selects the BKIN2 alternate function input sensitivity. It must be programmed together with the BK2P polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
101BK2CMP1P`rw`BRK2 COMP1 input polarity This bit selects the COMP1 input sensitivity. It must be programmed together with the BK2P polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
111BK2CMP2P`rw`BRK2 COMP2 input polarity This bit selects the COMP2 input sensitivity. It must be programmed together with the BK2P polarity bit. Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits in TIMx_BDTR register).
Rejestr: TISEL  0x40012C68
rw

TIM1 timer input selection register

Bit 31: zarezerwowany31Bit 30: zarezerwowanyBit 29: zarezerwowanyBit 28: zarezerwowany28Bit 27: TI4SELBit 26: TI4SELBit 25: TI4SELBit 24: TI4SEL24Bit 23: zarezerwowanyBit 22: zarezerwowanyBit 21: zarezerwowanyBit 20: zarezerwowany20Bit 19: TI3SELBit 18: TI3SELBit 17: TI3SELBit 16: TI3SEL16Bit 15: zarezerwowanyBit 14: zarezerwowanyBit 13: zarezerwowanyBit 12: zarezerwowany12Bit 11: TI2SELBit 10: TI2SELBit 9: TI2SELBit 8: TI2SEL8Bit 7: zarezerwowanyBit 6: zarezerwowanyBit 5: zarezerwowanyBit 4: zarezerwowany4Bit 3: TI1SELBit 2: TI1SELBit 1: TI1SELBit 0: TI1SEL0
BitSzer.PoleDostępOpis
0–34TI1SEL`rw`selects TI1[0] to TI1[15] input Others: Reserved
8–114TI2SEL`rw`selects TI2[0] to TI2[15] input Others: Reserved
16–194TI3SEL`rw`selects TI3[0] to TI3[15] input Others: Reserved
24–274TI4SEL`rw`selects TI4[0] to TI4[15] input Others: Reserved