-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.h
More file actions
39 lines (33 loc) · 678 Bytes
/
log.h
File metadata and controls
39 lines (33 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* Quadrofly Software (http://quadrofly.ni-c.de)
*
* @file log.h
* @brief Log handling
* @author Willi Thiel (wthiel@quadrofly.ni-c.de)
* @date Mar 7, 2012
*/
#ifndef LOG_H_
#define LOG_H_
#include <avr/io.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
/**
* Poll the specified uint16_t out the log port.
*
* @param i The specified uint16_t
*/
void log_uint16_t(uint16_t i);
/**
* Poll the specified int16_t out the log port.
*
* @param i The specified int16_t
*/
void log_int16_t(int16_t i);
/**
* Poll the specified string out the debug port.
*
* @param s The specified string
*/
void log_s(const char *s);
#endif /* LOG_H_ */