-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfwrev.h
60 lines (46 loc) · 1.01 KB
/
fwrev.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
/** @file fwrev.h
* @author EA
* @brief FW revision parsing.
* Handle fw revision
*
*//////////////////////////////////////////////////////////////////////////////
/** @addtogroup Utils
* @{
*/
/** @defgroup FWREV FWREV
* @brief Firmware revision module
* @{
*/
#ifndef FWREV_H
#define FWREV_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Firmware revision text string
*/
extern const char FWREV_text[];
/**
* @brief Get firmware revision
* @param high Pointer to location where to store high fraction of fw revision
* @param mid Pointer to location where to store middle fraction of fw revision
* @param low Pointer to location where to store low fraction of fw revision
*/
void FWREV_get(uint16_t *high, uint16_t *mid, uint16_t *low);
/**
* @brief Get firmware revision string
* @param None
* @retval Pointer to null terminated string with firmware revision
*/
const char *FWREV_getString(void);
#ifdef __cplusplus
}
#endif
#endif
/**
* @}
*/
/**
* @}
*/