Safety-certified tools Tools for Automotive Applications C-STAT Static analysis C-RUN Runtime analysis Debugging and trace probes
One way to handle character input and output in an application is to use the standard functions defined in stdio.h.
If any of the standard streams are used by your application, for example by the functions printf and scanf, you need to customize the low-level functionality to suit your hardware.
This technote show some ways to do this on some different targets. Some more information can be found in the manuals under the heading "Standard streams for input and output"
In all the examples a terminal connected via a UART is used as target for the communication. This is set at 9600 Baud, 1 stopbit, 8 databits, no flow control and no parity.
The projects have been built using these versions of IAR Embedded Workbench:
All product names are trademarks or registered trademarks of their respective owners.