stm32 /stm32n6 /STM32N645 /TIM8 /TIM8_CR1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as TIM8_CR1

15 1211 87 43 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)CEN 0 (B_0x0)UDIS 0 (B_0x0)URS 0 (B_0x0)OPM 0 (B_0x0)DIR 0 (B_0x0)CMS0 (B_0x0)ARPE 0 (B_0x0)CKD0 (B_0x0)UIFREMAP 0 (B_0x0)DITHEN

DIR=B_0x0, CEN=B_0x0, UIFREMAP=B_0x0, CKD=B_0x0, OPM=B_0x0, ARPE=B_0x0, UDIS=B_0x0, CMS=B_0x0, DITHEN=B_0x0, URS=B_0x0

Description

TIM8 control register 1

Fields

CEN

Counter enable

0 (B_0x0): Counter disabled

1 (B_0x1): Counter enabled

UDIS

Update disable

0 (B_0x0): UEV enabled. The Update (UEV) event is generated by one of the following events:

1 (B_0x1): UEV disabled. The Update event is not generated, shadow registers keep their value (ARR, PSC, CCRx). However the counter and the prescaler are reinitialized if the UG bit is set or if a hardware reset is received from the slave mode controller.

URS

Update request source

0 (B_0x0): Any of the following events generate an update interrupt or DMA request if enabled. These events can be:

1 (B_0x1): Only counter overflow/underflow generates an update interrupt or DMA request if enabled.

OPM

One-pulse mode

0 (B_0x0): Counter is not stopped at update event

1 (B_0x1): Counter stops counting at the next update event (clearing the bit CEN)

DIR

Direction

0 (B_0x0): Counter used as upcounter

1 (B_0x1): Counter used as downcounter

CMS

Center-aligned mode selection

0 (B_0x0): Edge-aligned mode. The counter counts up or down depending on the direction bit (DIR).

1 (B_0x1): Center-aligned mode 1. The counter counts up and down alternatively. Output compare interrupt flags of channels configured in output (CCxS=00 in TIMx_CCMRx register) are set only when the counter is counting down.

2 (B_0x2): Center-aligned mode 2. The counter counts up and down alternatively. Output compare interrupt flags of channels configured in output (CCxS=00 in TIMx_CCMRx register) are set only when the counter is counting up.

3 (B_0x3): Center-aligned mode 3. The counter counts up and down alternatively. Output compare interrupt flags of channels configured in output (CCxS=00 in TIMx_CCMRx register) are set both when the counter is counting up or down.

ARPE

Auto-reload preload enable

0 (B_0x0): TIMx_ARR register is not buffered

1 (B_0x1): TIMx_ARR register is buffered

CKD

Clock division

0 (B_0x0): t less than sub>DTS less than /sub>=t less than sub>tim_ker_ck less than /sub>

1 (B_0x1): t less than sub>DTS less than /sub>=2*t less than sub>tim_ker_ck less than /sub>

2 (B_0x2): t less than sub>DTS less than /sub>=4*t less than sub>tim_ker_ck less than /sub>

UIFREMAP

UIF status bit remapping

0 (B_0x0): No remapping. UIF status bit is not copied to TIMx_CNT register bit 31.

1 (B_0x1): Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31.

DITHEN

Dithering enable

0 (B_0x0): Dithering disabled

1 (B_0x1): Dithering enabled

Links

()