Last change
on this file since fa08fc7 was
fa08fc7,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/20/09 at 19:50:28
|
2009-07-20 Joel Sherrill <joel.sherrill@…>
- Makefile, README, main_pcmmio_din.c, main_pcmmio_dout.c,
pcmmio_commands.h: Add initial command to monitor analog inputs.
Clean up help and usage.
- main_pcmmio_adc.c: New file.
|
-
Property mode set to
100644
|
File size:
998 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2009. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | * |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #ifndef __RTEMS_PCMMIO_COMMANDS_h |
---|
13 | #define __RTEMS_PCMMIO_COMMANDS_h |
---|
14 | |
---|
15 | #include <rtems.h> |
---|
16 | #include <rtems/shell.h> |
---|
17 | |
---|
18 | extern int main_pcmmio_din(int argc, char **argv); |
---|
19 | |
---|
20 | extern rtems_shell_cmd_t Shell_PCMMIO_DIN_Command; |
---|
21 | extern rtems_shell_cmd_t Shell_PCMMIO_DOUT_Command; |
---|
22 | extern rtems_shell_cmd_t Shell_PCMMIO_ADC_Command; |
---|
23 | |
---|
24 | #define CONFIGURE_PCMMIO_COMMANDS \ |
---|
25 | &Shell_PCMMIO_DIN_Command, \ |
---|
26 | &Shell_PCMMIO_DOUT_Command, \ |
---|
27 | &Shell_PCMMIO_ADC_Command |
---|
28 | |
---|
29 | extern rtems_shell_alias_t Shell_PCMMIO_DIN_Alias; |
---|
30 | extern rtems_shell_alias_t Shell_PCMMIO_DOUT_Alias; |
---|
31 | extern rtems_shell_alias_t Shell_PCMMIO_ADC_Alias; |
---|
32 | |
---|
33 | #define CONFIGURE_PCMMIO_ALIASES \ |
---|
34 | &Shell_PCMMIO_DIN_Alias, \ |
---|
35 | &Shell_PCMMIO_DOUT_Alias, \ |
---|
36 | &Shell_PCMMIO_ADC_Alias |
---|
37 | |
---|
38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.