38 Ifx_SENT *sentSFR = driver->
sent;
48 boolean result =
TRUE;
52 Ifx_SENT_CH *sentCh = &sentSFR->CH[config->
channelId];
59 Ifx_SENT_CH_RCR tempRCR;
73 sentCh->RCR.U = tempRCR.U;
77 Ifx_SENT_CH_VIEW tempVIEW;
87 sentCh->VIEW.U = tempVIEW.U;
89 Ifx_SENT_CH_IOCR tempIOCR;
99 sentCh->IOCR.U = tempIOCR.U;
101 Ifx_SENT_CH_INP tempINP;
111 sentCh->INP.U = tempINP.U;
118 sentCh->INTEN.B.RSI = 0;
119 sentCh->INTEN.B.RDI = 1;
128 while ((sentCh->SCR.B.TRQ == 1) && (timeOut > 0))
141 Ifx_SENT_CH_SCR tempSCR;
147 sentCh->SCR.U = tempSCR.U;
152 sentCh->INTEN.B.TBI = 1U;
198 .receiveControl.endPulseIgnored =
FALSE,
199 .receiveControl.alternateCrcSelected =
FALSE,
200 .receiveControl.statusNibbleEnabled =
FALSE,
201 .receiveControl.serialDataProcessingEnabled =
FALSE,
202 .receiveControl.serialDataDisabledCrcDisabled =
FALSE,
203 .receiveControl.crcModeDisabled =
FALSE,
205 .receiveControl.frameLength = 6,
206 .receiveControl.crcMethodDisabled =
FALSE,
208 .receiveControl.driftErrorsDisabled =
FALSE,
209 .receiveControl.suspendTriggered =
FALSE,
221 .inputOutputControl.outputPulsePolarityHigh =
FALSE,
222 .inputOutputControl.inputPulsePolarityHigh =
FALSE,
223 .inputOutputControl.edgeCounterCleared =
TRUE,
224 .inputOutputControl.glitchRisingCleared =
TRUE,
225 .inputOutputControl.glitchFallingCleared =
TRUE,
227 .inputOutputControl.triggerMonitorCleared =
FALSE,
244 *config = defaultChannelConfig;
251 boolean result =
TRUE;
252 Ifx_SENT *sentSFR = config->
module;
253 driver->
sent = sentSFR;
258 Ifx_SENT_CLC tempCLC;
262 sentSFR->CLC.U = tempCLC.U;
279 .sleepModeEnabled =
TRUE,
280 .timeStampPreDivider = 0,
282 *config = defaultModuleConfig;
289 boolean result =
TRUE;
293 frame->
data = sentSFR->RDR[ChanIdx].U;
294 frame->
timeStamp = sentSFR->RTS[ChanIdx].U;
303 boolean result =
TRUE;
305 Ifx_SENT_CH *sentCh = channel->
channel;
308 sds.U = sentCh->SDS.U;
313 message->
crc = sds.B.SCRC;