GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBD / V1-5-1 > lcbd / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LCBD_clk.c File Reference

Implements the LCB clock unit routines. More...

#include "LCBD/LCBD_clk.h"
#include "LCBD_p.h"

Functions

unsigned int LCBD_clk_off_cb_set (LCBD lcb, LCBD_clk_off_cb cb, void *prm)
 Establish interrupt callback for handling CLOCK ON -> OFF transitions.
LCBD_clk_off_cbp LCBD_clk_off_cbp_get (LCBD lcb)
 Returns the callback routine for the CLOCK ON -> OFF transition plus its parameter.
unsigned int LCBD_clk_on_cb_set (LCBD lcb, LCBD_clk_on_cb cb, void *prm)
 Establish interrupt callback for handling CLOCK OFF -> ON transitions.
LCBD_clk_on_cbp LCBD_clk_on_cbp_get (LCBD lcb)
 Returns the callback routine for the CLOCK ON -> OFF transition plus its parameter.


Detailed Description

Implements the LCB clock unit routines.

Author:
JJRussell -- russell@slac.stanford.edu
  CVS $Id

Function Documentation

unsigned int LCBD_clk_off_cb_set ( LCBD  lcb,
LCBD_clk_off_cb  cb,
void *  prm 
)

Establish interrupt callback for handling CLOCK ON -> OFF transitions.

Return values:
LCBD_OK 
Parameters:
lcb The LCB driver handle
cb The LCB clock on -> off transition handler
prm The LCB clock on -> off transition parameter

LCBD_clk_off_cbp LCBD_clk_off_cbp_get ( LCBD  lcb  ) 

Returns the callback routine for the CLOCK ON -> OFF transition plus its parameter.

Returns:
The callback routine plus it parameter
Parameters:
lcb The LCB driver handle

unsigned int LCBD_clk_on_cb_set ( LCBD  lcb,
LCBD_clk_on_cb  cb,
void *  prm 
)

Establish interrupt callback for handling CLOCK OFF -> ON transitions.

Return values:
LCBD_OK 
Parameters:
lcb The LCB driver handle
cb The LCB clock off -> on transition handler
prm The LCB clock off -> on transition parameter

LCBD_clk_on_cbp LCBD_clk_on_cbp_get ( LCBD  lcb  ) 

Returns the callback routine for the CLOCK ON -> OFF transition plus its parameter.

Returns:
The callback routine plus it parameter
Parameters:
lcb The LCB driver handle


Generated on Tue Aug 31 18:52:30 2010 by  doxygen 1.5.3