.macro MOV32
.mparam dst, src
MOV dst.w0, src & 0xFFFF
MOV dst.w2, src >> 16
.endm
#define SICR_OFFSET 0x24
#define CONST_PRUSSINTC C0
#define temp32reg r10
// clear interrupt
MOV32 temp32reg, (0x00000000 | 21)
SBCO temp32reg, CONST_PRUSSINTC, SICR_OFFSET, 4
On Thursday, February 25, 2016 at 2:18:22 PM UTC+2, [email protected]
wrote:
>
> Hello,
> I have problem with the interrupts.
>
> With this command I check if there is an interrupt
> QBBS BACK_LOOP, r31, 30
>
> How can I clear the interrupt?
> I have tried to find a solution via from am335xPruReferenceGuide.pdf
> "6.2.2.5 Interrupt Status Clearing
> For clearing the status of an interrupt, whose interrupt number is N,
> write a 1 to the Nth bit position in the system interrupt status
> enabled/clear registers (SECR1-SECR2). System interrupt N can also be
> cleared by writing the value N into the system interrupt status indexed
> clear register (SICR)."
>
> How can I do in practice?
>
>
>
>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.