|
|
Line 1: |
Line 1: |
| {{DISPLAYTITLE:Raptor-Dev-LIN-Library}}
| |
| {{Navigation}} [[Raptor-Platform | Raptor Platform]] > [[Raptor-Dev]] > [[Raptor-Dev-Libraries | Raptor-Dev Library]] > '''Raptor-Dev-LIN-Library'''
| |
| [[File:RaptorLIN.jpg|right|frame|Raptor LIN]]
| |
|
| |
|
| <h1>Overview</h1>
| |
| <p>The blocks in this subsystem can be used to send and receive message-based LIN messages.
| |
| </p>
| |
|
| |
| <h1>Blocks</h1>
| |
|
| |
| {| class="wikitable"
| |
| |-
| |
| ! scope="col" style="width: 15%;"| Block
| |
| ! scope="col" style="width: 60%;"| Description
| |
| ! scope="col" style="width: 25%;"| Appearance
| |
| |-
| |
| ! <h5>[[Raptor:LIN Definition|LIN Definition]]</h5>
| |
| | <p>This block is used to create a LIN bus resource and map it to a particular hardware I/O point. This block will generate all of the code necessary to connect and coordinate all the Raptor™ LIN blocks with the hardware LIN interface. Each LIN bus that will be used in the model must include a LIN definition block.</p>
| |
| | [[file:LINDEF.png|frameless|border|LIN Definition block|center]]
| |
| |-
| |
| ! <h5>[[Raptor:LIN Rx Message|LIN Rx Message]]</h5>
| |
| | <p>The LIN Rx Message block uses a frame definition from the LDF file associated with the LIN Bus definition block to receive and interpret the frame on the specified bus. The reception is scheduled according to the LIN frame schedule.</p>
| |
| | [[file:LINRX.png|frameless|border|LIN Rx Message BLock |center]]
| |
| |-
| |
| ! <h5>[[Raptor:LIN Tx Message|LIN Tx Message]]</h5>
| |
| | <p>The LIN Tx Message block uses a frame definition from the LDF file associated with the LIN Bus definition block to transmit the frame on the specified bus. The transmission is scheduled according to the LIN frame schedule.</p>
| |
| | [[file:LINTX.png|frameless|border|LIN Tx Message Block|center]]
| |
| |-
| |
| ! <h5>[[Raptor:LIN Trigger|LIN Trigger]]</h5>
| |
| | <p>The LIN trigger block can be used with LIN transmit and receive. The Frame field provides the message on which the trigger is associated. For LIN Receive, the trigger is fired each time the message is received from a slave node. For LIN Transmit, the trigger is fired immediately before the message is transmitted. Placing the LIN Transmit block inside the subsystem called by the trigger allow for values to be updated immediately prior to transmit. Multiple LIN trigger blocks can be associated with the same LIN frame.</p>
| |
| | [[file:LINTRIG.png|frameless|border|LIN Trigger Block|center]]
| |
| |}
| |