Rainbow Electronics AT91CAP9S250A User Manual

Page 733

Advertising
background image

733

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

• MRDY: Mailbox Ready

An interrupt is triggered when MRDY is set.

0 = Mailbox data registers can not be read/written by the software application. CAN_MDx are locked by the CAN_MDx.

1 = Mailbox data registers can be read/written by the software application.

This flag is cleared by writing to CAN_MCRx register.

• MMI: Mailbox Message Ignored

0 = No message has been ignored during the previous transfer

1 = At least one message has been ignored during the previous transfer

Cleared by reading the CAN_MSRx register.

Mailbox Object Type

Description

Receive

At least one message has been received since the last mailbox transfer order. Data from the first frame
received can be read in the CAN_MDxx registers.

After setting the MOT field in the CAN_MMR, MRDY is reset to 0.

Receive with overwrite

At least one frame has been received since the last mailbox transfer order. Data from the last frame received
can be read in the CAN_MDxx registers.

After setting the MOT field in the CAN_MMR, MRDY is reset to 0.

Transmit

Mailbox data have been transmitted.

After setting the MOT field in the CAN_MMR, MRDY is reset to 1.

Consumer

At least one message has been received since the last mailbox transfer order. Data from the first message
received can be read in the CAN_MDxx registers.

After setting the MOT field in the CAN_MMR, MRDY is reset to 0.

Producer

A remote frame has been received, mailbox data have been transmitted.

After setting the MOT field in the CAN_MMR, MRDY is reset to 1.

Mailbox Object Type

Description

Receive

Set when at least two messages intended for the mailbox have been sent. The first one is available in the
mailbox data register. Others have been ignored. A mailbox with a lower priority may have accepted the
message.

Receive with overwrite

Set when at least two messages intended for the mailbox have been sent. The last one is available in the
mailbox data register. Previous ones have been lost.

Transmit

Reserved

Consumer

A remote frame has been sent by the mailbox but several messages have been received. The first one is
available in the mailbox data register. Others have been ignored. Another mailbox with a lower priority may
have accepted the message.

Producer

A remote frame has been received, but no data are available to be sent.

Advertising