git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7554 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
bad3f755e1
commit
0ee4e06235
|
@ -58,8 +58,7 @@ typedef void (*qnotify_t)(io_queue_t *qp);
|
|||
* queue. The queue is asymmetrical because one end is meant to be
|
||||
* accessed from a thread context, and thus can be blocking, the other
|
||||
* end is accessible from interrupt handlers or from within a kernel
|
||||
* lock zone (see <b>I-Locked</b> and <b>S-Locked</b> states in
|
||||
* @ref system_states) and is non-blocking.
|
||||
* lock zone and is non-blocking.
|
||||
*/
|
||||
struct io_queue {
|
||||
threads_queue_t q_waiting; /**< @brief Waiting thread. */
|
||||
|
@ -117,8 +116,7 @@ struct io_queue {
|
|||
* @brief Type of an input queue structure.
|
||||
* @details This structure represents a generic asymmetrical input queue.
|
||||
* Writing to the queue is non-blocking and can be performed from
|
||||
* interrupt handlers or from within a kernel lock zone (see
|
||||
* <b>I-Locked</b> and <b>S-Locked</b> states in @ref system_states).
|
||||
* interrupt handlers or from within a kernel lock zone.
|
||||
* Reading the queue can be a blocking operation and is supposed to
|
||||
* be performed by a system thread.
|
||||
*/
|
||||
|
@ -232,8 +230,7 @@ typedef io_queue_t input_queue_t;
|
|||
* @brief Type of an output queue structure.
|
||||
* @details This structure represents a generic asymmetrical output queue.
|
||||
* Reading from the queue is non-blocking and can be performed from
|
||||
* interrupt handlers or from within a kernel lock zone (see
|
||||
* <b>I-Locked</b> and <b>S-Locked</b> states in @ref system_states).
|
||||
* interrupt handlers or from within a kernel lock zone.
|
||||
* Writing the queue can be a blocking operation and is supposed to
|
||||
* be performed by a system thread.
|
||||
*/
|
||||
|
|
|
@ -80,10 +80,6 @@ typedef enum {
|
|||
* @brief Starts a I2S data exchange.
|
||||
*
|
||||
* @param[in] i2sp pointer to the @p I2SDriver object
|
||||
* @param[in] n size of the transmit buffer, must be even and greater
|
||||
* than zero
|
||||
* @param[out] txbuf the pointer to the transmit buffer
|
||||
* @param[out] rxbuf the pointer to the receive buffer
|
||||
*
|
||||
* @iclass
|
||||
*/
|
||||
|
|
|
@ -47,8 +47,7 @@
|
|||
* @brief Initializes an input queue.
|
||||
* @details A Semaphore is internally initialized and works as a counter of
|
||||
* the bytes contained in the queue.
|
||||
* @note The callback is invoked from within the S-Locked system state,
|
||||
* see @ref system_states.
|
||||
* @note The callback is invoked from within the S-Locked system state.
|
||||
*
|
||||
* @param[out] iqp pointer to an @p input_queue_t structure
|
||||
* @param[in] bp pointer to a memory area allocated as queue buffer
|
||||
|
@ -225,8 +224,7 @@ size_t iqReadTimeout(input_queue_t *iqp, uint8_t *bp,
|
|||
* @brief Initializes an output queue.
|
||||
* @details A Semaphore is internally initialized and works as a counter of
|
||||
* the free bytes in the queue.
|
||||
* @note The callback is invoked from within the S-Locked system state,
|
||||
* see @ref system_states.
|
||||
* @note The callback is invoked from within the S-Locked system state.
|
||||
*
|
||||
* @param[out] oqp pointer to an @p output_queue_t structure
|
||||
* @param[in] bp pointer to a memory area allocated as queue buffer
|
||||
|
|
Loading…
Reference in New Issue