GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBD / dev > lcbd / sun-gcc
Classes | |
struct | _LCBD_clk_on_cbp |
Binds a CLOCK OFF -> ON interrupt to its parameter. More... | |
struct | _LCBD_clk_off_cbp |
Binds a CLOCK ON -> OFF interrupt to its parameter. More... | |
Defines | |
#define | LCBD_OK 0 |
Success return code, note that this is not an LCBD message code, but may be used as one. | |
Typedefs | |
typedef unsigned int(* | LCBD_clk_on_cb )(void *prm, LCBD lcb) |
Callback routine to handle an CLOCK OFF -> ON transition. | |
typedef struct _LCBD_clk_on_cbp | LCBD_clk_on_cbp |
Typedef for struct _LCBD_clk_on_cbp. | |
typedef unsigned int(* | LCBD_clk_off_cb )(void *prm, LCBD lcb) |
Callback routine to handle an CLOCK ON -> OFF transition. | |
typedef struct _LCBD_clk_off_cbp | LCBD_clk_off_cbp |
Typedef for struct _LCBD_clk_off_cbp. | |
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. |
unsigned int(* LCBD_clk_off_cb)(void *prm, LCBD lcb) |
Callback routine to handle an CLOCK ON -> OFF transition.
Status,currently | unused, but the user should return 0. |
prm | A user provided parameter | |
lcb | A handle to the LCB driver |
unsigned int(* LCBD_clk_on_cb)(void *prm, LCBD lcb) |
Callback routine to handle an CLOCK OFF -> ON transition.
Status,currently | unused, but the user should return 0. |
prm | A user provided parameter | |
lcb | A handle to the LCB driver |
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_OK |
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.
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.
LCBD_OK |
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.
lcb | The LCB driver handle |