Lines Matching refs:tmp

293   uint32_t tmp;  in LESENSE_ScanFreqSet()  local
356 tmp = LESENSE->TIMCTRL & (~_LESENSE_TIMCTRL_PCPRESC_MASK in LESENSE_ScanFreqSet()
360 tmp |= ((uint32_t)pcPresc << _LESENSE_TIMCTRL_PCPRESC_SHIFT) in LESENSE_ScanFreqSet()
364 LESENSE->TIMCTRL = tmp; in LESENSE_ScanFreqSet()
408 uint32_t tmp; /* temporary storage of the CTRL register value */ in LESENSE_ScanModeSet() local
416 tmp = LESENSE->CTRL & ~(_LESENSE_CTRL_SCANMODE_MASK); in LESENSE_ScanModeSet()
419 tmp |= (uint32_t)scanMode; in LESENSE_ScanModeSet()
422 LESENSE->CTRL = tmp; in LESENSE_ScanModeSet()
440 tmp = LESENSE->CFG & ~(_LESENSE_CFG_SCANMODE_MASK); in LESENSE_ScanModeSet()
443 tmp |= (uint32_t)scanMode; in LESENSE_ScanModeSet()
445 LESENSE->CFG = tmp; in LESENSE_ScanModeSet()
479 uint32_t tmp; /* Temporary storage of the TIMCTRL register value */ in LESENSE_StartDelaySet() local
504 tmp = LESENSE->TIMCTRL & ~(_LESENSE_TIMCTRL_STARTDLY_MASK); in LESENSE_StartDelaySet()
506 tmp |= (uint32_t)startDelay << _LESENSE_TIMCTRL_STARTDLY_SHIFT; in LESENSE_StartDelaySet()
509 LESENSE->TIMCTRL = tmp; in LESENSE_StartDelaySet()
546 uint32_t tmp; in LESENSE_ClkDivSet() local
571 tmp = LESENSE->TIMCTRL & ~(_LESENSE_TIMCTRL_AUXPRESC_MASK); in LESENSE_ClkDivSet()
574 tmp |= ((uint32_t)clkDiv << _LESENSE_TIMCTRL_AUXPRESC_SHIFT); in LESENSE_ClkDivSet()
577 LESENSE->TIMCTRL = tmp; in LESENSE_ClkDivSet()
582 tmp = LESENSE->TIMCTRL & ~(_LESENSE_TIMCTRL_LFPRESC_MASK); in LESENSE_ClkDivSet()
585 tmp |= ((uint32_t)clkDiv << _LESENSE_TIMCTRL_LFPRESC_SHIFT); in LESENSE_ClkDivSet()
588 LESENSE->TIMCTRL = tmp; in LESENSE_ClkDivSet()
661 uint32_t tmp; /* A service variable. */ in LESENSE_ChannelConfig() local
716 tmp = (LESENSE->IDLECONF & ~((uint32_t)0x3UL << (chIdx * 2UL))); in LESENSE_ChannelConfig()
717 tmp |= ((uint32_t)confCh->chPinIdleMode << (chIdx * 2UL)); in LESENSE_ChannelConfig()
718 LESENSE->IDLECONF = tmp; in LESENSE_ChannelConfig()
809 uint32_t tmp; in LESENSE_AltExConfig() local
832 tmp = (LESENSE->ALTEXCONF & ~((uint32_t)0x3UL << (i * 2UL))); in LESENSE_AltExConfig()
833 tmp |= ((uint32_t)confAltEx->AltEx[i].idleConf << (i * 2UL)); in LESENSE_AltExConfig()
834 LESENSE->ALTEXCONF = tmp; in LESENSE_AltExConfig()
1056 uint32_t tmp; /* A temporary storage */ in LESENSE_ChannelThresSet() local
1083 tmp = LESENSE->CH[chIdx].INTERACT & ~(0xFFF); in LESENSE_ChannelThresSet()
1085 tmp |= (uint32_t)acmpThres; in LESENSE_ChannelThresSet()
1087 LESENSE->CH[chIdx].INTERACT = tmp; in LESENSE_ChannelThresSet()
1092 tmp = LESENSE->CH[chIdx].EVAL & ~(_LESENSE_CH_EVAL_COMPTHRES_MASK); in LESENSE_ChannelThresSet()
1094 tmp |= (uint32_t)cntThres << _LESENSE_CH_EVAL_COMPTHRES_SHIFT; in LESENSE_ChannelThresSet()
1096 LESENSE->CH[chIdx].EVAL = tmp; in LESENSE_ChannelThresSet()