PM5358
Software Architecture
Module States
The following is a description of the
Start
The driver module has not been initialized. In this state the driver does not hold any RTOS resources (memory, timers, etc); has no running tasks, and performs no actions.
Idle
The driver module has been initialized successfully. The Module Initialization Vector (MIV) has been validated, the Module Data Block (MDB) has been allocated and loaded with current data, the
Ready
This is the normal operating state for the driver module. This means that all RTOS resources have been allocated and the driver is ready for devices to be added. The driver module remains in this state while devices are in operation.
Device States
The following is a description of the
Start
The device has not been initialized. In this state the device is unknown by the driver and performs no actions. There is a separate flow for each device that can be added, and they all start here.
Present
The device has been successfully added. A Device Data Block (DDB) has been associated to the device and updated with the user context, and a device handle has been given to the USER. In this state the device performs no actions.
Inactive
In this state the device is configured but all data functions are
Active
This is the normal operating state for the device. In this state, interrupt servicing or polling is enabled.
Proprietary and Confidential to | 20 |
Document ID: |
|