次の方法で共有


LPUpdateFlags (Windows Embedded CE 6.0)

1/6/2010

This function updates the transfer flags required by the user and masks any flags the platform dependent driver (PDD) does not support.

Syntax

typedef DWORD (* LPUpdateFlags)(
    PDMA_PDD_ADAPTER_CONTEXT lpPddAdapterContext,
  DWORD dwFlags
);

Parameters

  • dwFlags
    [in] Global Direct Memory Access (DMA) transfer flag. This flag is used to determine what kind of transfer the device wants.

    The following table shows the possible flags.

    Value Description

    DMA_FLAGS_WRITE_TO_DEVICE

    Set for write operation.

    DMA_FLAGS_INC_DEVICE_ADDRESS

    Indicates the operation requires incrementing the source and destination address. This flag can be used to accomplish memory to memory DMA transfers.

    DMA_FLAGS_RESET_DEVICE_ADDRESS

    Resets device address to the original value used by DMAAllocateChannel. The device address can be changed when a DMA transfer with the flag DMA_FLAGS_INC_DEVICE_ADDRESS executes.

    DMA_FLAGS_USER_OPTIONAL_DEVICE

    Sets the DMA transfer to automatically reload until it is explicitly canceled.

    DMA_FLAGS_NOT_AUTO_START

    Indicates the transfer is queued to hardware until a call to DMAStartTransfer.

Return Value

Returns global DMA transfer flags that the PDD has updated.

Requirements

Header dmamif.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Direct Memory Access Abstraction PDD Functions