Functions | |
EXTERNAL INLINE void EXPRT | cam16i (const int c, const int n, const int a, const int f, WORD *d) |
EXTERNAL INLINE void EXPRT | cam24i (const int c, const int n, const int a, const int f, DWORD *d) |
EXTERNAL INLINE void EXPRT | cam8i_q (const int c, const int n, const int a, const int f, BYTE *d, int *x, int *q) |
EXTERNAL INLINE void EXPRT | cam16i_q (const int c, const int n, const int a, const int f, WORD *d, int *x, int *q) |
EXTERNAL INLINE void EXPRT | cam24i_q (const int c, const int n, const int a, const int f, DWORD *d, int *x, int *q) |
EXTERNAL INLINE void EXPRT | cam16i_r (const int c, const int n, const int a, const int f, WORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam24i_r (const int c, const int n, const int a, const int f, DWORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam8i_rq (const int c, const int n, const int a, const int f, BYTE **d, const int r) |
EXTERNAL INLINE void EXPRT | cam16i_rq (const int c, const int n, const int a, const int f, WORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam24i_rq (const int c, const int n, const int a, const int f, DWORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam8i_sa (const int c, const int n, const int a, const int f, BYTE **d, const int r) |
EXTERNAL INLINE void EXPRT | cam16i_sa (const int c, const int n, const int a, const int f, WORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam24i_sa (const int c, const int n, const int a, const int f, DWORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam8i_sn (const int c, const int n, const int a, const int f, BYTE **d, const int r) |
EXTERNAL INLINE void EXPRT | cam16i_sn (const int c, const int n, const int a, const int f, WORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cam24i_sn (const int c, const int n, const int a, const int f, DWORD **d, const int r) |
EXTERNAL INLINE void EXPRT | cami (const int c, const int n, const int a, const int f, WORD *d) |
EXTERNAL INLINE void EXPRT | cam8o (const int c, const int n, const int a, const int f, BYTE d) |
EXTERNAL INLINE void EXPRT | cam16o (const int c, const int n, const int a, const int f, WORD d) |
EXTERNAL INLINE void EXPRT | cam24o (const int c, const int n, const int a, const int f, DWORD d) |
EXTERNAL INLINE void EXPRT | cam8o_q (const int c, const int n, const int a, const int f, BYTE d, int *x, int *q) |
EXTERNAL INLINE void EXPRT | cam16o_q (const int c, const int n, const int a, const int f, WORD d, int *x, int *q) |
EXTERNAL INLINE void EXPRT | cam24o_q (const int c, const int n, const int a, const int f, DWORD d, int *x, int *q) |
EXTERNAL INLINE void EXPRT | cam8o_r (const int c, const int n, const int a, const int f, BYTE *d, const int r) |
EXTERNAL INLINE void EXPRT | cam16o_r (const int c, const int n, const int a, const int f, WORD *d, const int r) |
EXTERNAL INLINE void EXPRT | cam24o_r (const int c, const int n, const int a, const int f, DWORD *d, const int r) |
EXTERNAL INLINE void EXPRT | camo (const int c, const int n, const int a, const int f, WORD d) |
EXTERNAL INLINE int EXPRT | camc_chk (const int c) |
EXTERNAL INLINE void EXPRT | camc (const int c, const int n, const int a, const int f) |
EXTERNAL INLINE void EXPRT | camc_q (const int c, const int n, const int a, const int f, int *q) |
EXTERNAL INLINE void EXPRT | camc_sa (const int c, const int n, const int a, const int f, const int r) |
EXTERNAL INLINE void EXPRT | camc_sn (const int c, const int n, const int a, const int f, const int r) |
EXTERNAL INLINE int EXPRT | cam_init (void) |
EXTERNAL INLINE int EXPRT | cam_init_rpc (char *host_name, char *exp_name, char *fe_name, char *client_name, char *rpc_server) |
EXTERNAL INLINE void EXPRT | cam_exit (void) |
EXTERNAL INLINE void EXPRT | cam_inhibit_set (const int c) |
EXTERNAL INLINE void EXPRT | cam_inhibit_clear (const int c) |
EXTERNAL INLINE int EXPRT | cam_inhibit_test (const int c) |
EXTERNAL INLINE void EXPRT | cam_crate_clear (const int c) |
EXTERNAL INLINE void EXPRT | cam_crate_zinit (const int c) |
EXTERNAL INLINE void EXPRT | cam_lam_enable (const int c, const int n) |
EXTERNAL INLINE void EXPRT | cam_lam_disable (const int c, const int n) |
EXTERNAL void | cam_lam_read (const int c, DWORD *lam) |
EXTERNAL INLINE void EXPRT | cam_lam_clear (const int c, const int n) |
EXTERNAL INLINE int EXPRT | cam_lam_wait (int *c, DWORD *n, const int millisec) |
EXTERNAL INLINE void EXPRT | cam_interrupt_enable (const int c) |
EXTERNAL INLINE void EXPRT | cam_interrupt_disable (const int c) |
EXTERNAL INLINE int EXPRT | cam_interrupt_test (const int c) |
EXTERNAL INLINE void EXPRT | cam_interrupt_attach (const int c, const int n, void(*isr)(void)) |
EXTERNAL INLINE void EXPRT | cam_interrupt_detach (const int c, const int n) |
|
16 bits input.
|
|
16 bits input with Q response.
|
|
Repeat 16 bits input.
|
|
Repeat 16 bits input with Q stop.
|
|
Read the given CAMAC address and increment the sub-address by one. Repeat r times.
WORD pbkdat[4]; cam16i_sa(crate, 5, 0, 2, &pbkdat, 4); cam16i(crate, 5, 0, 2, &pbkdat[0]); cam16i(crate, 5, 1, 2, &pbkdat[1]); cam16i(crate, 5, 2, 2, &pbkdat[2]); cam16i(crate, 5, 3, 2, &pbkdat[3]);
|
|
Read the given CAMAC address and increment the station number by one. Repeat r times.
WORD pbkdat[4]; cam16i_sa(crate, 5, 0, 2, &pbkdat, 4); cam16i(crate, 5, 0, 2, &pbkdat[0]); cam16i(crate, 6, 0, 2, &pbkdat[1]); cam16i(crate, 7, 0, 2, &pbkdat[2]); cam16i(crate, 8, 0, 2, &pbkdat[3]);
|
|
Write data to given CAMAC address.
|
|
Write data to given CAMAC address with Q response.
Referenced by cssa(). |
|
Repeat write data to given CAMAC address r times.
|
|
24 bits input.
Referenced by read_scaler_event(). |
|
24 bits input with Q response.
|
|
Repeat 24 bits input.
|
|
Repeat 24 bits input with Q stop.
|
|
Read the given CAMAC address and increment the sub-address by one. Repeat r times.
DWORD pbkdat[8]; cam24i_sa(crate, 5, 0, 2, &pbkdat, 8); cam24i(crate, 5, 0, 2, &pbkdat[0]); cam24i(crate, 6, 0, 2, &pbkdat[1]); cam24i(crate, 7, 0, 2, &pbkdat[2]); cam24i(crate, 8, 0, 2, &pbkdat[3]);
|
|
Read the given CAMAC address and increment the station number by one. Repeat r times.
DWORD pbkdat[4]; cam24i_sa(crate, 5, 0, 2, &pbkdat, 4); cam24i(crate, 5, 0, 2, &pbkdat[0]); cam24i(crate, 6, 0, 2, &pbkdat[1]); cam24i(crate, 7, 0, 2, &pbkdat[2]); cam24i(crate, 8, 0, 2, &pbkdat[3]);
|
|
Write data to given CAMAC address.
|
|
Write data to given CAMAC address with Q response.
Referenced by cfsa(). |
|
Repeat write data to given CAMAC address r times.
|
|
8 bits input with Q response.
|
|
Repeat 8 bits input with Q stop.
|
|
Read the given CAMAC address and increment the sub-address by one. Repeat r times.
BYTE pbkdat[4]; cam8i_sa(crate, 5, 0, 2, &pbkdat, 4); cam8i(crate, 5, 0, 2, &pbkdat[0]); cam8i(crate, 5, 1, 2, &pbkdat[1]); cam8i(crate, 5, 2, 2, &pbkdat[2]); cam8i(crate, 5, 3, 2, &pbkdat[3]);
|
|
Read the given CAMAC address and increment the station number by one. Repeat r times.
BYTE pbkdat[4]; cam8i_sa(crate, 5, 0, 2, &pbkdat, 4); cam8i(crate, 5, 0, 2, &pbkdat[0]); cam8i(crate, 6, 0, 2, &pbkdat[1]); cam8i(crate, 7, 0, 2, &pbkdat[2]); cam8i(crate, 8, 0, 2, &pbkdat[3]);
|
|
Write data to given CAMAC address.
|
|
Write data to given CAMAC address with Q response.
|
|
Repeat write data to given CAMAC address r times.
|
|
Issue CLEAR to crate.
Referenced by cccc(), and frontend_init(). |
|
Issue Z to crate.
Referenced by cccz(), and frontend_init(). |
|
Close CAMAC accesss. |
|
Clear Crate inhibit.
Referenced by ccci(). |
|
Set Crate inhibit.
Referenced by ccci(). |
|
Test Crate Inhibit.
Referenced by ctci(). |
|
Initialize CAMAC access.
Referenced by ccinit(), fccinit(), and frontend_init(). |
|
Initialize CAMAC access for rpc calls For internal use only.
|
|
Attach service routine to LAM of specific crate and station.
Referenced by cclnk(). |
|
Detach service routine from LAM.
Referenced by cculk(). |
|
Disables interrupts in specific crate
Referenced by cccd(). |
|
Enable interrupts in specific crate
|
|
Test Crate Interrupt.
Referenced by ctcd(). |
|
Clear the LAM register of the crate controller. It doesn't clear the LAM of the particular station.
Referenced by cclnk(), ccrgl(), and read_trigger_event(). |
|
Disable LAM generation for given station to the Crate controller. It doesn't disable the LAM of the actual station itself.
|
|
Enable LAM generation for given station to the Crate controller. It doesn't enable the LAM of the actual station itself.
Referenced by cclnk(), ccrgl(), and frontend_init(). |
|
Reads in lam the lam pattern of the entire crate.
Referenced by ctgl(), and poll_event(). |
|
Wait for a LAM to occur with a certain timeout. Return crate and station if LAM occurs.
|
|
CAMAC command (no data).
Referenced by cclc(), cclm(), frontend_init(), and read_trigger_event(). |
|
Crate presence check.
|
|
CAMAC command with Q response (no data).
Referenced by cfsa(), cssa(), ctlm(), and read_trigger_event(). |
|
Scan CAMAC command on sub-address.
|
|
Scan CAMAC command on station.
|
|
Same as cam16i() |
|
Same as cam16o() Referenced by frontend_init(), and read_trigger_event(). |
|
|