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

4.115
Last change on this file since c541862e was c541862e, checked in by Chirayu Desai <cdesai@…>, on 12/23/13 at 16:44:42

lm32: Add doxygen

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @file
3 * @ingroup lm32_milkymist_dmx lm32_milkymist_shared
4 * @brief Milkymist DMX512 driver
5 */
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.com/license/LICENSE.
14 *
15 *  COPYRIGHT (c) 2010 Sebastien Bourdeauducq
16 */
17
18/**
19 * @defgroup lm32_milkymist_dmx Milkymist DMX512
20 * @ingroup lm32_milkymist_shared
21 * @brief Milkymist DMX512 driver
22 * @{
23 */
24
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(
36  rtems_device_major_number major,
37  rtems_device_minor_number minor,
38  void *arg
39);
40
41rtems_device_driver dmx_read(
42  rtems_device_major_number major,
43  rtems_device_minor_number minor,
44  void *arg
45);
46
47rtems_device_driver dmx_write(
48  rtems_device_major_number major,
49  rtems_device_minor_number minor,
50  void *arg
51);
52
53rtems_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, \
60NULL, NULL, dmx_read, dmx_write, dmx_control}
61
62/** @} */
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* __MILKYMIST_DMX_H_ */
Note: See TracBrowser for help on using the repository browser.