Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:41

0001 /**
0002  * @file
0003  *
0004  * @ingroup RTEMSBSPsI386
0005  *
0006  * @brief Paux driver routines.
0007  */
0008 
0009 #ifndef __paux_drv__
0010 #define __paux_drv__
0011 /***************************************************************************
0012  *
0013  * Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
0014  *
0015  * MODULE DESCRIPTION: Prototype routines for the paux driver.
0016  *
0017  * by: Rosimildo da Silva:
0018  *     rdasilva@connecttel.com
0019  *     http://www.connecttel.com
0020  *
0021  ****************************************************************************/
0022 
0023 /* functions */
0024 #ifdef __cplusplus
0025 extern "C" {
0026 #endif
0027 
0028 /* paux prototype entry points */
0029 rtems_device_driver paux_initialize(
0030   rtems_device_major_number,
0031   rtems_device_minor_number,
0032   void *
0033 );
0034 
0035 rtems_device_driver paux_open(
0036   rtems_device_major_number,
0037   rtems_device_minor_number,
0038   void *
0039 );
0040 
0041 rtems_device_driver paux_control(
0042   rtems_device_major_number,
0043   rtems_device_minor_number,
0044   void *
0045 );
0046 
0047 rtems_device_driver paux_close(
0048   rtems_device_major_number,
0049   rtems_device_minor_number,
0050   void *
0051 );
0052 
0053 rtems_device_driver paux_read(
0054   rtems_device_major_number,
0055   rtems_device_minor_number,
0056   void *
0057 );
0058 
0059 rtems_device_driver paux_write(
0060   rtems_device_major_number,
0061   rtems_device_minor_number,
0062   void *
0063 );
0064 
0065 rtems_device_driver paux_control(
0066   rtems_device_major_number,
0067   rtems_device_minor_number,
0068   void *
0069 );
0070 
0071 #define PAUX_DRIVER_TABLE_ENTRY \
0072   { paux_initialize, paux_open, paux_close, \
0073     paux_read, paux_write, paux_control }
0074 
0075 #ifdef __cplusplus
0076 }
0077 #endif
0078 
0079 #endif  /* __paux_drv__  */