/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/cmp/ |
D | fsl_cmp.c | 74 uint8_t tmp8; in CMP_Init() local 84 …tmp8 = (uint8_t)(base->CR1 & ~(CMP_CR1_PMODE_MASK | CMP_CR1_INV_MASK | CMP_CR1_COS_MASK | CMP_CR1_… in CMP_Init() 87 tmp8 |= CMP_CR1_PMODE_MASK; in CMP_Init() 91 tmp8 |= CMP_CR1_INV_MASK; in CMP_Init() 95 tmp8 |= CMP_CR1_COS_MASK; in CMP_Init() 99 tmp8 |= CMP_CR1_OPE_MASK; in CMP_Init() 104 tmp8 |= CMP_CR1_TRIGM_MASK; in CMP_Init() 108 tmp8 &= ~(uint8_t)CMP_CR1_TRIGM_MASK; in CMP_Init() 111 base->CR1 = tmp8; in CMP_Init() 114 tmp8 = base->CR0 & ~(uint8_t)CMP_CR0_HYSTCTR_MASK; in CMP_Init() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/dac/ |
D | fsl_dac.c | 72 uint8_t tmp8; in DAC_Init() local 81 tmp8 = base->C0 & (uint8_t)(~(DAC_C0_DACRFS_MASK | DAC_C0_LPEN_MASK)); in DAC_Init() 84 tmp8 |= DAC_C0_DACRFS_MASK; in DAC_Init() 88 tmp8 |= DAC_C0_LPEN_MASK; in DAC_Init() 90 base->C0 = tmp8; in DAC_Init() 146 uint8_t tmp8; in DAC_SetBufferConfig() local 149 tmp8 = base->C0 & (uint8_t)(~DAC_C0_DACTRGSEL_MASK); in DAC_SetBufferConfig() 152 tmp8 |= DAC_C0_DACTRGSEL_MASK; in DAC_SetBufferConfig() 154 base->C0 = tmp8; in DAC_SetBufferConfig() 157 tmp8 = base->C1 & (uint8_t)(~( in DAC_SetBufferConfig() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/acmp_1/ |
D | fsl_acmp.c | 73 uint8_t tmp8; in ACMP_Init() local 84 tmp8 = base->CS & (uint8_t)(~(ACMP_CS_HYST_MASK | ACMP_CS_ACOPE_MASK)); in ACMP_Init() 86 tmp8 |= ACMP_CS_HYST(config->hysteresisMode); in ACMP_Init() 89 tmp8 |= ACMP_CS_ACOPE_MASK; in ACMP_Init() 91 base->CS = tmp8; in ACMP_Init() 141 uint8_t tmp8; in ACMP_EnableInterrupt() local 144 tmp8 = base->CS & (uint8_t)(~ACMP_CS_ACMOD_MASK); in ACMP_EnableInterrupt() 146 tmp8 |= ACMP_CS_ACIE_MASK | ACMP_CS_ACMOD(mode); in ACMP_EnableInterrupt() 147 base->CS = tmp8; in ACMP_EnableInterrupt() 161 uint8_t tmp8; in ACMP_SetChannelConfig() local [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/components/pf5020/ |
D | fsl_pf5020.c | 196 uint8_t tmp8; in PF5020_SetRegulatorCommonConfig() local 209 … tmp8 = PF5020_REGULATOR_PG_EN(enablePGMonitor) | PF5020_REGULATOR_WDBYPASS(enableWatchdogBypass) | in PF5020_SetRegulatorCommonConfig() 213 status = PF5020_ModifyReg(handle, PF5020_SW2_CONFIG1 + regAddrShift, 0xE3U, tmp8); in PF5020_SetRegulatorCommonConfig() 323 uint8_t tmp8; in PF5020_ModifyReg() local 325 status = PF5020_ReadReg(handle, regAddr, &tmp8); in PF5020_ModifyReg() 329 tmp8 &= (uint8_t)~mask; in PF5020_ModifyReg() 330 tmp8 |= (val & mask); in PF5020_ModifyReg() 331 status = PF5020_WriteReg(handle, regAddr, tmp8); in PF5020_ModifyReg() 439 uint8_t tmp8; in PF5020_SetPowerUpSequence() local 445 status = PF5020_ReadReg(handle, seqReqArray[i], &tmp8); in PF5020_SetPowerUpSequence() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE15Z4/drivers/ |
D | fsl_clock.c | 281 uint8_t tmp8; in CLOCK_InitSysOsc() local 321 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 322 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 323 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE14Z4/drivers/ |
D | fsl_clock.c | 281 uint8_t tmp8; in CLOCK_InitSysOsc() local 321 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 322 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 323 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE13Z7/drivers/ |
D | fsl_clock.c | 302 uint8_t tmp8; in CLOCK_InitSysOsc() local 342 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 343 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 344 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE12Z7/drivers/ |
D | fsl_clock.c | 305 uint8_t tmp8; in CLOCK_InitSysOsc() local 345 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 346 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 347 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE17Z7/drivers/ |
D | fsl_clock.c | 302 uint8_t tmp8; in CLOCK_InitSysOsc() local 342 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 343 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 344 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE16Z4/drivers/ |
D | fsl_clock.c | 281 uint8_t tmp8; in CLOCK_InitSysOsc() local 321 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 322 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 323 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE14Z7/drivers/ |
D | fsl_clock.c | 346 uint8_t tmp8; in CLOCK_InitSysOsc() local 386 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 387 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 388 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE15Z7/drivers/ |
D | fsl_clock.c | 346 uint8_t tmp8; in CLOCK_InitSysOsc() local 386 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 387 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 388 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE14F16/drivers/ |
D | fsl_clock.c | 406 uint8_t tmp8; in CLOCK_InitSysOsc() local 446 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 447 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 448 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE16F16/drivers/ |
D | fsl_clock.c | 406 uint8_t tmp8; in CLOCK_InitSysOsc() local 446 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 447 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 448 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MKE18F16/drivers/ |
D | fsl_clock.c | 406 uint8_t tmp8; in CLOCK_InitSysOsc() local 446 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 447 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 448 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/K32L2A31A/drivers/ |
D | fsl_clock.c | 435 uint8_t tmp8; in CLOCK_InitSysOsc() local 476 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 477 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 478 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/K32L2A41A/drivers/ |
D | fsl_clock.c | 435 uint8_t tmp8; in CLOCK_InitSysOsc() local 476 tmp8 = config->enableMode; in CLOCK_InitSysOsc() 477 tmp8 |= SCG_SOSCCSR_SOSCEN_MASK; in CLOCK_InitSysOsc() 478 SCG->SOSCCSR = tmp8; in CLOCK_InitSysOsc()
|