File indexing completed on 2025-05-11 08:23:43
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef __MILKYMIST_GPIO_H_
0026 #define __MILKYMIST_GPIO_H_
0027
0028 #ifdef __cplusplus
0029 extern "C" {
0030 #endif
0031
0032 rtems_device_driver gpio_initialize(
0033 rtems_device_major_number major,
0034 rtems_device_minor_number minor,
0035 void *arg
0036 );
0037
0038 rtems_device_driver gpio_read(
0039 rtems_device_major_number major,
0040 rtems_device_minor_number minor,
0041 void *arg
0042 );
0043
0044 rtems_device_driver gpio_write(
0045 rtems_device_major_number major,
0046 rtems_device_minor_number minor,
0047 void *arg
0048 );
0049
0050 #define GPIO_DRIVER_TABLE_ENTRY { gpio_initialize, \
0051 NULL, NULL, gpio_read, gpio_write, NULL}
0052
0053
0054
0055 #ifdef __cplusplus
0056 }
0057 #endif
0058
0059 #endif