2022-07-07 01:27 AM
hI, can someone explain this line for me?
what mean by IRQ_PROLOGUE(); EPILOGUE AND DISRO.0 ?]
2022-07-07 02:40 AM
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.
2022-07-07 05:45 PM
okay understand. Then what mean by Group 0, group 1, group 2 etc. The group to what group ?
and also can you explain this line too ?
2022-07-07 05:46 PM
*the group refer to what group ?
2022-07-08 12:06 AM
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.