static sdma_config_t s_tNetX90_SPI_SDMA_Cfg =
{
.enableRealTimeDebugPin = false,
.isSoftwareResetClearLock = true,
.ratio = kSDMA_HalfARMClockFreq,
};
static CTHAL_SPI_NXP_FSL_SDMA_Handles_t s_tNetX90_SPI_SDMA_Handles __attribute__((aligned(4))) =
{
.tSDMATXHandle = INIT_STRUCT_ZEROS,
.tSDMARXHandle = INIT_STRUCT_ZEROS,
};
static CTHAL_SPI_NXP_FSL_SDMA_Context_Data_t s_tNetX90_SPI_SDMA_Context_Data __attribute__((aligned(4))) =
{
.tSDMATXContextData = INIT_STRUCT_ZEROS,
.tSDMARXContextData = INIT_STRUCT_ZEROS,
};
static CTHAL_SPI_NXP_FSL_DMA_Cfg_t s_tNetX90_SPI_DMA_Cfg __attribute__((aligned(4))) =
{
.ptSDMAConfig = &s_tNetX90_SPI_SDMA_Cfg,
.ptSDMAAddr = SDMAARM1,
.ptSDMAHandles = &s_tNetX90_SPI_SDMA_Handles,
.ptSDMAContextData = &s_tNetX90_SPI_SDMA_Context_Data,
.ulTXDMAChannelNum = NETX90_SPI_SDMA_TX_CHANNEL,
.ulRXDMAChannelNum = NETX90_SPI_SDMA_RX_CHANNEL,
.bTXDMAChannelPriority = NETX90_SPI_SDMA_TX_CH_PRIO,
.bRXDMAChannelPriority = NETX90_SPI_SDMA_RX_CH_PRIO,
.ulEventSourceTx = NETX90_SPI_EVT_SRC_TX,
.ulEventSourceRx = NETX90_SPI_EVT_SRC_RX,
};
static CTHAL_SPI_NXP_FSL_ECSPI_Handle_t s_tNetX90_SPI_Handle __attribute__((aligned(4))) =
{
.tSDMAHandle = INIT_STRUCT_ZEROS,
};