Card Driver
The card driver function should have two parameters. The first is a pointer to the report element structure. The second is an integer that defines whether to perform input or output mapping. It is recommended that you use the constants
STM_IN_MAP
andSTM_OUT_MAP
(defined in the filetypes.h
of the Intrinsics library) for this purpose. When you perform input mapping, the driver should put the received value into thereceived_val
field of its first argument. Note that information about the corresponding card is available from thecard_p
field of the report element.