WXCBlockDataFormat

Definition

#include <nitro/wxc.h>


/* Block data information structure */
typedef struct WXCBlockDataFormat
{
    void           *buffer;     /* Pointer to buffer */
    u32             length;     /* Data size */
    u32             buffer_max; /* Buffer size (If send data, matches 'length') */
    u16             checksum;   /* Checksum (uses MATH_CalcChecksum8()) */
    u8              padding[2];
}
WXCBlockDataFormat;


Elements

buffer Pointer to the buffer.
length Actual size of the data.
buffer_max Size of the buffer.
In the send data, this value is the same as length.
checksum Data checksum.
Inside the WXC library, MATH_CalcChecksum8 is used to determine the checksum.

Description

Structure that shows the block data information used in WXC library callbacks.

See Also

WXC_RegisterCommonData

Revision History

2006/08/10 Corrected links.
2005/08/21 Initial version.


CONFIDENTIAL