Difference between revisions of "Component: UART Free (Peripheral CAL)"
From Flowcode Help
Jump to navigationJump to searchLine 78: | Line 78: | ||
Example showing how to build a component using a CAL component [[Using_CAL_Components|Using CAL Components]]. | Example showing how to build a component using a CAL component [[Using_CAL_Components|Using CAL Components]]. | ||
+ | |||
+ | |||
Line 84: | Line 86: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===UpdateBaud=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 102: | Line 105: | ||
+ | ===GetValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 120: | Line 124: | ||
+ | ===Receive=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 138: | Line 143: | ||
+ | ===Send=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 156: | Line 162: | ||
+ | ===GetConsoleHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 169: | Line 176: | ||
+ | ===Init=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 182: | Line 190: | ||
+ | ===Delay=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 195: | Line 204: | ||
+ | ===SetValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 218: | Line 228: | ||
+ | ===Uninit=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 231: | Line 242: | ||
+ | ===GetList=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:52, 3 February 2023
Author | Matrix Ltd |
Version | 1.3 |
Category | Peripheral CAL |
Contents
UART Free component
A low level implementation giving direct access to the CAL
Component Source Code
Please click here to download the component source project: FC_Comp_Source_UART_Free.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_UART_Free.fcfx
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.
Macro reference
UpdateBaud
![]() |
UpdateBaud |
Changes the UART Baud rate. 0 = 1200 / 1 = 2400 / 3 = 4800 / 3 = 9600 / 4 = 19200 / 5 = 38400 6 = 57600 / 7 = 115200 | |
![]() |
new_baud |
The new baud rate (0=1200, 7=115200) | |
![]() |
Return |
GetValue
![]() |
GetValue |
Get Value of Named property | |
![]() |
Name |
![]() |
Return |
Receive
![]() |
Receive |
Receive a Character | |
![]() |
Timeout |
Period to wait for the character to be received | |
![]() |
Return |
Send
![]() |
Send |
Send the Character | |
![]() |
Char |
The Character to send | |
![]() |
Return |
GetConsoleHandle
![]() |
GetConsoleHandle |
![]() |
Return |
Init
![]() |
Init |
Initialize the component with the specified properties | |
![]() |
Return |
Delay
![]() |
Delay |
Software UART Bit Delay | |
![]() |
Return |
SetValue
![]() |
SetValue |
set Value of Named property | |
![]() |
Name |
![]() |
Value |
![]() |
Return |
Uninit
![]() |
Uninit |
Un-initialize the UART and release the resources | |
![]() |
Return |
GetList
![]() |
GetList |
Gets Named property List | |
![]() |
Name |
![]() |
Return |