Component: UART (CAL) (Misc): Difference between revisions
Appearance
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
||
| Line 419: | Line 419: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
|- | |- | ||
| Line 433: | Line 433: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Transmit | ||
|- | |- | ||
|- | |- | ||
| Line 452: | Line 452: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Receive | ||
|- | |- | ||
|- | |- | ||
| Line 471: | Line 471: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Flow Control | ||
|- | |- | ||
|- | |- | ||
| Line 480: | Line 480: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Options | ||
|- | |- | ||
|- | |- | ||
| Line 514: | Line 514: | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:36, 13 July 2026
| Author | Matrix TSL |
| Version | 19.3 |
| Category | Misc |
UART component
CAL = Code Abstraction Layer - Allows one code base to run on a wide range of chips. A low level implementation giving direct access to the UART peripheral. Includes simulation functionality to commmunicate via a COM port or an Injector component. Also includes timestamped logging via the console and Data Recorder trace monitoring support.
Version information
Library Version, Component Version, Date, Author, Info 14, 2.2, 04-11-24, BR, Added pin caption to the remap port pin selection property 15, 2.2, 04-11-24, BR, Cleaned up pin caption from none remap port pin property 16, 2.2, 15-11-24, BR, Minor change to reflect changes to I2C CAL component 17, 2.3, 06-05-25, BR, Added filter to allow for automatic channel setup based on FCD and component 18, 2.3, 15-07-25, BR, Sorted the remap pin properties by port pin 19, 2.3, 11-08-25, MW, Changed fcdhelper properties to invisible as text is appearing on other projects
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ControlPin
Delay
| Delay | |
| Software UART Bit Delay | |
| Return | |
GetConsoleHandle
| GetConsoleHandle | |
| Return | |
GetList
| GetList | |
| Gets Named property List | |
| Name | |
| Return | |
GetValue
| GetValue | |
| Get Value of Named property | |
| Name | |
| Return | |
Init
| Init | |
| Initialize the component with the specified properties | |
| Return | |
Receive
| Receive | |
| Receive a Character | |
| Timeout | |
| Period to wait for the character to be received | |
| Return | |
ReceiveByteArray
ReceiveString
Send
| Send | |
| Send the Character | |
| Char | |
| The Character to send | |
| Return | |
SendByteArray
| SendByteArray | |
| Transmits an array of bytes via the UART peripheral | |
| Data | |
| Data to transmit | |
| NumBytes | |
| Number of bytes to send from the array | |
| Return | |
SendNumber
| SendNumber | |
| Transmits a numeric value as an ASCII string | |
| Number | |
| Numeric value to send | |
| Return | |
SendString
| SendString | |
| Transmits a string of bytes via the UART peripheral | |
| Data | |
| Data String to transmit | |
| Return | |
SetValue
| SetValue | |
| set Value of Named property | |
| Name | |
| Value | |
| Return | |
TestProperty
| TestProperty | |
| A simple macro to allow us to test the value of a single property during runtime. | |
| Property | |
| 0=UseTX, 1=UseRX, 2=UseFlowControl | |
| Return | |
Uninit
| Uninit | |
| Un-initialize the UART and release the resources | |
| Return | |
UpdateBaud
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_UART.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_UART.fcfx