Jump to main content

# 1.2.6.4.6 SRV_USI_Tasks Function

## C

    void SRV_USI_Tasks( SYS_MODULE_OBJ object )

## Summary

Maintains the USI's state machine.

## Description

This function is used to maintain the USI's internal state machine and generate callback functions.

## Precondition

SRV_USI_Initialize must have been called for the specified USI service instance.

## Parameters

Param | Description
--- | ---
object | Object returned from SRV_USI_Initialize.

## Returns

None.

## Example

    while (true)
    {
        SRV_USI_Tasks(SRV_USI_INDEX_0);

        // 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).

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

Rev: G