RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
lm32
include
bsp
milkymist_dmx.h
Go to the documentation of this file.
1
6
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
24
25
#ifndef __MILKYMIST_DMX_H_
26
#define __MILKYMIST_DMX_H_
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
#define DMX_SET_THRU 0x4400
33
#define DMX_GET_THRU 0x4401
34
35
rtems_device_driver
dmx_initialize(
36
rtems_device_major_number
major,
37
rtems_device_minor_number
minor,
38
void
*arg
39
);
40
41
rtems_device_driver
dmx_read(
42
rtems_device_major_number
major,
43
rtems_device_minor_number
minor,
44
void
*arg
45
);
46
47
rtems_device_driver
dmx_write(
48
rtems_device_major_number
major,
49
rtems_device_minor_number
minor,
50
void
*arg
51
);
52
53
rtems_device_driver
dmx_control(
54
rtems_device_major_number
major,
55
rtems_device_minor_number
minor,
56
void
*arg
57
);
58
59
#define DMX_DRIVER_TABLE_ENTRY {dmx_initialize, \
60
NULL, NULL, dmx_read, dmx_write, dmx_control}
61
63
64
#ifdef __cplusplus
65
}
66
#endif
67
68
#endif
/* __MILKYMIST_DMX_H_ */
rtems_device_driver
rtems_status_code rtems_device_driver
This type shall be used in device driver entry declarations and definitions.
Definition
io.h:90
rtems_device_major_number
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition
io.h:103
rtems_device_minor_number
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition
io.h:115
Generated by
1.18.0