source: rtems/c/src/lib/libbsp/lm32/shared/milkymist_dmx/milkymist_dmx.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*  milkymist_dmx.h
2 *
3 *  Milkymist DMX512 driver for RTEMS
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 *  COPYRIGHT (c) 2010 Sebastien Bourdeauducq
10 */
11
12#ifndef __MILKYMIST_DMX_H_
13#define __MILKYMIST_DMX_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#define DMX_SET_THRU       0x4400
20#define DMX_GET_THRU       0x4401
21
22rtems_device_driver dmx_initialize(
23  rtems_device_major_number major,
24  rtems_device_minor_number minor,
25  void *arg
26);
27
28rtems_device_driver dmx_read(
29  rtems_device_major_number major,
30  rtems_device_minor_number minor,
31  void *arg
32);
33
34rtems_device_driver dmx_write(
35  rtems_device_major_number major,
36  rtems_device_minor_number minor,
37  void *arg
38);
39
40rtems_device_driver dmx_control(
41  rtems_device_major_number major,
42  rtems_device_minor_number minor,
43  void *arg
44);
45
46#define DMX_DRIVER_TABLE_ENTRY {dmx_initialize, \
47NULL, NULL, dmx_read, dmx_write, dmx_control}
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* __MILKYMIST_DMX_H_ */
Note: See TracBrowser for help on using the repository browser.