swieeprom  2.0.0.7
log.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** Copyright (C) 2020 MikroElektronika d.o.o.
3 ** Contact: https://www.mikroe.com/contact
4 **
5 ** Permission is hereby granted, free of charge, to any person obtaining a copy
6 ** of this software and associated documentation files (the "Software"), to deal
7 ** in the Software without restriction, including without limitation the rights
8 ** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 ** copies of the Software, and to permit persons to whom the Software is
10 ** furnished to do so, subject to the following conditions:
11 ** The above copyright notice and this permission notice shall be
12 ** included in all copies or substantial portions of the Software.
13 **
14 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
16 ** OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
18 ** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
19 ** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20 ** USE OR OTHER DEALINGS IN THE SOFTWARE.
21 ****************************************************************************/
27 #ifndef LOG_
28 #define LOG_
29 
30 #include "stdint.h"
31 
39 void log_init ( void );
40 
47 void log_line ( char *txt );
48 
55 void log_txt ( char *txt );
56 
63 void log_byte ( char t_char );
64 
65 #endif
66 
67 
68 // ------------------------------------------------------------------------ END
log_init
void log_init(void)
Initializes LOG module.
Definition: log.c:28
log_byte
void log_byte(char t_char)
Prints byte to UART terminal.
Definition: log.c:60
log_txt
void log_txt(char *txt)
Prints string to UART terminal.
Definition: log.c:53
log_line
void log_line(char *txt)
Prints string to UART terminal with a new line.
Definition: log.c:45