Repository navigation
Expand file tree
/
Copy pathcli_util.h
More file actions
58 lines (49 loc) · 1.68 KB
/
Copy pathcli_util.h
File metadata and controls
58 lines (49 loc) · 1.68 KB
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
// Copyright (c) 2026 Ziga Miklosic
// All Rights Reserved
// This software is under MIT licence (https://opensource.org/licenses/MIT)
////////////////////////////////////////////////////////////////////////////////
/**
*@file cli_util.h
*@brief Command Line Interface Utility
*@author Ziga Miklosic
*@email ziga.miklosic@gmail.com
*@date 29.01.2026
*@version V3.1.1
*/
////////////////////////////////////////////////////////////////////////////////
/**
*@addtogroup CLI_UTIL_API
* @{ <!-- BEGIN GROUP -->
*
*/
////////////////////////////////////////////////////////////////////////////////
#ifndef __CLI_UTIL_H
#define __CLI_UTIL_H
////////////////////////////////////////////////////////////////////////////////
// Includes
////////////////////////////////////////////////////////////////////////////////
#include <stdint.h>
#include <stdbool.h>
#include "cli.h"
#include "cli_par.h"
////////////////////////////////////////////////////////////////////////////////
// Definitions
////////////////////////////////////////////////////////////////////////////////
/**
* Floating type
*/
typedef float float32_t;
////////////////////////////////////////////////////////////////////////////////
// Functions
////////////////////////////////////////////////////////////////////////////////
void cli_util_unknown_cmd_rsp(void);
char * cli_util_get_tx_buf (void);
#if ( 1 == CLI_CFG_PAR_USE_EN )
float32_t cli_util_par_val_to_float(const par_num_t par_num);
#endif
#endif // __CLI_UTIL_H
////////////////////////////////////////////////////////////////////////////////
/**
* @} <!-- END GROUP -->
*/
////////////////////////////////////////////////////////////////////////////////