Preliminary
Mailbox
www.ti.com
1.13.4.1.2.3 Main Sequence - Receiving a Message (Polling Method)
Table 1-97. Receiving a Message (Polling Method)
Step
Register/Bitfield/Programming Model
Value
IF : Number of messages is not equal to 0
MAILBOX_MSGSTATUS_m[2:0].NBOFM
!=0h
SGMB
Read message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
ENDIF
1.13.4.1.2.4 Main Sequence - Receiving a Message (Interrupt Method)
Table 1-98. Receiving a Message (Interrupt Method)
Step
Register/Bitfield/Programming Model
Value
Enable interrupt event
MAILBOX_IRQENABLE_SET_u[0 + m*2]
1h
User(processor) can perform anothr task until interrupt occurs
1.13.4.1.3 Events Servicing
1.13.4.1.3.1 Sending Mode
describes the events servicing in sending mode.
Table 1-99. Events Servicing in Sending Mode
Step
Register/Bitfield/Programming Model
Value
Read interrupt status bit
MAILBOX_IRQSTATUS_CLR_u[1 + m*2]
1
Write message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
Write 1 to acknowledge interrupt
MAILBOX_IRQSTATUS_CLR_u[1 + m*2]
1
1.13.4.1.3.2 Receiving Mode
describes the events servicing in receiving mode.
Table 1-100. Events Servicing in Receiving Mode
Step
Register/Bitfield/Programming Model
Value
Read interrupt status bit
MAILBOX_IRQSTATUS_CLR_u[0 + m*2]
1
IF : Number of messages is not equal to
MAILBOX_MSGSTATUS_m[2:0].NBOFM
!=0h
0 ?
SGMB
Read message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
ELSE
Write 1 to acknowledge interrupt
MAILBOX_IRQSTATUS_CLR_u[0 + m*2]
1
ENDIF
216
Chip Level Resources
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...