Вы здесь

DlnAdcGetSupportedEventTypes() Function

The DlnAdcGetSupportedEventTypes() function returns all supported ADC event types for opened DLN-series adapter.

This function is defined in the dln_adc.h file.

Syntax
C/C++
DLN_RESULT DlnAdcGetSupportedEventTypes(
    HDLN handle, 
    uint8_t port, 
    DLN_ADC_EVENT_TYPES *supportedEventTypes
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the ADC port to be used.

supportedEventTypes

Pointer to DLN_ADC_EVENT_TYPES structure, which will be filled by supported event type values.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.

Языки

Вход на сайт