include/ectty.h
changeset 1903 5b526d0f5a5d
parent 1795 16c9640493fa
child 2421 bc2d4bf9cbe5
equal deleted inserted replaced
1902:d1a44889bc4f 1903:5b526d0f5a5d
    49  *****************************************************************************/
    49  *****************************************************************************/
    50 
    50 
    51 struct ec_tty;
    51 struct ec_tty;
    52 typedef struct ec_tty ec_tty_t; /**< \see ec_tty */
    52 typedef struct ec_tty ec_tty_t; /**< \see ec_tty */
    53 
    53 
    54 /**
    54 /** Operations on the virtual TTY interface.
    55  * \param cflag_changed This callback function is called when the serial
       
    56  * settings shall be changed. The \a cflag argument contains the new settings.
       
    57  */
    55  */
    58 typedef struct {
    56 typedef struct {
    59     int (*cflag_changed)(void *, tcflag_t);
    57     int (*cflag_changed)(void *, tcflag_t); /**< Called when the serial
       
    58                                               * settings shall be changed. The
       
    59                                               * \a cflag argument contains the
       
    60                                               * new settings. */
    60 } ec_tty_operations_t;
    61 } ec_tty_operations_t;
    61 
    62 
    62 /******************************************************************************
    63 /******************************************************************************
    63  * Global functions
    64  * Global functions
    64  *****************************************************************************/
    65  *****************************************************************************/