SIMULINK_A7DAC  1.0
Control of A7_DAC device
parse_cmd.h
Go to the documentation of this file.
1 /*
2  * parse_cmd.h
3  *
4  * Created on: Sep 4, 2017
5  * Author: user52
6  */
7 
8 #ifndef SRC_HOST_UTIL_PARSE_CMD_H_
9 #define SRC_HOST_UTIL_PARSE_CMD_H_
10 
11 #include "brd.h"
12 
13 //! Get integer value from command line
14 int GetFromCommnadLine(int argc, BRDCHAR **argv, const BRDCHAR* name, int defValue);
15 
16 //! Get string value from command line
17 int GetStrFromCommnadLine(int argc, BRDCHAR **argv, const BRDCHAR* name, BRDCHAR* defValue, BRDCHAR* dst, int dstLen );
18 
19 
20 
21 #endif /* SRC_HOST_UTIL_PARSE_CMD_H_ */
int GetFromCommnadLine(int argc, BRDCHAR **argv, const BRDCHAR *name, int defValue)
Get integer value from command line.
Definition: parse_cmd.cpp:29
int GetStrFromCommnadLine(int argc, BRDCHAR **argv, const BRDCHAR *name, BRDCHAR *defValue, BRDCHAR *dst, int dstLen)
Get string value from command line.
Definition: parse_cmd.cpp:58