RTEMS 6.1-rc6
Loading...
Searching...
No Matches
milkymist_dmx.h
Go to the documentation of this file.
1
7/* milkymist_dmx.h
8 *
9 * Milkymist DMX512 driver for RTEMS
10 *
11 * The license and distribution terms for this file may be
12 * found in the file LICENSE in this distribution or at
13 * http://www.rtems.org/license/LICENSE.
14 *
15 * COPYRIGHT (c) 2010 Sebastien Bourdeauducq
16 */
17
25#ifndef __MILKYMIST_DMX_H_
26#define __MILKYMIST_DMX_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#define DMX_SET_THRU 0x4400
33#define DMX_GET_THRU 0x4401
34
35rtems_device_driver dmx_initialize(
38 void *arg
39);
40
41rtems_device_driver dmx_read(
44 void *arg
45);
46
47rtems_device_driver dmx_write(
50 void *arg
51);
52
53rtems_device_driver dmx_control(
56 void *arg
57);
58
59#define DMX_DRIVER_TABLE_ENTRY {dmx_initialize, \
60NULL, NULL, dmx_read, dmx_write, dmx_control}
61
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* __MILKYMIST_DMX_H_ */
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85