22 lines
599 B
Plaintext
22 lines
599 B
Plaintext
|
Name:
|
||
|
=====
|
||
|
itm_printf
|
||
|
|
||
|
|
||
|
Description:
|
||
|
============
|
||
|
Example that uses the ITM interface for printf.
|
||
|
|
||
|
|
||
|
This example walks through the ASCII table (starting at character 033('!')
|
||
|
and ending on 126('~')) and prints the character to the ARM ITM. This output
|
||
|
can be decoded by running a terminal emulator (e.g. SEGGER J-Link SWO Viewer)
|
||
|
and configuring the console for SWO at 1M Baud. This example works by
|
||
|
configuring a timer and printing a new character after ever interrupt and
|
||
|
sleeps in between timer interrupts.
|
||
|
|
||
|
|
||
|
******************************************************************************
|
||
|
|
||
|
|