Home
last modified time | relevance | path

Searched refs:sourceShift (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/pwm/
Dfsl_pwm.c1358 uint16_t mask, swcout, sourceShift; in PWM_SetChannelOutput() local
1365 sourceShift = PWM_DTSRCSEL_SM0SEL23_SHIFT + ((uint16_t)subModule * 4U); in PWM_SetChannelOutput()
1371 sourceShift = PWM_DTSRCSEL_SM0SEL45_SHIFT + ((uint16_t)subModule * 4U); in PWM_SetChannelOutput()
1377 sourceShift = 0U; in PWM_SetChannelOutput()
1396 … (base->DTSRCSEL & ~(uint16_t)(0x3UL << sourceShift)) | (uint16_t)(0x2UL << sourceShift); in PWM_SetChannelOutput()
1402 … (base->DTSRCSEL & ~(uint16_t)(0x3UL << sourceShift)) | (uint16_t)(0x2UL << sourceShift); in PWM_SetChannelOutput()
1406 base->DTSRCSEL &= ~(uint16_t)(0x3UL << sourceShift); in PWM_SetChannelOutput()
1411 … (base->DTSRCSEL & ~(uint16_t)(0x3UL << sourceShift)) | (uint16_t)(0x1UL << sourceShift); in PWM_SetChannelOutput()