Difference between revisions of "Component: CAN (CAL) (Misc)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 2.4 |- | width="20%" style="color:gray...") |
|||
Line 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 10:34, 17 November 2021
Author | Matrix TSL |
Version | 2.4 |
Category | Misc |
Contents
CAN component
CAL = Code Abstraction Layer - Allows one code base to run on a wide range of chips. Low level routines for controling the internal CAN peripheral.
Detailed description
No detailed description exists yet for this component
Examples
Example showing how to build a component using a CAL component Using CAL Components.
Downloadable macro reference
![]() |
SetRxMask |
Generic function to set Identifier. CAN registers will be configured depending upon Std/Ext mode setting. | |
![]() |
mask |
![]() |
id |
![]() |
Return |
![]() |
GetValue |
Get the Value of the Named property | |
![]() |
Name |
![]() |
Return |
![]() |
GetRxData |
Returns the data byte at index from the buffer specified | |
![]() |
buffer |
The index of the required buffer | |
![]() |
index |
The index of the required data byte in the buffer | |
![]() |
Return |
![]() |
InitRXMask |
Initialization setting for RX Mask | |
![]() |
Mask |
Mask Number (0 or 1) | |
![]() |
Value |
![]() |
Return |
![]() |
SendBuffer |
Sends the contents of the buffer previously filled with Set_TX_... calls | |
![]() |
Buffer |
Send buffer: 0 to,2 | |
![]() |
Return |
![]() |
InitRXFilter |
Initialization setting for RX Filter | |
![]() |
Filter |
![]() |
Value |
![]() |
Return |
![]() |
GetRxDataCount |
Returns the number of valid data bytes in the buffer | |
![]() |
buffer |
The index of the required buffer | |
![]() |
Return |
![]() |
Init |
Must be called at least once and after every Uninit call to enable the CAN instance | |
![]() |
Return |
![]() |
SetValue |
Set the Value of the Named property | |
![]() |
Name |
![]() |
Value |
![]() |
Return |
![]() |
SetRxFilter |
Generic function to set Identifier. CAN registers will be configured depending upon Std/Ext mode setting. | |
![]() |
filter |
![]() |
id |
![]() |
Return |
![]() |
SetTxIdent |
Generic function to set Identifier. CAN registers will be configured depending upon Std/Ext mode setting. | |
![]() |
buffer |
![]() |
id |
![]() |
Return |
![]() |
CheckRx |
Checks to see if any messages are available for 'Buffer' specified | |
![]() |
Buffer |
Send buffer: 0 to 1 | |
![]() |
Return |
![]() |
InitRXConfig |
Initialization setting for RX Buffer Config | |
![]() |
Buffer |
Buffer Number (0 or 1) | |
![]() |
Value |
Config data byte | |
![]() |
Return |
![]() |
Uninit |
Uninitialises the CAN, freeing its connections for general use | |
![]() |
Return |
![]() |
GetList |
Get the Filter List of the Named Property | |
![]() |
Name |
![]() |
Return |
![]() |
GetRxIdent |
Generic function to get the received message Identifier. | |
![]() |
buffer |
![]() |
Return |