ATT_SMS_System for home security system
Dependencies: FXOS8700CQ MODSERIAL mbed-rtos mbed
Fork of ATT_Cellular_IOT_Button by
itm_output.h@73:4a7aa34332b9, 2018-04-30 (annotated)
- Committer:
- natschwa
- Date:
- Mon Apr 30 17:14:34 2018 +0000
- Revision:
- 73:4a7aa34332b9
- Parent:
- 60:2aa16fd02dfd
Working ATT_SMS_System
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JMF | 60:2aa16fd02dfd | 1 | #ifndef __ITM_OUTPUT__ |
JMF | 60:2aa16fd02dfd | 2 | #define __ITM_OUTPUT__ |
JMF | 60:2aa16fd02dfd | 3 | |
JMF | 60:2aa16fd02dfd | 4 | //This file is only used when building for ULINK output |
JMF | 60:2aa16fd02dfd | 5 | |
JMF | 60:2aa16fd02dfd | 6 | #define PRINTF(format, ...) { char xyz[80]; sprintf (xyz, format, ## __VA_ARGS__); ITM_puts(xyz);} |
JMF | 60:2aa16fd02dfd | 7 | #define PUTS(st) ITM_puts((char*)st); |
JMF | 60:2aa16fd02dfd | 8 | |
JMF | 60:2aa16fd02dfd | 9 | |
JMF | 60:2aa16fd02dfd | 10 | int ITM_putc (int ch); |
JMF | 60:2aa16fd02dfd | 11 | int ITM_getc (void); |
JMF | 60:2aa16fd02dfd | 12 | int ITM_puts ((char *) str); |
JMF | 60:2aa16fd02dfd | 13 | |
JMF | 60:2aa16fd02dfd | 14 | #endif |