Difference between revisions of "Component: LIN Master (Comms)"
From Flowcode Help
Jump to navigationJump to search| Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 83: | Line 85: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===PowerDown=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 96: | Line 99: | ||
| + | ===GetState=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 109: | Line 113: | ||
| + | ===debug=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 127: | Line 132: | ||
| + | ===SendMessage=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 155: | Line 161: | ||
| + | ===ReadDataCount=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 168: | Line 175: | ||
| + | ===SetData=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 221: | Line 229: | ||
| + | ===ReadData=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 239: | Line 248: | ||
| + | ===SendMessageWithData=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 267: | Line 277: | ||
| + | ===WakeUp=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 280: | Line 291: | ||
| + | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:51, 3 February 2023
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Comms |
Contents
LIN Master component
Low level routines for controlling a LIN master (1.3 & 2.0) interface.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LinMaster.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LinMaster.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
PowerDown
| PowerDown | |
| Power Down the device | |
| Return | |
GetState
| GetState | |
| Returns the current state | |
| Return | |
debug
| debug | |
| idx | |
| Return | |
SendMessage
ReadDataCount
| ReadDataCount | |
| Returns the data count size | |
| Return | |
SetData
| SetData | |
| Sets the data bytes to be sent | |
| Data1 | |
| Data2 | |
| Data3 | |
| Data4 | |
| Data5 | |
| Data6 | |
| Data7 | |
| Data8 | |
| Return | |
ReadData
| ReadData | |
| Returns a data byte indexed by Idx | |
| Idx | |
| Return | |
SendMessageWithData
| SendMessageWithData | |
| Sends a message with data of length DataCount. See SetData | |
| Identifier | |
| DataCount | |
| Checksum | |
| 0=Classic, 1=Enhanced | |
| Return | |
WakeUp
| WakeUp | |
| Wake Up the device | |
| Return | |
Initialise
| Initialise | |
| Initialise the component | |
| Return | |