most_sync_rt_file Struct Reference

Collaboration diagram for most_sync_rt_file:

Collaboration graph
[legend]

Data Fields

list_head list
most_sync_rt_devsync_dev
frame_part part_rx
frame_part part_tx
bool rx_running
bool tx_running
int reader_index
int writer_index

Detailed Description

The data structure which is per-opened file.

Todo:
common base with the most_sync_file structure

Definition at line 142 of file most-sync-rt.h.


Field Documentation

struct list_head most_sync_rt_file::list

embeddable in the most_sync_rt_dev structure

Definition at line 143 of file most-sync-rt.h.

Referenced by most_sync_nrt_close(), and most_sync_nrt_open().

struct most_sync_rt_dev* most_sync_rt_file::sync_dev

the synchronous device which belongs to that file

Definition at line 145 of file most-sync-rt.h.

Referenced by most_sync_nrt_close(), most_sync_nrt_open(), most_sync_nrt_setup_rx(), most_sync_nrt_setup_tx(), most_sync_nrt_stop_rx(), most_sync_nrt_stop_tx(), most_sync_rt_read(), and most_sync_rt_write().

struct frame_part most_sync_rt_file::part_rx

frame part for reception

Definition at line 147 of file most-sync-rt.h.

struct frame_part most_sync_rt_file::part_tx

frame part for transmission

Definition at line 148 of file most-sync-rt.h.

bool most_sync_rt_file::rx_running

state of the sender

Definition at line 149 of file most-sync-rt.h.

Referenced by most_sync_nrt_close(), and most_sync_nrt_setup_rx().

bool most_sync_rt_file::tx_running

state of the receiver

Definition at line 150 of file most-sync-rt.h.

Referenced by most_sync_nrt_close(), and most_sync_nrt_setup_tx().

int most_sync_rt_file::reader_index

reader number for the rx buffer, only valid if rx_running is true

Definition at line 151 of file most-sync-rt.h.

int most_sync_rt_file::writer_index

writer number for the tx buffer, only valid if tx_running is true

Definition at line 153 of file most-sync-rt.h.


The documentation for this struct was generated from the following file:
Generated on Fri Mar 9 14:48:58 2007 for MOST Linux Drivers (Linux and RTAI) by  doxygen 1.5.0