The structure of ADC control command VM_DCL_ADC_COMMAND_CREATE_OBJECT.
vmdcl_adc.h
|
Members |
Description |
|
VMUINT32 period; |
Measurement period, the uint is in tick. |
|
VMUINT32 sap_id; |
Reserved. |
|
VM_DCL_OWNER_ID owner_id; |
Use vm_dcl_get_owner_id to retrieve owner id. |
|
VMUINT8 channel; |
The physical ADC channel to be measured. Channels are defined in VM_DCL_ADC_CHANNEL. Use the macro PIN2CHANNEL to convert pin names, e.g. A0 and A1, to the corresponding physical channel id. |
|
VMUINT8 evaluate_count; |
Number of measurement to take. |
|
VMBOOL send_message_primitive; |
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.