Question: The following function is given for sending data via the U (S) ART: The code shown contains four errors that either lead to compiler or
The following function is given for sending data via the U (S) ART:

The code shown contains four errors that either lead to compiler or logic errors ( error type: C or L). Fill out the following table accordingly
| Line | Type | description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 TransmitDataByte (USART_Type Def * const my Usart, 2 const char txChar) 3 { 4 if (txChar == ' ') 5 Transmit DataByte ( myUsart, Tr'); 6 while ((myUsart .IER & 0x80) == 0) 7 8 9 10 myUsart +TDR == txChar; 11 }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
