Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
yam.h File Reference

Go to the source code of this file.

Data Structures

struct  yamcfg
 
struct  yamdrv_ioctl_cfg
 
struct  yamdrv_ioctl_mcs
 

Macros

#define SIOCYAMRESERVED   (0)
 
#define SIOCYAMSCFG   (1) /* Set configuration */
 
#define SIOCYAMGCFG   (2) /* Get configuration */
 
#define SIOCYAMSMCS   (3) /* Set mcs data */
 
#define YAM_IOBASE   (1 << 0)
 
#define YAM_IRQ   (1 << 1)
 
#define YAM_BITRATE   (1 << 2) /* Bit rate of radio port ->57600 */
 
#define YAM_MODE   (1 << 3) /* 0=simplex 1=duplex 2=duplex+tempo */
 
#define YAM_HOLDDLY   (1 << 4) /* duplex tempo (sec) */
 
#define YAM_TXDELAY   (1 << 5) /* Tx Delay (ms) */
 
#define YAM_TXTAIL   (1 << 6) /* Tx Tail (ms) */
 
#define YAM_PERSIST   (1 << 7) /* Persist (ms) */
 
#define YAM_SLOTTIME   (1 << 8) /* Slottime (ms) */
 
#define YAM_BAUDRATE   (1 << 9) /* Baud rate of rs232 port ->115200 */
 
#define YAM_MAXBITRATE   57600
 
#define YAM_MAXBAUDRATE   115200
 
#define YAM_MAXMODE   2
 
#define YAM_MAXHOLDDLY   99
 
#define YAM_MAXTXDELAY   999
 
#define YAM_MAXTXTAIL   999
 
#define YAM_MAXPERSIST   255
 
#define YAM_MAXSLOTTIME   999
 
#define YAM_FPGA_SIZE   5302
 

Macro Definition Documentation

#define SIOCYAMGCFG   (2) /* Get configuration */

Definition at line 34 of file yam.h.

#define SIOCYAMRESERVED   (0)

Definition at line 32 of file yam.h.

#define SIOCYAMSCFG   (1) /* Set configuration */

Definition at line 33 of file yam.h.

#define SIOCYAMSMCS   (3) /* Set mcs data */

Definition at line 35 of file yam.h.

#define YAM_BAUDRATE   (1 << 9) /* Baud rate of rs232 port ->115200 */

Definition at line 46 of file yam.h.

#define YAM_BITRATE   (1 << 2) /* Bit rate of radio port ->57600 */

Definition at line 39 of file yam.h.

#define YAM_FPGA_SIZE   5302

Definition at line 57 of file yam.h.

#define YAM_HOLDDLY   (1 << 4) /* duplex tempo (sec) */

Definition at line 41 of file yam.h.

#define YAM_IOBASE   (1 << 0)

Definition at line 37 of file yam.h.

#define YAM_IRQ   (1 << 1)

Definition at line 38 of file yam.h.

#define YAM_MAXBAUDRATE   115200

Definition at line 49 of file yam.h.

#define YAM_MAXBITRATE   57600

Definition at line 48 of file yam.h.

#define YAM_MAXHOLDDLY   99

Definition at line 51 of file yam.h.

#define YAM_MAXMODE   2

Definition at line 50 of file yam.h.

#define YAM_MAXPERSIST   255

Definition at line 54 of file yam.h.

#define YAM_MAXSLOTTIME   999

Definition at line 55 of file yam.h.

#define YAM_MAXTXDELAY   999

Definition at line 52 of file yam.h.

#define YAM_MAXTXTAIL   999

Definition at line 53 of file yam.h.

#define YAM_MODE   (1 << 3) /* 0=simplex 1=duplex 2=duplex+tempo */

Definition at line 40 of file yam.h.

#define YAM_PERSIST   (1 << 7) /* Persist (ms) */

Definition at line 44 of file yam.h.

#define YAM_SLOTTIME   (1 << 8) /* Slottime (ms) */

Definition at line 45 of file yam.h.

#define YAM_TXDELAY   (1 << 5) /* Tx Delay (ms) */

Definition at line 42 of file yam.h.

#define YAM_TXTAIL   (1 << 6) /* Tx Tail (ms) */

Definition at line 43 of file yam.h.