1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
26 * Created on: 2009-apr-19
\r
35 void ramlog_puts( char *str );
\r
38 * Fast ramlog functions
40 static inline void ramlog_str( char *str ) {
\r
44 static inline void ramlog_dec( int val ) {
\r
45 char str[10]; // include '-' and \0
\r
50 static inline void ramlog_hex( uint32_t val ) {
\r
51 char str[10]; // include '-' and \0
\r
57 * var args ramlog functions
\r
59 int ramlog_printf(const char *format, ...);
\r
61 #endif /* RAMLOG_H_ */
\r