Lines Matching refs:tmpcfgr
238 uint32_t tmpcfgr; in HAL_LPTIM_Init() local
325 tmpcfgr = hlptim->Instance->CFGR; in HAL_LPTIM_Init()
330 tmpcfgr &= (uint32_t)(~(LPTIM_CFGR_CKPOL | LPTIM_CFGR_CKFLT)); in HAL_LPTIM_Init()
334 tmpcfgr &= (uint32_t)(~(LPTIM_CFGR_TRGFLT | LPTIM_CFGR_TRIGSEL)); in HAL_LPTIM_Init()
338 tmpcfgr &= (uint32_t)(~(LPTIM_CFGR_CKSEL | LPTIM_CFGR_TRIGEN | LPTIM_CFGR_PRELOAD | in HAL_LPTIM_Init()
342 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
352 tmpcfgr |= (hlptim->Init.Trigger.SampleTime | in HAL_LPTIM_Init()
360 tmpcfgr |= (hlptim->Init.UltraLowPowerClock.Polarity | in HAL_LPTIM_Init()
368 tmpcfgr |= (hlptim->Init.Trigger.Source | in HAL_LPTIM_Init()
374 hlptim->Instance->CFGR = tmpcfgr; in HAL_LPTIM_Init()
1434 uint32_t tmpcfgr; in HAL_LPTIM_Encoder_Start() local
1446 tmpcfgr = hlptim->Instance->CFGR; in HAL_LPTIM_Encoder_Start()
1449 tmpcfgr &= (uint32_t)(~LPTIM_CFGR_CKPOL); in HAL_LPTIM_Encoder_Start()
1452 tmpcfgr |= hlptim->Init.UltraLowPowerClock.Polarity; in HAL_LPTIM_Encoder_Start()
1455 hlptim->Instance->CFGR = tmpcfgr; in HAL_LPTIM_Encoder_Start()
1506 uint32_t tmpcfgr; in HAL_LPTIM_Encoder_Start_IT() local
1519 tmpcfgr = hlptim->Instance->CFGR; in HAL_LPTIM_Encoder_Start_IT()
1522 tmpcfgr &= (uint32_t)(~LPTIM_CFGR_CKPOL); in HAL_LPTIM_Encoder_Start_IT()
1525 tmpcfgr |= hlptim->Init.UltraLowPowerClock.Polarity; in HAL_LPTIM_Encoder_Start_IT()
1528 hlptim->Instance->CFGR = tmpcfgr; in HAL_LPTIM_Encoder_Start_IT()
3553 uint32_t tmpcfgr; in LPTIM_OC1_SetConfig() local
3562 tmpcfgr = hlptim->Instance->CFGR; in LPTIM_OC1_SetConfig()
3563 tmpcfgr &= ~LPTIM_CFGR_WAVPOL_Msk; in LPTIM_OC1_SetConfig()
3564 tmpcfgr |= sConfig->OCPolarity << LPTIM_CFGR_WAVPOL_Pos; in LPTIM_OC1_SetConfig()
3567 hlptim->Instance->CFGR = tmpcfgr; in LPTIM_OC1_SetConfig()