HapticLib  0.7
Haptic Feedback Library for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
hl_debug.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012, Leonardo Guardati <leonardo@guardati.it>
3  *
4  * Permission to use, copy, modify, and/or distribute this
5  * software for any purpose with or without fee is hereby
6  * granted, provided that the above copyright notice and this
7  * permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS
10  * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
11  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
12  * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
15  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
17  * USE OR PERFORMANCE OF THIS SOFTWARE.
18  *
19  */
47 #include <stdint.h>
48 
49 /*
50  * Platform Specific Hardware Level
51  */
52 #ifdef STM32VLDISCOVERY
53 #include "hl_STM32VLDISCOVERY.h"
54 #elif OTHERS
55 #include "hl_OTHERS.h"
56 #endif
57 
89 #ifndef HL_DEBUG
90 #define HL_DEBUG
91 #undef HL_DEBUG
92 #endif
93 
94 #ifdef HL_DEBUG
95 extern uint8_t send_char(uint8_t ch);
96 uint32_t send_int(uint32_t);
97 void send_string(char *);
98 #endif