source: multiio/pcmmio/original/pcmmio_commands.h @ 5471507

Last change on this file since 5471507 was 45abed9, checked in by Joel Sherrill <joel.sherrill@…>, on 07/22/09 at 20:58:43

2009-07-22 Joel Sherrill <joel.sherrill@…>

  • Makefile, README, main_pcmmio_dac.c, mio_io.h, mio_io_rtems.c, pcmmio_commands.h, pcmmio_shell.c, rtems_config.c: Add pcmmio_irq command and do some cleanup as noticed on other files.
  • main_pcmmio_irq.c: New file.
  • Property mode set to 100644
File size: 1.2 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_pcmmio_din(int argc, char **argv);
19
20extern rtems_shell_cmd_t Shell_PCMMIO_DIN_Command;
21extern rtems_shell_cmd_t Shell_PCMMIO_DOUT_Command;
22extern rtems_shell_cmd_t Shell_PCMMIO_ADC_Command;
23extern rtems_shell_cmd_t Shell_PCMMIO_DAC_Command;
24extern rtems_shell_cmd_t Shell_PCMMIO_IRQ_Command;
25
26#define CONFIGURE_PCMMIO_COMMANDS \
27  &Shell_PCMMIO_DIN_Command, \
28  &Shell_PCMMIO_DOUT_Command, \
29  &Shell_PCMMIO_ADC_Command, \
30  &Shell_PCMMIO_DAC_Command, \
31  &Shell_PCMMIO_IRQ_Command
32
33extern rtems_shell_alias_t Shell_PCMMIO_DIN_Alias;
34extern rtems_shell_alias_t Shell_PCMMIO_DOUT_Alias;
35extern rtems_shell_alias_t Shell_PCMMIO_ADC_Alias;
36extern rtems_shell_alias_t Shell_PCMMIO_DAC_Alias;
37
38#define CONFIGURE_PCMMIO_ALIASES \
39  &Shell_PCMMIO_DIN_Alias, \
40  &Shell_PCMMIO_DOUT_Alias, \
41  &Shell_PCMMIO_ADC_Alias, \
42  &Shell_PCMMIO_DAC_Alias
43 
44#endif
Note: See TracBrowser for help on using the repository browser.