1.2.4.4.2 SYS_CONSOLE_Tasks Function

1.2.4.4.2 C

void SYS_CONSOLE_Tasks ( SYS_MODULE_OBJ object )

1.2.4.4.2 Summary

Maintains the console's state machine.

1.2.4.4.2 Description

This function runs the console system service's internal state machine.

1.2.4.4.2 Precondition

The SYS_CONSOLE_Initialize function must have been called for the specified CONSOLE driver instance.

1.2.4.4.2 Parameters

ParametersDescription
objectSYS CONSOLE object handle, returned from SYS_CONSOLE_Initialize

1.2.4.4.2 Returns

None.

1.2.4.4.2 Example

SYS_MODULE_OBJ object; // Returned from SYS_CONSOLE_Initialize

while (true)
{
    SYS_CONSOLE_Tasks (object);

    // Do other tasks
}

1.2.4.4.2 Remarks

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