TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
TM_SWO_Functions

Library Functions. More...

Macros

#define TM_SWO_Printf(args...)   { fprintf(&TM_SWO_File, ## args); }
 Formats and outputs data to the SWO output. More...
 

Functions

void TM_SWO_Init (void)
 Initializes SWO debug output. More...
 

Detailed Description

Library Functions.

Macro Definition Documentation

#define TM_SWO_Printf (   args...)    { fprintf(&TM_SWO_File, ## args); }

Formats and outputs data to the SWO output.

Note
This function acts similar to printf except that custom stream is used
Parameters
args...Parameters are like printf. First parameter is string, then you can use unlimited parameters according to string to be formatted
Return values
None
Note
Defined as macro for faster execution and

If debugging mode is enabled, then this is a function. if not, then function becomes simple define statement without content

Function Documentation

void TM_SWO_Init ( void  )

Initializes SWO debug output.

Note
Function prepares SWO on MCU for output data to debugger

If debugging mode is enabled, then this is a function. if not, then function becomes simple define statement without content

Parameters
None
Return values
None