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_DMX_H_
0026 #define __MILKYMIST_DMX_H_
0027
0028 #ifdef __cplusplus
0029 extern "C" {
0030 #endif
0031
0032 #define DMX_SET_THRU 0x4400
0033 #define DMX_GET_THRU 0x4401
0034
0035 rtems_device_driver dmx_initialize(
0036 rtems_device_major_number major,
0037 rtems_device_minor_number minor,
0038 void *arg
0039 );
0040
0041 rtems_device_driver dmx_read(
0042 rtems_device_major_number major,
0043 rtems_device_minor_number minor,
0044 void *arg
0045 );
0046
0047 rtems_device_driver dmx_write(
0048 rtems_device_major_number major,
0049 rtems_device_minor_number minor,
0050 void *arg
0051 );
0052
0053 rtems_device_driver dmx_control(
0054 rtems_device_major_number major,
0055 rtems_device_minor_number minor,
0056 void *arg
0057 );
0058
0059 #define DMX_DRIVER_TABLE_ENTRY {dmx_initialize, \
0060 NULL, NULL, dmx_read, dmx_write, dmx_control}
0061
0062
0063
0064 #ifdef __cplusplus
0065 }
0066 #endif
0067
0068 #endif