AlcapDAQ
1
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/io.h>
#include <sys/time.h>
#include "midas.h"
#include "crate.h"
#include "diag.h"
Go to the source code of this file.
Macros | |
#define | PARALLEL_PORT0 0x1150 |
#define | PARALLEL_PORT1 0x1151 |
Functions | |
INT | setPP (char, int) |
INT | parport_init () |
INT | parport_start_block () |
INT | parport_poll_live () |
INT | parport_poll_dead () |
Variables | |
bool | block_sig |
static unsigned int | block_nr |
struct readout_module | parport_module |
#define PARALLEL_PORT0 0x1150 |
Definition at line 7 of file parport_module.cpp.
Referenced by parport_init(), and setPP().
#define PARALLEL_PORT1 0x1151 |
Definition at line 8 of file parport_module.cpp.
Referenced by parport_poll_live().
INT parport_init | ( | ) |
Definition at line 64 of file parport_module.cpp.
References block_nr, PARALLEL_PORT0, printf(), and SUCCESS.
INT parport_poll_dead | ( | ) |
Definition at line 159 of file parport_module.cpp.
INT parport_poll_live | ( | ) |
Definition at line 130 of file parport_module.cpp.
References FE_END_BLOCK, PARALLEL_PORT1, printf(), and SUCCESS.
INT parport_start_block | ( | ) |
INT setPP | ( | char | v, |
int | usec | ||
) |
Definition at line 54 of file parport_module.cpp.
References PARALLEL_PORT0.
Referenced by parport_start_block().
|
static |
Definition at line 33 of file parport_module.cpp.
Referenced by parport_init(), and parport_start_block().
bool block_sig |
Definition at line 28 of file parport_module.cpp.
Referenced by parport_start_block().
struct readout_module parport_module |
Definition at line 35 of file parport_module.cpp.