source: multiio/commands/multiio_commands.h @ 0ecf946

Last change on this file since 0ecf946 was e38d987, checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/11 at 13:19:33

2011-03-18 Joel Sherrill <joel.sherrill@…>

  • ChangeLog?, Makefile, commands/Makefile, commands/main_multiio_adc.c, commands/main_multiio_benchmark.c, commands/main_multiio_dac.c, commands/main_multiio_din.c, commands/main_multiio_dout.c, commands/main_multiio_irq.c, commands/multiio_commands.h, include/multiio.h, stub/multio_stub.c: New files.
  • Property mode set to 100644
File size: 1.3 KB
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
18extern int main_din(int argc, char **argv);
19
20extern rtems_shell_cmd_t Shell_MULTIIO_DIN_Command;
21extern rtems_shell_cmd_t Shell_MULTIIO_DOUT_Command;
22extern rtems_shell_cmd_t Shell_MULTIIO_ADC_Command;
23extern rtems_shell_cmd_t Shell_MULTIIO_DAC_Command;
24extern rtems_shell_cmd_t Shell_MULTIIO_IRQ_Command;
25extern rtems_shell_cmd_t Shell_MULTIIO_Benchmark_Command;
26
27#define CONFIGURE_MULTIIO_COMMANDS \
28  &Shell_MULTIIO_DIN_Command, \
29  &Shell_MULTIIO_DOUT_Command, \
30  &Shell_MULTIIO_ADC_Command, \
31  &Shell_MULTIIO_DAC_Command, \
32  &Shell_MULTIIO_IRQ_Command, \
33  &Shell_MULTIIO_Benchmark_Command \
34
35extern rtems_shell_alias_t Shell_MULTIIO_DIN_Alias;
36extern rtems_shell_alias_t Shell_MULTIIO_DOUT_Alias;
37extern rtems_shell_alias_t Shell_MULTIIO_ADC_Alias;
38extern rtems_shell_alias_t Shell_MULTIIO_DAC_Alias;
39
40#define CONFIGURE_MULTIIO_ALIASES \
41  &Shell_MULTIIO_DIN_Alias, \
42  &Shell_MULTIIO_DOUT_Alias, \
43  &Shell_MULTIIO_ADC_Alias, \
44  &Shell_MULTIIO_DAC_Alias
45 
46#endif
Note: See TracBrowser for help on using the repository browser.