SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
An interrupt request allows the user of the mailbox to be notified when a message is received or when the message queue is not full. There is one interrupt per user.
Table 8-1 lists the event flags, and their mask, that can cause module interrupts.
Non-Maskable Event Flag(1) | Maskable Event Flag | Event Mask Bit | Event Unmask Bit | Description |
---|---|---|---|---|
MAILBOX_IRQ_STATUS_RAW_j[0+y*2] NEWMSGSTATUSMBy | MAILBOX_IRQ_STATUS_CLR_j[0+y*2] NEWMSG_STATUSMBy | MAILBOX_IRQ_ENABLE_CLR_j[0+y*2] NEWMSG_STATUSMBy | MAILBOX_IRQ_ENABLE_SET_j[0+y*2] NEWMSG_STATUSMBy | Mailbox y receives a new message. |
MAILBOX_IRQ_STATUS_RAW_j[1+y*2] NOTFULLSTATUSMBy | MAILBOX_IRQ_STATUS_CLR_j[1+y*2] NOTFULLSTATUSMBy | MAILBOX_IRQ_ENABLE_CLR_j[1+y*2] NOTFULLSTATUSMBy | MAILBOX_IRQ_ENABLE_SET_j[1+y*2] NOTFULLSTATUSMBy | Mailbox y message queue is not full. |
Once an event generating the interrupt request has been processed by the software, it must be cleared by writing a logical 1 in the corresponding bit of the MAILBOX_IRQ_STATUS_CLR_j register.
Writing a logical 1 in a bit of the MAILBOX_IRQ_STATUS_CLR_j register will also clear to 0 the corresponding bit in the appropriate MAILBOX_IRQ_STATUS_RAW_j register.
An event can generate an interrupt request when a logical 1 is written to the corresponding unmask bit in the MAILBOX_IRQ_ENABLE_SET_j register. Events are reported in the appropriate MAILBOX_IRQ_ENABLE_CLR_j and MAILBOX_IRQ_STATUS_RAW_j registers.
An event stops generating interrupt requests when a logical 1 is written to the corresponding mask bit in the MAILBOX_IRQ_ENABLE_CLR_j register. Events are only reported in the appropriate MAILBOX_IRQ_STATUS_RAW_j register.
In case of the MAILBOX_IRQ_STATUS_RAW_j register, the event is reported in the corresponding bit even if the interrupt request generation is disabled for this event.