1.3.2.3.3 MAC_WRP_Tasks Function
C
void MAC_WRP_Tasks (
    SYS_MODULE_OBJ object
);Summary
Maintains MAC Layers state machines.
Description
MAC Wrapper does not have a State Machine to maintain, but is in charge of calling "_Tasks" routines of the MAC layers below.
Precondition
MAC_WRP_Initialize must have been called before, and its returned Object used when calling this function.
Parameters
| Param | Description | 
|---|---|
| object | Object handle for the specified module instance (returned from MAC_WRP_Initialize) | 
Returns
None.
Example
// ...
SYS_MODULE_OBJ sysObjMacWrp;
sysObjMacWrp = MAC_WRP_Initialize(G3_MAC_WRP_INDEX_0);
// ...
while (true)
{
    MAC_WRP_Tasks(sysObjMacWrp);
    // Do other tasks
}Remarks
This function is normally not called directly by an application. It is called by the system's Tasks routine (SYS_Tasks).
