| interface ti.uiactools.runtime.IUIAPacketTransfer |
 |
 |
| XDCspec summary |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
interface IUIAPacketTransfer { ...
instance: ...
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
module-wide constants & types
};
module-wide config parameters
instance:
per-instance config parameters
per-instance functions
}
| enum IUIAPacketTransfer.TransferType |
 |
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
enum TransferType {
TransferType_RELIABLE,
TransferType_LOSSY
};
| metaonly config IUIAPacketTransfer.common$ // module-wide |
 |
Common module configuration parameters
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
DETAILS
All modules have this configuration parameter. Its name
contains the '$' character to ensure it does not conflict with
configuration parameters declared by the module. This allows
new configuration parameters to be added in the future without
any chance of breaking existing modules.
| config IUIAPacketTransfer.transferType // instance |
 |
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
| IUIAPacketTransfer.disable() // instance |
 |
Disable packet upload
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
RETURNS
The function returns the state of the packet upload (TRUE if enabled,
FALSE if disabled) before the call. This return value allows
clients to restore the previous state.
Note: not thread safe.
| IUIAPacketTransfer.enable() // instance |
 |
Enable packet upload
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
RETURNS
The function returns the state of the packet upload (TRUE if enabled,
FALSE if disabled) before the call. This return value allows
clients to restore the previous state.
Note: not thread safe.
| IUIAPacketTransfer.getTransferType() // instance |
 |
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
| IUIAPacketTransfer.isEmpty() // instance |
 |
Returns true if the transfer buffer has no unread data
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
RETURN
true if no unread data
| IUIAPacketTransfer.poll() // instance |
 |
Check if data is ready and, if so, trigger buffer exchange to send the data as packets.
Call readyToSend after this call to check if there is data available to send
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
RETURNS
0 if success, else error code
| IUIAPacketTransfer.prime() // instance |
 |
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
| IUIAPacketTransfer.readyToSend() // instance |
 |
check to see if the ETB drain buffer contains unsent data.
If true, call transferData API to send the data
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
RETURNS
TRUE if there is unsent data.
| IUIAPacketTransfer.transferData() // instance |
 |
Read and Transfer ETB data
move the binary data to PC host via event packets for further
decoding and analysis
| XDCspec declarations |
sourced in ti/uiactools/runtime/IUIAPacketTransfer.xdc |
Bool transferData(UInt32 maxNumPackets);
ARGUMENTS
maxNumPackets
maximum number of packets to send in context of this API call
generated on Wed, 27 Jun 2012 04:11:41 GMT