PM5358 S/UNI-4x622 Driver Manual Software Architecture

Figure 7: Polling Service Model

 

suni4x622Poll

 

 

Interrupt Context

 

suni4x622ISR

Information

suni4x622DPR

 

Indication Callbacks

Application

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.

Proprietary and Confidential to PMC-Sierra, Inc.

25

Document ID: PMC-2010419, Issue 1

 

Page 25
Image 25
PMC-Sierra PM5358 S/UNI 4x622 manual Polling Service Model