Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_mculcd.c143 timerCompare = base->flexioBase->TIMCMP[base->timerIndex]; in FLEXIO_MCULCD_SetBaudRate()
147 base->flexioBase->TIMCMP[base->timerIndex] = timerCompare; in FLEXIO_MCULCD_SetBaudRate()
327 …FLEXIO_SHIFTCTL_TIMSEL(base->timerIndex) | FLEXIO_SHIFTCTL_TIMPOL(kFLEXIO_ShifterTimerPolarityOnPo… in FLEXIO_MCULCD_SetSingleBeatWriteConfig()
331 timerCompare = base->flexioBase->TIMCMP[base->timerIndex] & 0xFFU; in FLEXIO_MCULCD_SetSingleBeatWriteConfig()
337 base->flexioBase->TIMCMP[base->timerIndex] = (1UL << 8U) | timerCompare; in FLEXIO_MCULCD_SetSingleBeatWriteConfig()
340 base->flexioBase->TIMCFG[base->timerIndex] = in FLEXIO_MCULCD_SetSingleBeatWriteConfig()
347 base->flexioBase->TIMCTL[base->timerIndex] = in FLEXIO_MCULCD_SetSingleBeatWriteConfig()
367 base->flexioBase->TIMCTL[base->timerIndex] = 0U; in FLEXIO_MCULCD_ClearSingleBeatWriteConfig()
368 base->flexioBase->TIMCFG[base->timerIndex] = 0U; in FLEXIO_MCULCD_ClearSingleBeatWriteConfig()
370 base->flexioBase->TIMSTAT = (1UL << base->timerIndex); in FLEXIO_MCULCD_ClearSingleBeatWriteConfig()
[all …]
Dfsl_flexio_i2c_master.c127 uint32_t tmpConfig = base->flexioBase->TIMCFG[base->timerIndex[1]]; in FLEXIO_I2C_MasterTransferInitStateMachine()
130 base->flexioBase->TIMCFG[base->timerIndex[1]] = tmpConfig; in FLEXIO_I2C_MasterTransferInitStateMachine()
533 shifterConfig.timerSelect = base->timerIndex[2]; in FLEXIO_I2C_MasterInit()
546 shifterConfig.timerSelect = base->timerIndex[2]; in FLEXIO_I2C_MasterInit()
582 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[1], &timerConfig); in FLEXIO_I2C_MasterInit()
601 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in FLEXIO_I2C_MasterInit()
622 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[2], &timerConfig); in FLEXIO_I2C_MasterInit()
654 base->flexioBase->TIMCFG[base->timerIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
655 base->flexioBase->TIMCMP[base->timerIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
656 base->flexioBase->TIMCTL[base->timerIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
[all …]
Dfsl_flexio_spi.c217 shifterConfig.timerSelect = base->timerIndex[0]; in FLEXIO_SPI_MasterInit()
239 shifterConfig.timerSelect = base->timerIndex[0]; in FLEXIO_SPI_MasterInit()
282 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in FLEXIO_SPI_MasterInit()
285 timerConfig.triggerSelect = FLEXIO_TIMER_TRIGGER_SEL_TIMn(base->timerIndex[0]); in FLEXIO_SPI_MasterInit()
302 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[1], &timerConfig); in FLEXIO_SPI_MasterInit()
316 base->flexioBase->TIMCFG[base->timerIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
317 base->flexioBase->TIMCMP[base->timerIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
318 base->flexioBase->TIMCTL[base->timerIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
319 base->flexioBase->TIMCFG[base->timerIndex[1]] = 0; in FLEXIO_SPI_MasterDeinit()
320 base->flexioBase->TIMCMP[base->timerIndex[1]] = 0; in FLEXIO_SPI_MasterDeinit()
[all …]
Dfsl_flexio_uart.c160 shifterConfig.timerSelect = base->timerIndex[0]; in FLEXIO_UART_Init()
215 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in FLEXIO_UART_Init()
218 shifterConfig.timerSelect = base->timerIndex[1]; in FLEXIO_UART_Init()
248 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[1], &timerConfig); in FLEXIO_UART_Init()
266 base->flexioBase->TIMCFG[base->timerIndex[0]] = 0; in FLEXIO_UART_Deinit()
267 base->flexioBase->TIMCMP[base->timerIndex[0]] = 0; in FLEXIO_UART_Deinit()
268 base->flexioBase->TIMCTL[base->timerIndex[0]] = 0; in FLEXIO_UART_Deinit()
269 base->flexioBase->TIMCFG[base->timerIndex[1]] = 0; in FLEXIO_UART_Deinit()
270 base->flexioBase->TIMCMP[base->timerIndex[1]] = 0; in FLEXIO_UART_Deinit()
271 base->flexioBase->TIMCTL[base->timerIndex[1]] = 0; in FLEXIO_UART_Deinit()
[all …]
Dfsl_flexio_spi_edma.c325 uint16_t timerCmp = (uint16_t)base->flexioBase->TIMCMP[base->timerIndex[0]]; in FLEXIO_SPI_MasterTransferEDMA()
357 base->flexioBase->TIMCMP[base->timerIndex[0]] = dataMode; in FLEXIO_SPI_MasterTransferEDMA()
469 base->flexioBase->TIMCMP[base->timerIndex[0]] = dataMode; in FLEXIO_SPI_SlaveTransferEDMA()
Dfsl_flexio_i2c_master.h71 uint8_t timerIndex[3]; /*!< Timer index used in FlexIO I2C. */ member
Dfsl_flexio_uart.h81 uint8_t timerIndex[2]; /*!< Timer index used in FlexIO UART. */ member
Dfsl_flexio_mculcd.h117 uint8_t timerIndex; /*!< Timer index used in FlexIO MCULCD. */ member
Dfsl_flexio_spi.h113 uint8_t timerIndex[2]; /*!< Timer index used in FlexIO SPI. */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_i2c_master.c127 uint32_t tmpConfig = base->flexioBase->TIMCFG[base->timerIndex[1]]; in FLEXIO_I2C_MasterTransferInitStateMachine()
130 base->flexioBase->TIMCFG[base->timerIndex[1]] = tmpConfig; in FLEXIO_I2C_MasterTransferInitStateMachine()
531 shifterConfig.timerSelect = base->timerIndex[2]; in FLEXIO_I2C_MasterInit()
544 shifterConfig.timerSelect = base->timerIndex[2]; in FLEXIO_I2C_MasterInit()
580 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[1], &timerConfig); in FLEXIO_I2C_MasterInit()
599 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in FLEXIO_I2C_MasterInit()
620 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[2], &timerConfig); in FLEXIO_I2C_MasterInit()
652 base->flexioBase->TIMCFG[base->timerIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
653 base->flexioBase->TIMCMP[base->timerIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
654 base->flexioBase->TIMCTL[base->timerIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
[all …]
Dfsl_flexio_spi.c217 shifterConfig.timerSelect = base->timerIndex[0]; in FLEXIO_SPI_MasterInit()
239 shifterConfig.timerSelect = base->timerIndex[0]; in FLEXIO_SPI_MasterInit()
282 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in FLEXIO_SPI_MasterInit()
285 timerConfig.triggerSelect = FLEXIO_TIMER_TRIGGER_SEL_TIMn(base->timerIndex[0]); in FLEXIO_SPI_MasterInit()
302 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[1], &timerConfig); in FLEXIO_SPI_MasterInit()
316 base->flexioBase->TIMCFG[base->timerIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
317 base->flexioBase->TIMCMP[base->timerIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
318 base->flexioBase->TIMCTL[base->timerIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
319 base->flexioBase->TIMCFG[base->timerIndex[1]] = 0; in FLEXIO_SPI_MasterDeinit()
320 base->flexioBase->TIMCMP[base->timerIndex[1]] = 0; in FLEXIO_SPI_MasterDeinit()
[all …]
Dfsl_flexio_uart.c158 shifterConfig.timerSelect = base->timerIndex[0]; in FLEXIO_UART_Init()
199 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in FLEXIO_UART_Init()
202 shifterConfig.timerSelect = base->timerIndex[1]; in FLEXIO_UART_Init()
232 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[1], &timerConfig); in FLEXIO_UART_Init()
250 base->flexioBase->TIMCFG[base->timerIndex[0]] = 0; in FLEXIO_UART_Deinit()
251 base->flexioBase->TIMCMP[base->timerIndex[0]] = 0; in FLEXIO_UART_Deinit()
252 base->flexioBase->TIMCTL[base->timerIndex[0]] = 0; in FLEXIO_UART_Deinit()
253 base->flexioBase->TIMCFG[base->timerIndex[1]] = 0; in FLEXIO_UART_Deinit()
254 base->flexioBase->TIMCMP[base->timerIndex[1]] = 0; in FLEXIO_UART_Deinit()
255 base->flexioBase->TIMCTL[base->timerIndex[1]] = 0; in FLEXIO_UART_Deinit()
[all …]
Dfsl_flexio_spi_edma.c325 uint16_t timerCmp = (uint16_t)base->flexioBase->TIMCMP[base->timerIndex[0]]; in FLEXIO_SPI_MasterTransferEDMA()
357 base->flexioBase->TIMCMP[base->timerIndex[0]] = dataMode; in FLEXIO_SPI_MasterTransferEDMA()
469 base->flexioBase->TIMCMP[base->timerIndex[0]] = dataMode; in FLEXIO_SPI_SlaveTransferEDMA()
Dfsl_flexio_i2c_master.h72 uint8_t timerIndex[3]; /*!< Timer index used in FlexIO I2C. */ member
Dfsl_flexio_uart.h79 uint8_t timerIndex[2]; /*!< Timer index used in FlexIO UART. */ member
Dfsl_flexio_spi.h113 uint8_t timerIndex[2]; /*!< Timer index used in FlexIO SPI. */ member