cancel
Showing results for 
Search instead for 
Did you mean: 

EIRQ

Angle
Associate II

hI, can someone explain this line for me?

what mean by  IRQ_PROLOGUE(); EPILOGUE AND DISRO.0 ?]

0693W00000QKdM5QAL.png 

4 REPLIES 4
Giuseppe DI-GIORE
ST Employee

IRQ_PROLOGUE()

IRQ_EPILOGUE()

are two macros (actually empty) used for application needs: for example to track interrupt execution time.

Considering that by default are empty you can ignore them.

DISR0 register is the interrupt status register. A bit is set to 1 if the correspondent EIRQ is set.

For example if EIRQ3 is pending, bit 3 of DISR0 register is set to 1 (by hardware)

After servicing the interrupt the software must acknowledge (clear) the interrupt by writing 1 to the corresponding bit.

Regards.

okay understand. Then what mean by Group 0, group 1, group 2 etc. The group to what group ?

0693W00000QKhsoQAD.png 

0693W00000QKhstQAD.png 

0693W00000QKhsyQAD.png 

and also can you explain this line too ?

0693W00000QKht8QAD.png 

*the group refer to what group ?

Giuseppe DI-GIORE
ST Employee

External interrupts are "grouped" into a single interrupt line.

Each interrupt line manages 4 different external interrupts.

The status register reports which external interrupt triggered the interrupt line.

Regards.