-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint.h
60 lines (52 loc) · 1.22 KB
/
print.h
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Copyright (C) 2017 Sebastian Meiling <[email protected]>
*
* This file is part of uMorse, see
* https://github.com/smlng/uMorse
*
* This file is subject to the terms and conditions of the MIT License.
* See the file LICENSE in the top level directory for more details.
*
* If you did not receive a copy of the license file, see
* https://choosealicense.com/licenses/mit/
*/
/**
* @ingroup umorse
* @{
* @file
* @brief Definition of a uMorse output interface printing to stdout
*
* @author Sebastian Meiling <[email protected]>
*/
#ifndef UMORSE_PRINT_H
#define UMORSE_PRINT_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Print Morse Code DIT (short)
*
* @param[in] args unused
* @param[in] flags Control flags
*/
void umorse_print_dit(void *args, uint8_t flags);
/**
* @brief Print Morse Code DAH (long)
*
* @param[in] args unused
* @param[in] flags Control flags
*/
void umorse_print_dah(void *args, uint8_t flags);
/**
* @brief Print Morse Code NIL (silent)
*
* @param[in] args unused
* @param[in] flags Control flags
*/
void umorse_print_nil(void *args, uint8_t flags);
#ifdef __cplusplus
}
#endif
#endif /* UMORSE_PRINT_H */
/** @} */