vt2.c File Reference

Go to the source code of this file.

Functions

int vt2_FifoLevelRead (MVME_INTERFACE *mvme, DWORD base)
int vt2_CycleNumberRead (MVME_INTERFACE *mvme, DWORD base)


Function Documentation

int udelay ( int  usec  ) 

Definition at line 18 of file vt2.c.

int vt2_CSRRead ( MVME_INTERFACE mvme,
DWORD  base 
)

Definition at line 86 of file vt2.c.

int vt2_CycleNumberRead ( MVME_INTERFACE mvme,
DWORD  base 
)

return the cycle number (10 bit)

Definition at line 73 of file vt2.c.

void vt2_CycleReset ( MVME_INTERFACE mvme,
DWORD  base,
int  fset 
)

Definition at line 136 of file vt2.c.

int vt2_FifoLevelRead ( MVME_INTERFACE mvme,
DWORD  base 
)

return the Fifo level which is 64bits x 2048 with Almost full at 2000. the returned value is on 11 bits. It should be used as 2*level during read as the data is 64 bit wide. Data field 20bits : [0eaf][0000 0] 7FF fEmpty, fAlmostFull, Full, level

Definition at line 54 of file vt2.c.

int vt2_FifoRead ( MVME_INTERFACE mvme,
DWORD  base,
DWORD pdest,
int  nentry 
)

Definition at line 33 of file vt2.c.

void vt2_IntEnable ( MVME_INTERFACE mvme,
DWORD  base,
int  flag 
)

Definition at line 108 of file vt2.c.

void vt2_KeepAlive ( MVME_INTERFACE mvme,
DWORD  base,
int  fset 
)

Definition at line 122 of file vt2.c.

void vt2_ManReset ( MVME_INTERFACE mvme,
DWORD  base 
)

Definition at line 98 of file vt2.c.


Midas DOC Version 2.0.2 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Exaos Lee - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk