PM5358 S/UNI-4x622 Driver Manual
Sof tware Architecture
Proprietary and Confidential to PMC-Sierra, Inc. 25
Document ID: PMC-2010419, Issue 1
Figure 7: Polling Service Model
In polling mode, the application is responsible for calling suni4x622Poll often enough to
service any pending error or alarm conditions. When suni4x622Poll is called, the
suni4x622ISR function is called internally.
The suni4x622ISR function reads from the master interrupt-status registers and the
miscellaneous interrupt-status registers of the S/UNI-4x622. If at least one valid interrupt
condition is found then suni4x622ISR fills an Interrupt-Service Vector (ISV) with this status
information as well as the current device handle. In polling mode, this ISV buffer is passed to the
DPR task by calling suni4x622DPR internally.
suni4x622Poll
Application
Indication
Callbacks
suni4x622DPRsuni4x622ISR
Interrupt Context
Information