Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Softing CAN-AC2-104 with Philips SJA1000 FIFO Read XMT Level

Softing CAN-AC2-104 with Philips SJA1000 FIFO Read XMT Level block

Library

Simulink® Real-Time™ Library for CAN

Description

The FIFO Read XMT Level driver block reads the current number of CAN messages stored in the transmit FIFO that the firmware is to process. The transmit FIFO can store up to 31 messages. If it is full and a FIFO Write driver block tries to add another message to the transmit FIFO, the passed messages are lost. You can use this driver block to check for this condition and perform an error action. For example, you can stop the execution or wait for the transmit FIFO to empty.

The block has a single output port of type double, returning a scalar value containing the current transmit FIFO level (number of messages to be processed).

Block Parameters

Board

Defines the board to access to read the current transmit FIFO level. For more information about the meaning of the board number, see the Setup driver block. If just one board is present in the target system, select board number 1.

Sample time

Defines the sample time at which the FIFO Read XMT Level driver block is executed during a real-time application run.

See Also

Introduced in R2006a

Was this topic helpful?