MiApp_FlushTx Macro

MiWi Development Environment

MiWi(TM) Development Environment Help
MiApp_FlushTx Macro
C
#define MiApp_FlushTx {TxData = PAYLOAD_START;}
Description

This macro reset the pointer of the TX buffer. This function is usually called before filling application payload.

Preconditions

Protocol initialization has been done.

Returns

None

Remarks

None

Example
MiApp_FlushTx();
MiApp_WriteData(AppPayload[0]);
MiApp_WriteData(AppPayload[1]);
Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.