PM5358
Software Architecture
2.4Processing Flows
This section describes the main processing flows of the
The flow diagrams presented here illustrate the sequence of operations that take place for different driver functions. The diagrams also serve as a guide to the application programmer by illustrating the sequence in which the application must invoke the driver API.
Module Management
The following diagram illustrates the typical function call sequences that occur when initializing or shutting down the
Figure 4: Module Management Flow Diagram
START
suni4x622ModuleOpen
Performs module level initialization of the driver. Validates the Module Initialization Vector (MIV). Allocates memory for the MDB and all its components (i.e. all the memory needed by the driver) and then initializes the contents of the MDB with the validated MIV.
suni4x622ModuleStart
suni4x622AddInitProfile
suni4x622DeleteInitProfile
suni4x622ModuleStop
suni4x622ModuleClose
Performs module level startup of the driver. This involves allocating RTOS resources such as semaphores and timers and installing the ISR handler and DPR task.
Register an initialization profile. This allows the user to store
Perform all device level functions here (add, init, activate,
Performs Module level shutdown of the driver. This involves deleting all devices currently installed and
Performs module level shutdown of the driver.
END
Device Management
The following figure shows the typical function call sequences that the driver uses to add, initialize,
Proprietary and Confidential to | 21 |
Document ID: |
|