Lines Matching refs:tmpcfgr
256 uint32_t tmpcfgr; in HAL_LPTIM_Init() local
343 tmpcfgr = hlptim->Instance->CFGR; in HAL_LPTIM_Init()
348 tmpcfgr &= (uint32_t)(~(LPTIM_CFGR_CKPOL | LPTIM_CFGR_CKFLT)); in HAL_LPTIM_Init()
352 tmpcfgr &= (uint32_t)(~(LPTIM_CFGR_TRGFLT | LPTIM_CFGR_TRIGSEL)); in HAL_LPTIM_Init()
356 tmpcfgr &= (uint32_t)(~(LPTIM_CFGR_CKSEL | LPTIM_CFGR_TRIGEN | LPTIM_CFGR_PRELOAD | in HAL_LPTIM_Init()
360 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
370 tmpcfgr |= (hlptim->Init.Trigger.SampleTime | in HAL_LPTIM_Init()
378 tmpcfgr |= (hlptim->Init.UltraLowPowerClock.Polarity | in HAL_LPTIM_Init()
386 tmpcfgr |= (hlptim->Init.Trigger.Source | in HAL_LPTIM_Init()
392 hlptim->Instance->CFGR = tmpcfgr; in HAL_LPTIM_Init()
1455 uint32_t tmpcfgr; in HAL_LPTIM_Encoder_Start() local
1467 tmpcfgr = hlptim->Instance->CFGR; in HAL_LPTIM_Encoder_Start()
1470 tmpcfgr &= (uint32_t)(~LPTIM_CFGR_CKPOL); in HAL_LPTIM_Encoder_Start()
1473 tmpcfgr |= hlptim->Init.UltraLowPowerClock.Polarity; in HAL_LPTIM_Encoder_Start()
1476 hlptim->Instance->CFGR = tmpcfgr; in HAL_LPTIM_Encoder_Start()
1527 uint32_t tmpcfgr; in HAL_LPTIM_Encoder_Start_IT() local
1540 tmpcfgr = hlptim->Instance->CFGR; in HAL_LPTIM_Encoder_Start_IT()
1543 tmpcfgr &= (uint32_t)(~LPTIM_CFGR_CKPOL); in HAL_LPTIM_Encoder_Start_IT()
1546 tmpcfgr |= hlptim->Init.UltraLowPowerClock.Polarity; in HAL_LPTIM_Encoder_Start_IT()
1549 hlptim->Instance->CFGR = tmpcfgr; in HAL_LPTIM_Encoder_Start_IT()
3586 uint32_t tmpcfgr; in LPTIM_OC1_SetConfig() local
3593 tmpcfgr = hlptim->Instance->CFGR; in LPTIM_OC1_SetConfig()
3594 tmpcfgr &= ~LPTIM_CFGR_WAVPOL_Msk; in LPTIM_OC1_SetConfig()
3595 tmpcfgr |= sConfig->OCPolarity << LPTIM_CFGR_WAVPOL_Pos; in LPTIM_OC1_SetConfig()
3598 hlptim->Instance->CFGR = tmpcfgr; in LPTIM_OC1_SetConfig()