1.2.4.4.2 SYS_CONSOLE_Tasks Function

C

void SYS_CONSOLE_Tasks ( SYS_MODULE_OBJ object )

Summary

Maintains the console's state machine.

Description

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

Precondition

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

Parameters

ParamDescription
objectSYS CONSOLE object handle, returned from SYS_CONSOLE_Initialize

Returns

None

Example

SYS_MODULE_OBJ object; // Returned from SYS_CONSOLE_Initialize

while (true)
{
    SYS_CONSOLE_Tasks (object);
    
    // 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) or by the appropriate raw ISR.