Owners manual

System
H3 Datasheet(Revision1.2) Copyright© 2015 Allwinner Technology Co.,Ltd.All Rights Reserved. Page 212
4.13.2.2. Functional Block Diagram
MSGBOX_MSG_REG_M
MSGBOX_MSG_STATUS_REG_M
MSGBOX_FIFO_STATUS_REG_M
MSGBox Message Queue m (m
: from 0 to 7)
MSGBox
USER0 USER1
MSGBOX_IRQ_EN_REG_0
MSGBOX_IRQ_STATUS_REG_0
For user0
MSGBOX_CTRL_REG0
MSGBOX_IRQ_EN_REG_1
MSGBOX_IRQ_STATUS_REG_1
For user1
MSGBOX_CTRL_REG1
Four Message FIFO
Figure 4-8. Message Box Functional Block Diagram
4.13.3. Operation Principle
4.13.3.1. Message Queue Assignment
To transmit messages from a user to the other user through any Message Queue, set the corresponding bit in the
MSGBOX_CTRL_REG0/MSGBOX_CTRL_REG1 register.
When a 32-bit message is written to the MSGBOX_MSG_REG_M register, the message is appended into the FIFO queue.
This queue holds 4 messages. If the queue is full, the message is discarded. The receiver user could read the
MSGBOX_MSG_REG_M (m is the message queue number, where m=0 to 7) register to retrieve a message from the
corresponding Message Queue FIFO.
It is recommended that register polling be used for a user to send a message:
confidential