38 Ifx_SENT *sentSFR = driver->
sent;
48 boolean result =
TRUE;
52 Ifx_SENT_CH *sentCh = &sentSFR->CH[config->
channelId];
60 Ifx_SENT_CH_WDT tempWDT;
63 sentCh->WDT.U = tempWDT.U;
65 Ifx_SENT_CH_RCR tempRCR;
79 sentCh->RCR.U = tempRCR.U;
83 Ifx_SENT_CH_VIEW tempVIEW;
93 sentCh->VIEW.U = tempVIEW.U;
95 Ifx_SENT_CH_IOCR tempIOCR;
105 sentCh->IOCR.U = tempIOCR.U;
107 Ifx_SENT_CH_INP tempINP;
117 sentCh->INP.U = tempINP.U;
124 sentCh->INTEN.B.RSI = 0;
125 sentCh->INTEN.B.RDI = 1;
134 while ((sentCh->SCR.B.TRQ == 1) && (timeOut > 0))
147 Ifx_SENT_CH_SCR tempSCR;
153 sentCh->SCR.U = tempSCR.U;
158 sentCh->INTEN.B.TBI = 1U;
206 .receiveControl.endPulseIgnored =
FALSE,
207 .receiveControl.alternateCrcSelected =
FALSE,
208 .receiveControl.statusNibbleEnabled =
FALSE,
209 .receiveControl.serialDataProcessingEnabled =
FALSE,
210 .receiveControl.serialDataDisabledCrcDisabled =
FALSE,
211 .receiveControl.crcModeDisabled =
FALSE,
213 .receiveControl.frameLength = 6,
214 .receiveControl.crcMethodDisabled =
FALSE,
216 .receiveControl.driftErrorsDisabled =
FALSE,
217 .receiveControl.suspendTriggered =
FALSE,
229 .inputOutputControl.outputPulsePolarityHigh =
FALSE,
230 .inputOutputControl.inputPulsePolarityHigh =
FALSE,
231 .inputOutputControl.edgeCounterCleared =
TRUE,
232 .inputOutputControl.glitchRisingCleared =
TRUE,
233 .inputOutputControl.glitchFallingCleared =
TRUE,
235 .inputOutputControl.triggerMonitorCleared =
FALSE,
253 *config = defaultChannelConfig;
260 boolean result =
TRUE;
261 Ifx_SENT *sentSFR = config->
module;
262 driver->
sent = sentSFR;
267 Ifx_SENT_CLC tempCLC;
271 sentSFR->CLC.U = tempCLC.U;
288 .sleepModeEnabled =
TRUE,
289 .timeStampPreDivider = 0,
291 *config = defaultModuleConfig;
298 boolean result =
TRUE;
302 frame->
data = sentSFR->RDR[ChanIdx].U;
303 frame->
timeStamp = sentSFR->RTS[ChanIdx].U;
312 boolean result =
TRUE;
314 Ifx_SENT_CH *sentCh = channel->
channel;
317 sds.U = sentCh->SDS.U;
322 message->
crc = sds.B.SCRC;