PDIO_STOP_CALLBACK


Function

Transfer stop callback type.

Format

PDIO_STOP_CALLBACK ( Id, Message, Dir, Param )

Parameters

Id [C:short] [Python: ctypes.c_short]
Specifies the device ID retrieved from DioInit.

Message [C:short] [Python: ctypes.c_short]
The message ID that becomes the cause of invoking the callback function is passed.

Definition

Value

DIO_DMM_STOP

1400H

Dir [C:unsigned long] [Python: ctypes.c_ulong]
Transfer direction is passed.

Definition

Value

[Hex]

Description

DIODM_DIR_IN

0x01

Input

DIODM_DIR_OUT

0x02

Output

Param [C:void *] [Python: ctypes.c_void_p]
The optional parameter passed through DioDmSetStopEvent is passed.

Return Value

None

Remarks

Execute substance definition of transfer stop callback function at this format.

See Also

DioDmSetStopEvent