CubeMon-Vue-Demo-STM32F407VGT6U
swo.h
Go to the documentation of this file.
1
9#ifndef INC_LIB_SWO_H_
10#define INC_LIB_SWO_H_
11
13#include <lib/uti/utility.h>
14
15typedef enum swoType {
20} swoType;
21
22
30
36void swo_print(char text[]);
37
38#endif /* INC_LIB_SWO_H_ */
provides HAL includes for different MCU cores
void swo_print(char text[])
Print a SWO message.
Definition: swo.c:26
retStatus swo_init(swoType type)
Initialize the SWO message type, without initialization the type defaults to /ref SWO_NOT_ACTIVE.
Definition: swo.c:15
swoType
Definition: swo.h:15
@ SWO_RTC_SUPPORT
SWO messages printed with date and time.
Definition: swo.h:18
@ SWO_NONE
dummy, so we always know the enum length
Definition: swo.h:19
@ SWO_NOT_ACTIVE
SWO messages turned off.
Definition: swo.h:16
@ SWO_PLAIN_MESSAGES
SWO messages printed as they are.
Definition: swo.h:17
Defines and functions that are useful for all library files.
retStatus
possible return values
Definition: utility.h:13