File: regs.h

package info (click to toggle)
gcpegg 5.1-14
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 324 kB
  • ctags: 439
  • sloc: ansic: 3,726; makefile: 97; sh: 33; csh: 21
file content (17 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (7)
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)