stm32 /stm32n6 /STM32N645 /TIM15 /TIM15_SMCR

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 TIM15_SMCR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)SMS0 (B_0x0)TS0 (B_0x0)MSM 0 (SMS_1)SMS_1 0TS_1 0 (B_0x0)SMSPE

TS=B_0x0, SMS=B_0x0, SMSPE=B_0x0, MSM=B_0x0

Description

TIM15 slave mode control register

Fields

SMS

SMS[0]: Slave mode selection

0 (B_0x0): Slave mode disabled - if CEN = 1’ then the prescaler is clocked directly by the internal clock.

4 (B_0x4): Reset Mode - Rising edge of the selected trigger input (tim_trgi) reinitializes the counter and generates an update of the registers.

5 (B_0x5): Gated Mode - The counter clock is enabled when the trigger input (tim_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 (B_0x6): Trigger Mode - The counter starts at a rising edge of the trigger tim_trgi (but it is not reset). Only the start of the counter is controlled.

7 (B_0x7): External Clock Mode 1 - Rising edges of the selected trigger (tim_trgi) clock the counter.

TS

TS[0]: Trigger selection

0 (B_0x0): Internal Trigger 0 (tim_itr0)

1 (B_0x1): Internal Trigger 1 (tim_itr1)

2 (B_0x2): Internal Trigger 2 (tim_itr2)

3 (B_0x3): Internal Trigger 3 (tim_itr3)

4 (B_0x4): tim_ti1 Edge Detector (tim_ti1f_ed)

5 (B_0x5): Filtered Timer Input 1 (tim_ti1fp1)

6 (B_0x6): Filtered Timer Input 2 (tim_ti2fp2)

MSM

Master/slave mode

0 (B_0x0): No action

1 (B_0x1): The effect of an event on the trigger input (tim_trgi) is delayed to allow a perfect synchronization between the current timer and its slaves (through tim_trgo). It is useful if we want to synchronize several timers on a single external event.

SMS_1

SMS[3]

TS_1

TS[4:3]

SMSPE

SMS preload enable

0 (B_0x0): SMS[3:0] bitfield is not preloaded

1 (B_0x1): SMS[3:0] preload is enabled

Links

()