STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE void LL_TIM_SetRemap (TIM_TypeDef *TIMx, uint32_t Remap)
 Remap TIM inputs (input channel, internal/external triggers). More...
 

Detailed Description

Function Documentation

◆ LL_TIM_SetRemap()

__STATIC_INLINE void LL_TIM_SetRemap ( TIM_TypeDef *  TIMx,
uint32_t  Remap 
)

Remap TIM inputs (input channel, internal/external triggers).

Note
Macro IS_TIM_REMAP_INSTANCE(TIMx) can be used to check whether or not a some timer inputs can be remapped.
Parameters
TIMxTimer instance
RemapRemap param depends on the TIMx. Description available only in CHM version of the User Manual (not in .pdf). Otherwise see Reference Manual description of OR registers.

Below description summarizes "Timer Instance" and "Remap" param combinations:

Return values
None

Definition at line 3975 of file stm32l4xx_ll_tim.h.

3976 {
3977  MODIFY_REG(TIMx->OR1, (Remap >> TIMx_OR1_RMP_SHIFT), (Remap & TIMx_OR1_RMP_MASK));
3978 }
MODIFY_REG(hrtc->Instance->CR, RTC_CR_WUCKSEL,(uint32_t) WakeUpClock)