Implementation
Transmission of header and response by the master:
Sending the string
“Hello World!” is implemented inside the function
send_ASCLIN_message()
which is called once after initialization of the
ASCLIN module:
1.
The ID byte is set to send a response after the header.
2.
The frame
“Hello World!” is defined.
3.
The correct header is sent with the function
IfxAsclin_Lin_sendHeader()
.
4.
The
transmission
of
header
is
checked
by
using
the
parameter
txHeaderEnd
of the structure
acknowledgmentFlags
.
5.
The frame is sent with the function
IfxAsclin_Lin_sendResponse()
.
The functions above are provided by the iLLD header
IfxAsclin_Lin.h
.
6
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.