comparison Small_CPU/Inc/wireless.h @ 38:5f11787b4f42

include in ostc4 repository
author heinrichsweikamp
date Sat, 28 Apr 2018 11:52:34 +0200
parents
children
comparison
equal deleted inserted replaced
37:ccc45c0e1ea2 38:5f11787b4f42
1 /**
2 ******************************************************************************
3 * @file wireless.h
4 * @author heinrichs weikamp gmbh
5 * @date 02-July-2015
6 * @version V0.0.1
7 * @since 02-July-2015
8 * @brief Data transfer via magnetic field using Manchester code
9 *
10 @verbatim
11 ==============================================================================
12 ##### How to use #####
13 ==============================================================================
14 @endverbatim
15 ******************************************************************************
16 * @attention
17 *
18 * <h2><center>&copy; COPYRIGHT(c) 2015 heinrichs weikamp</center></h2>
19 *
20 ******************************************************************************
21 */
22
23 /* Define to prevent recursive inclusion -------------------------------------*/
24 #ifndef WIRELESS_H
25 #define WIRELESS_H
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 /* Includes ------------------------------------------------------------------*/
32 #include <stdint.h>
33
34 void wireless_init(void);
35
36 void wireless_trigger_FallingEdgeSignalHigh(void);
37 void wireless_trigger_RisingEdgeSilence(void);
38
39 uint8_t wireless_evaluate(uint8_t *dataOut, uint8_t maxData, uint8_t *confidence);
40 uint8_t wireless_evaluate_crc_error(uint8_t *dataIn, uint8_t maxData);
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif /* WIRELESS_H */
47
48 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/