source: multiio/pcmmio/original/pcmmio_commands.h @ 217770e

Last change on this file since 217770e was 217770e, checked in by Joel Sherrill <joel.sherrill@…>, on 12/14/09 at 15:55:14

2009-12-14 Joel Sherrill <joel.sherrill@…>

  • Makefile, README, mio_io_rtems.c, pcmmio_commands.h: Add command to benchmark discrete input including message queue send and receive.
  • main_pcmmio_benchmark.c: New file.
  • 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_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;
25extern rtems_shell_cmd_t Shell_PCMMIO_Benchmark_Command;
26
27#define CONFIGURE_PCMMIO_COMMANDS \
28  &Shell_PCMMIO_DIN_Command, \
29  &Shell_PCMMIO_DOUT_Command, \
30  &Shell_PCMMIO_ADC_Command, \
31  &Shell_PCMMIO_DAC_Command, \
32  &Shell_PCMMIO_IRQ_Command, \
33  &Shell_PCMMIO_Benchmark_Command \
34
35extern rtems_shell_alias_t Shell_PCMMIO_DIN_Alias;
36extern rtems_shell_alias_t Shell_PCMMIO_DOUT_Alias;
37extern rtems_shell_alias_t Shell_PCMMIO_ADC_Alias;
38extern rtems_shell_alias_t Shell_PCMMIO_DAC_Alias;
39
40#define CONFIGURE_PCMMIO_ALIASES \
41  &Shell_PCMMIO_DIN_Alias, \
42  &Shell_PCMMIO_DOUT_Alias, \
43  &Shell_PCMMIO_ADC_Alias, \
44  &Shell_PCMMIO_DAC_Alias
45 
46#endif
Note: See TracBrowser for help on using the repository browser.