PM5358
Software Architecture
Figure 5: Device Management Flow Diagram
START
suni4x622Add
suni4x622Init
suni4x622Activate
suni4x622Reset
suni4x622DeActivate
suni4x622Reset
suni4x622Delete
Detects the new device in hardware, assigns a DDB to the new device andstores the user's context for the device. Returns a device handle to the user
Applies a reset to the device and initializes the device registers and associated RAMs based on the DIV passed by the user. The user may only pass a profile number, which corresponds to a previously saved & validated set of configurations (by using
suni4x622AddInitProfile)
Prepares the device for normal operation by enabling interrupts and other global enables. ISR routines are installed when the module is started using sysSuni4x622ISRHandlerInstall. The device is now operational and all other API can be invoked.
In order to
device are removed usingsysSuni4x622ISRHandlerRemove when the module is closed.
Applies a software reset to the device to put it in its default startup state.
Removes the device from the list of devices being controlled by the
END
2.5Interrupt Servicing
The
Note: Since the DPR task processes potentially serious interrupt conditions, you should set the DPR task’s priority higher than the application task interacting with the
Proprietary and Confidential to | 22 |
Document ID: |
|