Difference between revisions of "Example egpc"
(Created page with "{{todo|InProgress(11.13.13-13:56->JG+)|Jgreene|project=oe 4,oe 5,ky,md,InProgress}} <big>This procedure provides an overview of how to compile and run the ''egpc'' C example p...") |
(→What it does) |
||
Line 9: | Line 9: | ||
==What it does== | ==What it does== | ||
+ | |||
+ | egpc reads/writes/configures the specified gpio character device using the specified arguments. | ||
+ | |||
+ | usage:<br /> | ||
+ | egpc device d/c/i (writearg) | ||
+ | |||
+ | Enter ''egpc -h'' for details. | ||
''From the comments in egpc.c'' | ''From the comments in egpc.c'' | ||
Line 14: | Line 21: | ||
Program for reading/writing/configuring gpio character devices. | Program for reading/writing/configuring gpio character devices. | ||
Code here based upon the egp, the gpio program for the SoM-5282M/SoM-100ES. | Code here based upon the egp, the gpio program for the SoM-5282M/SoM-100ES. | ||
− | See the usage message for | + | See the usage message for information on how to use this application. |
Revision as of 14:29, 13 November 2013
This procedure provides an overview of how to compile and run the egpc C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK.
Contents
1. Open the C/C++ editing perspective
2. Open the egpc project
3. Build, upload and run
What it does
egpc reads/writes/configures the specified gpio character device using the specified arguments.
usage:
egpc device d/c/i (writearg)
Enter egpc -h for details.
From the comments in egpc.c
Program for reading/writing/configuring gpio character devices. Code here based upon the egp, the gpio program for the SoM-5282M/SoM-100ES. See the usage message for information on how to use this application.