![]() |
Doxygen Documentation |
|||||
Package: |
GTEM |
|||||
Version: |
V1-3-4 |
Marked: |
(not marked) |
|||
Constituent: |
gtem |
Tag: |
linux-gcc |
|||
#include <string.h>
#include "gt_p.h"
#include "gCAL_p.h"
#include "GTEM/gGCCC.h"
Functions | |
| void | setCmdHeaderCAL (gtemHandle gt, cmdHeaderCAL *ch, unsigned short ext, unsigned short gcccAddr, unsigned short gcrcAddr) |
| initializes a command header structure for a GCCC | |
| int | __gcccCmdLoad (gtemHandle gt, unsigned short temAddr, unsigned short gcccAddr, unsigned short func, unsigned short reg, unsigned int value) |
| Generic routine for sending response-less commands. | |
| int | gGCCCcmd (gtemHandle gt, unsigned short temAddr, unsigned short gcccAddr, unsigned short opcode) |
| Sends a dataless command to the TEM address. | |
| int | gGCCCload (gtemHandle gt, unsigned short temAddr, unsigned short gcccAddr, unsigned short reg, unsigned int value) |
| Loads a register with value. | |
| int | gGCCCread (gtemHandle gt, unsigned short temAddr, unsigned short gcccAddr, unsigned short reg, unsigned int *val) |
| Reads a register returing value in val. | |
|
||||||||||||||||||||||||||||
|
Generic routine for sending response-less commands.
For dataless commands reg is interpreted as the "opcode" of the dataless command and value is ignored. For load commands reg is the GCCC register to load with value. |
|
||||||||||||||||||||
|
Sends a dataless command to the TEM address.
|
|
||||||||||||||||||||||||
|
Loads a register with value.
|
|
||||||||||||||||||||||||
|
Reads a register returing value in val.
The following error codes are returned when LATp errors occur:
|
|
||||||||||||||||||||||||
|
initializes a command header structure for a GCCC
|
1.3.3