source: rtems/c/src/lib/libbsp/lm32/shared/milkymist_gpio/milkymist_gpio.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: 911 bytes
Line 
1/*  milkymist_gpio.h
2 *
3 *  Milkymist GPIO 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_GPIO_H_
13#define __MILKYMIST_GPIO_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19rtems_device_driver gpio_initialize(
20  rtems_device_major_number major,
21  rtems_device_minor_number minor,
22  void *arg
23);
24
25rtems_device_driver gpio_read(
26  rtems_device_major_number major,
27  rtems_device_minor_number minor,
28  void *arg
29);
30
31rtems_device_driver gpio_write(
32  rtems_device_major_number  major,
33  rtems_device_minor_number  minor,
34  void                      *arg
35);
36
37#define GPIO_DRIVER_TABLE_ENTRY { gpio_initialize, \
38NULL, NULL, gpio_read, gpio_write, NULL}
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* __MILKYMIST_GPIO_H_ */
Note: See TracBrowser for help on using the repository browser.