File: regs.h

package info (click to toggle)
gcpegg 5.1-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 328 kB
  • ctags: 445
  • sloc: ansic: 3,706; makefile: 95; sh: 27; csh: 21
file content (17 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*

    Random event generator driver interface.

*/

#include "reg.h"

extern REG_driver *configuredREG;     /* REG selected by .eggrc file */

/*  Access to methods within the configured REG driver.  */

#define OpenDev(opts) (*configuredREG->reg_OpenDev)(opts)
#define EvalSpeed(dd) (*configuredREG->reg_EvalSpeed)(dd)
#define Sample(dd, bits) (*configuredREG->reg_Sample)(dd, bits)
#define Discard(dd) (*configuredREG->reg_Discard)(dd)
#define CloseDev(dd) (*configuredREG->reg_CloseDev)(dd)