equal
deleted
inserted
replaced
67 */ |
67 */ |
68 void ectty_free( |
68 void ectty_free( |
69 ec_tty_t *tty /**< TTY interface. */ |
69 ec_tty_t *tty /**< TTY interface. */ |
70 ); |
70 ); |
71 |
71 |
|
72 /** Reads data to send from the TTY interface. |
|
73 * |
|
74 * If there are data to send, they are copied into the \a buffer. At maximum, |
|
75 * \a size bytes are copied. The actual number of bytes copied is returned. |
|
76 * |
|
77 * \return Number of bytes copied. |
|
78 */ |
|
79 unsigned int ectty_tx_data( |
|
80 ec_tty_t *tty, /**< TTY interface. */ |
|
81 uint8_t *buffer, /**< Buffer for data to transmit. */ |
|
82 size_t size /**< Available space in \a buffer. */ |
|
83 ); |
|
84 |
72 /*****************************************************************************/ |
85 /*****************************************************************************/ |
73 |
86 |
74 /** @} */ |
87 /** @} */ |
75 |
88 |
76 #endif |
89 #endif |