Avnet / Mbed 2 deprecated Avnet_ATT_Cellular_IOT

Dependencies:   FXOS8700CQ MODSERIAL mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers itm_output.h Source File

itm_output.h

00001 /* ===================================================================
00002 Copyright © 2016, AVNET Inc.  
00003 
00004 Licensed under the Apache License, Version 2.0 (the "License"); 
00005 you may not use this file except in compliance with the License.
00006 You may obtain a copy of the License at
00007 
00008    http://www.apache.org/licenses/LICENSE-2.0
00009 
00010 Unless required by applicable law or agreed to in writing, 
00011 software distributed under the License is distributed on an 
00012 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
00013 either express or implied. See the License for the specific 
00014 language governing permissions and limitations under the License.
00015 
00016 ======================================================================== */
00017 
00018 #ifndef __ITM_OUTPUT__
00019 #define __ITM_OUTPUT__
00020 
00021 //This file is only used when building for ULINK output
00022 
00023 #define PRINTF(format, ...)     { char xyz[80]; sprintf (xyz, format, ## __VA_ARGS__); ITM_puts(xyz);}
00024 #define PUTS(st)                                                        ITM_puts((char*)st);
00025 
00026 
00027 int ITM_putc (int ch);
00028 int ITM_getc (void);
00029 int ITM_puts ((char *) str);
00030 
00031 #endif