49 #include "IfxQspi_reg.h"
736 qspi->FLAGSCLEAR.U = 0xFFFFU;
742 qspi->FLAGSCLEAR.B.RXC = 1U;
748 qspi->FLAGSCLEAR.B.TXC = 1U;
754 qspi->GLOBALCON1.B.PT1 = pt1Config;
760 qspi->GLOBALCON1.B.PT2 = pt2Config;
766 qspi->GLOBALCON.B.LB = 1;
788 qspi->GLOBALCON1.B.PT1EN =
enable;
794 qspi->GLOBALCON1.B.PT2EN =
enable;
800 qspi->GLOBALCON1.B.USREN =
enable;
807 qspi->GLOBALCON.B.RESETS = 4;
814 qspi->GLOBALCON.B.RESETS = 2;
820 return qspi->STATUS.B.ERRORFLAGS;
827 return &MODULE_SRC.QSPI.QSPI[index].ERR;
836 uint32 index = distance / singleDistance;
861 return qspi->STATUS.B.RXFIFOLEVEL;
868 return &MODULE_SRC.QSPI.QSPI[index].RX;
880 return qspi->STATUS.B.TXFIFOLEVEL;
887 return &MODULE_SRC.QSPI.QSPI[index].TX;
950 return (qspi->CLC.B.DISS == 0) ?
TRUE :
FALSE;
956 qspi->GLOBALCON.B.EN = 0;
965 return qspi->RXEXIT.U;
971 qspi->GLOBALCON.B.RESETS = reset;
977 qspi->GLOBALCON.B.EN = 1;
983 qspi->CLC.B.DISR = 1;
989 qspi->CLC.B.DISR = 0;
995 qspi->GLOBALCON1.B.RXFIFOINT = rxFifoInt;
1001 qspi->CLC.B.EDIS = mode;
1007 qspi->GLOBALCON1.B.TXFIFOINT = txFifoInt;
1013 qspi->BACONENTRY.U = baconVal;
1019 Ifx_QSPI_BACON bacon;
1023 qspi->BACONENTRY.U = bacon.U;
1029 Ifx_QSPI_BACON bacon;
1033 qspi->BACONENTRY.U = bacon.U;
1039 int cs = channelId % 8;
1040 qspi->ECON[cs].U = econVal;
1046 qspi->MIXENTRY.U = mixEntryVal;
1052 qspi->DATAENTRY[0].U = data;