Go to the source code of this file.
static void myisr | ( | int | sig, | |
siginfo_t * | siginfo, | |||
void * | extra | |||
) | [static] |
void sis3801_channel_enable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | nch | |||
) |
DWORD sis3801_CSR_read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
const DWORD | what | |||
) |
Purpose: Read the CSR and return 1/0 based on what. except for what == CSR_FULL where it returns current CSR
Definition at line 224 of file sis3801.c.
Referenced by sis3801_CSR_write(), sis3801_FIFO_flush(), sis3801_HFIFO_read(), and sis3801_Status().
DWORD sis3801_CSR_write | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
const DWORD | what | |||
) |
DWORD sis3801_dwell_time | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | dwell | |||
) |
void sis3801_FIFO_clear | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int sis3801_FIFO_flush | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | pfifo | |||
) |
int sis3801_HFIFO_read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | pfifo | |||
) |
DWORD sis3801_input_mode | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | mode | |||
) |
Purpose: Set input configuration mode DWORD mode : Mode 0-4
Definition at line 106 of file sis3801.c.
Referenced by sis3801_Status().
void sis3801_int_attach | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | base_vect, | |||
int | level, | |||
void(*)(void) | isr | |||
) |
Purpose: Book an ISR for a bitwise set of interrupt input (0xff). The interrupt vector is then the VECTOR_BASE+intnum Input: DWORD * base_addr : base address of the sis3801 DWORD base_vect : base vector of the module int level : IRQ level (1..7) DWORD isr_routine : interrupt routine pointer
void sis3801_int_clear | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
const int | intnum | |||
) |
void sis3801_int_detach | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | base_vect, | |||
int | level | |||
) |
void sis3801_int_source | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | int_source | |||
) |
Purpose: Enable the one of the 4 interrupt using the predefined parameters (see sis3801.h) DWORD * intnum : interrupt number (input 0..3)
Definition at line 422 of file sis3801.c.
Referenced by sis3801_int_attach(), and sis3801_int_detach().
void sis3801_int_source_disable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
const int | intnum | |||
) |
void sis3801_int_source_enable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
const int | intnum | |||
) |
DWORD sis3801_IRQ_REG_read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
DWORD sis3801_IRQ_REG_write | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | vector | |||
) |
DWORD sis3801_module_ID | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
Module ID Purpose: return the Module ID number (I) version (V) IRQ level (L) IRQ vector# (BB) 0xIIIIVLBB
Definition at line 37 of file sis3801.c.
Referenced by sis3801_Status().
void sis3801_module_reset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int sis3801_next_logic | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | endis | |||
) |
int sis3801_ref1 | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD | endis | |||
) |
int sis3801_Setup | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | mode | |||
) |
Sets all the necessary parameters for a given configuration. The configuration is provided by the mode argument. Add your own configuration in the case statement. Let me know your setting if you want to include it in the distribution.
*mvme | VME structure | |
base | Module base address | |
mode | Configuration mode number | |
*nentry | number of entries requested and returned. |
void sis3801_Status | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |