Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_pwm.c285 uint16_t modulo = 0; in PWM_SetupPwm() local
311 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()
313 base->SM[subModule].INIT = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
318 base->SM[subModule].VAL1 = modulo - 1U; in PWM_SetupPwm()
362 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()
364 base->SM[subModule].INIT = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
369 base->SM[subModule].VAL1 = modulo - 1U; in PWM_SetupPwm()
375 base->SM[subModule].VAL2 = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
376 base->SM[subModule].VAL3 = PWM_GetComplementU16(modulo) + pwmHighPulse; in PWM_SetupPwm()
380 base->SM[subModule].VAL4 = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
[all …]
Dfsl_flexio_mculcd_edma.c66 static bool FLEXIO_MCULCD_GetEDMAModulo(uint8_t shifterNum, edma_modulo_t *modulo);
277 static bool FLEXIO_MCULCD_GetEDMAModulo(uint8_t shifterNum, edma_modulo_t *modulo) in FLEXIO_MCULCD_GetEDMAModulo() argument
284 *modulo = kEDMA_Modulo4bytes; in FLEXIO_MCULCD_GetEDMAModulo()
287 *modulo = kEDMA_Modulo8bytes; in FLEXIO_MCULCD_GetEDMAModulo()
290 *modulo = kEDMA_Modulo16bytes; in FLEXIO_MCULCD_GetEDMAModulo()
293 *modulo = kEDMA_Modulo32bytes; in FLEXIO_MCULCD_GetEDMAModulo()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_pwm.c285 uint16_t modulo = 0; in PWM_SetupPwm() local
311 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()
313 base->SM[subModule].INIT = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
318 base->SM[subModule].VAL1 = modulo - 1U; in PWM_SetupPwm()
362 modulo = (pulseCnt >> 1U); in PWM_SetupPwm()
364 base->SM[subModule].INIT = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
369 base->SM[subModule].VAL1 = modulo - 1U; in PWM_SetupPwm()
375 base->SM[subModule].VAL2 = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
376 base->SM[subModule].VAL3 = PWM_GetComplementU16(modulo) + pwmHighPulse; in PWM_SetupPwm()
380 base->SM[subModule].VAL4 = PWM_GetComplementU16(modulo); in PWM_SetupPwm()
[all …]