Help: ICE_ICELIB_PIC_GETKEY
Gets a parameter by key/value pair
Function PIC_GETKEY - Gets a parameter by key/value pair
PIC p Handle to Device
int index Resource index (usually DMA channel number from PIC_IOPORT)
int key Key Identifier
void *value Buffer for data
int len Length of data item in bytes
Gets the named KEY into the value buffer.
See help on KEYS for a list of key names.
If a DMA channel number is not available or appropriate,
use the negative of the port number in the index field.
The include file names are formed by prepending KEY_.
For example:
status = pic_getkey (p,dmac,KEY_FREQ,&freq,8); ! C call
status = m$pic_getkey (p,dmac,KEY_FREQ,freq,8); ! Fortran call