Raptor:LIN Definition: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
 
No edit summary
 
Line 1: Line 1:
[[Raptor-Platform|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]


[[Raptor-Dev LIN Library|Return to LIN page]]
[[Raptor-Dev-LIN-Library|Return to LIN page]]


[[File:RaptorCANDefinition.jpg|right|frame|Raptor CAN Definition]]
[[File:LINDEF.png|right|frame|Raptor LIN Definition Block]]


== Description ==
== Description ==
<p>This block is used to create a CAN 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™ CAN blocks with the hardware CAN interface. Each CAN bus that will be used in the model must include a can definition block.</p>
<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 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>


== Parameters ==
== Parameters ==
{| class="wikitable" style="width:75%;"
{| class="wikitable" style="width:73%;"
|-
|-
! scope="col" style="width: 15%;"|Parameter
! scope="col" style="width: 15%;"|Parameter
Line 15: Line 16:
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|-
|-
! CAN Bus Name
! LIN Bus Name
| String
| String
| The name of the CAN bus resource.
| Provides the logic LIN bus name for linking to other LIN blocks (Rx/Tx).
|-
|-
! Hardware Resource
! Hardware Resource
|
|
| The hardware interface to use for the CAN bus.
| Specifies which hardware resource to allocate for this LIN Bus.
|-
|-
! Baud Rate
! Baud Rate
|
|
| Sets the baud rate for the selected CAN bus.
| Specifies baud rate to be used when configuring the LIN hardware.
|-
! LDF File
|
| Provides the name of the LDF file which describes the LIN network connected to the associated LIN hardware resource. The LDF file should be placed inside the model directory (e.g. 'LIN' folder).
|}
|}

Latest revision as of 16:50, 9 April 2018

Return to the main Raptor page

Return to LIN page

Raptor LIN Definition Block

Description

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 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.

Parameters

Parameter Type Description
LIN Bus Name String Provides the logic LIN bus name for linking to other LIN blocks (Rx/Tx).
Hardware Resource Specifies which hardware resource to allocate for this LIN Bus.
Baud Rate Specifies baud rate to be used when configuring the LIN hardware.
LDF File Provides the name of the LDF file which describes the LIN network connected to the associated LIN hardware resource. The LDF file should be placed inside the model directory (e.g. 'LIN' folder).