DRV_MIIM_Tasks Function

C

void DRV_MIIM_Tasks(SYS_MODULE_OBJ object); 

Returns

None

Description

This function is used to maintain the driver's internal state machine.

Remarks

  • This function is normally not called directly by an application. It is called by the system's Tasks routine (SYS_Tasks)

  • This function will never block or access any resources that may cause it to block.

Preconditions

The DRV_MIIM_Initialize routine must have been called for the specified MIIM driver instance.

Example

SYS_MODULE_OBJ object; // Returned from DRV_MIIM_Initialize 

while (true) 
{ DRV_MIIM_Tasks (object); 
// Do other tasks 
}