ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Data Fields

GenericQueue Struct Reference
[I/O Queues]

Generic I/O queue structure. More...

#include <chqueues.h>

Collaboration diagram for GenericQueue:
Collaboration graph
[legend]

Data Fields

uint8_tq_buffer
 Pointer to the queue buffer.
uint8_tq_top
 Pointer to the first location after the buffer.
uint8_tq_wrptr
 Write pointer.
uint8_tq_rdptr
 Read pointer.
Semaphore q_sem
 Counter Semaphore.
qnotify_t q_notify
 Data notification callback.

Detailed Description

Generic I/O queue structure.

This structure represents a generic Input or Output asymmetrical 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 I-Locked and S-Locked states in System States) and is non-blocking.

Definition at line 70 of file chqueues.h.


Field Documentation

Pointer to the queue buffer.

Definition at line 71 of file chqueues.h.

Referenced by chIQGetTimeout(), chIQInit(), chIQPutI(), chIQReadTimeout(), chIQResetI(), chOQGetI(), chOQInit(), chOQPutTimeout(), chOQResetI(), and chOQWriteTimeout().

Pointer to the first location after the buffer.

Definition at line 72 of file chqueues.h.

Referenced by chIQGetTimeout(), chIQInit(), chIQPutI(), chIQReadTimeout(), chOQGetI(), chOQInit(), chOQPutTimeout(), chOQResetI(), and chOQWriteTimeout().

Write pointer.

Definition at line 74 of file chqueues.h.

Referenced by chIQInit(), chIQPutI(), chIQResetI(), chOQInit(), chOQPutTimeout(), chOQResetI(), and chOQWriteTimeout().

Read pointer.

Definition at line 75 of file chqueues.h.

Referenced by chIQGetTimeout(), chIQInit(), chIQReadTimeout(), chIQResetI(), chOQGetI(), chOQInit(), and chOQResetI().

Data notification callback.

Definition at line 77 of file chqueues.h.

Referenced by chIQGetTimeout(), chIQInit(), chIQReadTimeout(), chOQInit(), chOQPutTimeout(), and chOQWriteTimeout().


Generated on Sun Nov 28 2010 14:09:59 for ChibiOS/RT by doxygen 1.7.1