source: rtems/c/src/lib/libbsp/lm32/shared/milkymist_buttons/milkymist_buttons.h @ dce1032b

4.115
Last change on this file since dce1032b was dce1032b, checked in by Joel Sherrill <joel.sherrill@…>, on 08/01/11 at 13:48:40

2011-08-01 Sebastien Bourdeauducq <sebastien.bourdeauducq@…>

PR 1869/bsps

  • startup/bspclean.c: New file.
  • include/tm27.h: Removed.
  • ChangeLog?, Makefile.am, README, preinstall.am, include/bsp.h, include/system_conf.h, make/custom/milkymist.cfg, startup/linkcmds: Complete BSP for Milkymist One supporting Milkymist SOC 1.0.x. Includes new or updated drivers for:
    • Multi-standard video input (PAL/SECAM/NTSC)
    • Two DMX512 (RS485) ports
    • MIDI IN and MIDI OUT ports
    • VGA output
    • AC'97 audio
    • NOR flash
    • 10/100 Ethernet
    • Memory card (experimental and incomplete)
    • USB host connectors (input devices only)
    • RC5 infrared receiver
    • RS232 debug port
  • Property mode set to 100644
File size: 934 bytes
Line 
1/*  milkymist_buttons.h
2 *
3 *  Milkymist buttons 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 *  $Id$
10 *
11 *  COPYRIGHT (c) 2011 Sebastien Bourdeauducq
12 */
13
14#ifndef __MILKYMIST_BUTTONS_H_
15#define __MILKYMIST_BUTTONS_H_
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21rtems_device_driver buttons_initialize(
22  rtems_device_major_number major,
23  rtems_device_minor_number minor,
24  void *arg
25);
26
27rtems_device_driver buttons_open(
28  rtems_device_major_number major,
29  rtems_device_minor_number minor,
30  void *arg
31);
32
33rtems_device_driver buttons_read(
34  rtems_device_major_number major,
35  rtems_device_minor_number minor,
36  void *arg
37);
38
39#define BUTTONS_DRIVER_TABLE_ENTRY { buttons_initialize, \
40buttons_open, NULL, buttons_read, NULL, NULL}
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* __MILKYMIST_BUTTONS_H_ */
Note: See TracBrowser for help on using the repository browser.