SIMULINK_A7DAC
1.0
Control of A7_DAC device
|
#include "brd.h"
Go to the source code of this file.
Functions | |
int | GetFromCommnadLine (int argc, BRDCHAR **argv, const BRDCHAR *name, int defValue) |
Get integer value from command line. More... | |
int | GetStrFromCommnadLine (int argc, BRDCHAR **argv, const BRDCHAR *name, BRDCHAR *defValue, BRDCHAR *dst, int dstLen) |
Get string value from command line. More... | |
int GetFromCommnadLine | ( | int | argc, |
BRDCHAR ** | argv, | ||
const BRDCHAR * | name, | ||
int | defValue | ||
) |
Get integer value from command line.
format command line: <name1> <value1> <name2> <value2>
argc | number of argument |
argv | pointers to arguments |
name | key of argument |
defValue | default value for arguments |
Definition at line 29 of file parse_cmd.cpp.
Referenced by TF_SimulinkA7Dac::TF_SimulinkA7Dac().
int GetStrFromCommnadLine | ( | int | argc, |
BRDCHAR ** | argv, | ||
const BRDCHAR * | name, | ||
BRDCHAR * | defValue, | ||
BRDCHAR * | dst, | ||
int | dstLen | ||
) |
Get string value from command line.
format command line: <name1> <text1> <name2> <text2>
argc | number of argument |
argv | pointers to arguments |
name | key of argument |
defValue | default value for arguments |
dst | pointer to destination string, NULL - do not copy |
dstLen | max number of chars in the dst |
Definition at line 58 of file parse_cmd.cpp.