SHAPE_DMA_READ_WRITE_FULL Structure

Structure used to query read/write pointers and full bit in one operation.

Syntax

struct SHAPE_DMA_READ_WRITE_FULL {
    UINT32 readPointer : 5;
    UINT32 reserved0 : 3;
    UINT32 writePointer : 5;
    UINT32 reserved1 : 3;
    UINT32 full : 1;
    UINT32 reserved2 : 15;
};  

Members

readPointer
Read/Write: Read pointer from the start of the buffer.

reserved0
Reserved.

writePointer
Read/Write: Write pointer from the start of the buffer.

reserved1
Reserved.

full
Read/Write: If the readPointer equals the writePointer this indicates if the buffer is empty or full (1 = full, 0 = empty).

reserved2
Reserved.

Remarks

The size of this structure is 32 bits.

The fields marked as Read: are written to by the ACP library and should only be read by your application. The fields marked Write: are set by your application and not changed by the ACP library. The fields marked Read/Write are set by your application but can be changed by the ACP library.

Requirements

Header: Declared in shapedmacontext.h.

Library: Use acphal.lib.