Lines Matching refs:flexioBase
77 return FLEXIO_GetInstance(base->flexioBase); in FLEXIO_I2C_GetInstance()
127 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()
134 …while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferInitStateMachine()
143 while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferInitStateMachine()
162 FLEXIO_ClearShifterErrorFlags(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterTransferRunStateMachine()
236 while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & in FLEXIO_I2C_MasterTransferRunStateMachine()
247 … (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferRunStateMachine()
350 …while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferRunStateMachine()
359 … while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferRunStateMachine()
405 … (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferRunStateMachine()
414 … while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferRunStateMachine()
474 if ((FLEXIO_ReadPinInput(base->flexioBase) & mask) == mask) in FLEXIO_I2C_CheckForBusyBus()
541 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[0], &shifterConfig); in FLEXIO_I2C_MasterInit()
554 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[1], &shifterConfig); 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()
623 controlVal = base->flexioBase->CTRL; in FLEXIO_I2C_MasterInit()
633 base->flexioBase->CTRL = controlVal; in FLEXIO_I2C_MasterInit()
648 base->flexioBase->SHIFTCFG[base->shifterIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
649 base->flexioBase->SHIFTCTL[base->shifterIndex[0]] = 0; in FLEXIO_I2C_MasterDeinit()
650 base->flexioBase->SHIFTCFG[base->shifterIndex[1]] = 0; in FLEXIO_I2C_MasterDeinit()
651 base->flexioBase->SHIFTCTL[base->shifterIndex[1]] = 0; in FLEXIO_I2C_MasterDeinit()
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()
655 base->flexioBase->TIMCFG[base->timerIndex[1]] = 0; in FLEXIO_I2C_MasterDeinit()
656 base->flexioBase->TIMCMP[base->timerIndex[1]] = 0; in FLEXIO_I2C_MasterDeinit()
657 base->flexioBase->TIMCTL[base->timerIndex[1]] = 0; in FLEXIO_I2C_MasterDeinit()
658 base->flexioBase->TIMCFG[base->timerIndex[2]] = 0; in FLEXIO_I2C_MasterDeinit()
659 base->flexioBase->TIMCMP[base->timerIndex[2]] = 0; in FLEXIO_I2C_MasterDeinit()
660 base->flexioBase->TIMCTL[base->timerIndex[2]] = 0; in FLEXIO_I2C_MasterDeinit()
662 base->flexioBase->SHIFTSTAT = (1UL << base->shifterIndex[0]); in FLEXIO_I2C_MasterDeinit()
663 base->flexioBase->SHIFTSTAT = (1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterDeinit()
665 base->flexioBase->TIMSTAT = (1UL << base->timerIndex[0]); in FLEXIO_I2C_MasterDeinit()
666 base->flexioBase->TIMSTAT = (1UL << base->timerIndex[1]); in FLEXIO_I2C_MasterDeinit()
667 base->flexioBase->TIMSTAT = (1UL << base->timerIndex[2]); in FLEXIO_I2C_MasterDeinit()
709 …((FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0])) >> base->shifte… in FLEXIO_I2C_MasterGetStatusFlags()
711 …(((FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[1])) >> (base->shif… in FLEXIO_I2C_MasterGetStatusFlags()
714 …(((FLEXIO_GetShifterErrorFlags(base->flexioBase) & (1UL << base->shifterIndex[1])) >> (base->shift… in FLEXIO_I2C_MasterGetStatusFlags()
734 FLEXIO_ClearShifterStatusFlags(base->flexioBase, 1UL << base->shifterIndex[0]); in FLEXIO_I2C_MasterClearStatusFlags()
739 FLEXIO_ClearShifterStatusFlags(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterClearStatusFlags()
744 FLEXIO_ClearShifterErrorFlags(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterClearStatusFlags()
760 FLEXIO_EnableShifterStatusInterrupts(base->flexioBase, 1UL << base->shifterIndex[0]); in FLEXIO_I2C_MasterEnableInterrupts()
764 FLEXIO_EnableShifterStatusInterrupts(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterEnableInterrupts()
778 FLEXIO_DisableShifterStatusInterrupts(base->flexioBase, 1UL << base->shifterIndex[0]); in FLEXIO_I2C_MasterDisableInterrupts()
782 FLEXIO_DisableShifterStatusInterrupts(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterDisableInterrupts()
796 FLEXIO_Type *flexioBase = base->flexioBase; in FLEXIO_I2C_MasterSetBaudRate() local
801 flexioBase->TIMCMP[base->timerIndex[1]] = timerDiv; in FLEXIO_I2C_MasterSetBaudRate()
827 FLEXIO_Type *flexioBase = base->flexioBase; in FLEXIO_I2C_MasterSetTransferCount() local
829 flexioBase->TIMCMP[base->timerIndex[0]] = (uint32_t)count * 18U + 1U; in FLEXIO_I2C_MasterSetTransferCount()
830 timerConfig = flexioBase->TIMCFG[base->timerIndex[0]]; in FLEXIO_I2C_MasterSetTransferCount()
833 flexioBase->TIMCFG[base->timerIndex[0]] = timerConfig; in FLEXIO_I2C_MasterSetTransferCount()
896 tmpConfig = base->flexioBase->TIMCFG[base->timerIndex[0]]; in FLEXIO_I2C_MasterAbortStop()
899 base->flexioBase->TIMCFG[base->timerIndex[0]] = tmpConfig; in FLEXIO_I2C_MasterAbortStop()
902 tmpConfig = base->flexioBase->TIMCFG[base->timerIndex[1]]; in FLEXIO_I2C_MasterAbortStop()
905 base->flexioBase->TIMCFG[base->timerIndex[1]] = tmpConfig; in FLEXIO_I2C_MasterAbortStop()
918 tmpConfig = base->flexioBase->SHIFTCFG[base->shifterIndex[0]]; in FLEXIO_I2C_MasterEnableAck()
928 base->flexioBase->SHIFTCFG[base->shifterIndex[0]] = tmpConfig; in FLEXIO_I2C_MasterEnableAck()
976 FLEXIO_ClearShifterErrorFlags(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterWriteBlocking()
1086 …FLEXIO_ClearTimerStatusFlags(base->flexioBase, ((1UL << base->timerIndex[0]) | (1UL << base->timer… in FLEXIO_I2C_MasterTransferBlocking()
1093 while (0U == (FLEXIO_GetTimerStatusFlags(base->flexioBase) & (1UL << base->timerIndex[1]))) in FLEXIO_I2C_MasterTransferBlocking()