Main program argument parser.
More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "fas_api.h"
#include "build_defs.h"
Go to the source code of this file.
Main program argument parser.
- Author
- Benjamin Zhai (benja.nosp@m.min..nosp@m.zhai@.nosp@m.sens.nosp@m.ima.c.nosp@m.om)
- Version
- 1.07
- Date
- 20131218 Copyright © 2013-2014 Sensima Technology SA
Company Confidential
Project: MA-FTDI USB
Module: MA sensor communication utility using FTDI USB
Revision History:
0.1 - rev - 20131119 - Initial version
0.9 - rev 123 - 20131211 - Merged pre-release
1.0 - rev 136 - 20131212 - Release
1.02 - rev 143 - 20131216 - Added auto channel detection
1.03 - rev 144 - 20121216 - Modified debug behaviour
1.04 - rev 146 - 20121216 - Updated help messages
1.05 - rev 148 - 20121216 - Default behaviour defined
1.06 - rev 150 - 20131216 - Corrected bitfield write
- Todo:
int arg_parser |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Main function's argument parser.
This function parses the input arguments of the main function and writes resulting configuration to global variables
- Parameters
-
- Returns
- Returns 0 for success Example Usage:
- See Also
- Note
- Warning