Component: UART Free (Peripheral CAL): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 95: | Line 95: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Delay''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Delay''' | ||
|- | |- | ||
| Line 109: | Line 109: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsoleHandle''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsoleHandle''' | ||
|- | |- | ||
| Line 123: | Line 123: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetList''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetList''' | ||
|- | |- | ||
| Line 142: | Line 142: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue''' | ||
|- | |- | ||
| Line 161: | Line 161: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Init''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Init''' | ||
|- | |- | ||
| Line 175: | Line 175: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Receive''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Receive''' | ||
|- | |- | ||
| Line 194: | Line 194: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send''' | ||
|- | |- | ||
| Line 213: | Line 213: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue''' | ||
|- | |- | ||
| Line 237: | Line 237: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Uninit''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Uninit''' | ||
|- | |- | ||
| Line 251: | Line 251: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UpdateBaud''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UpdateBaud''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.3 |
| Category | Peripheral CAL |
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
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 | |
Send
| Send | |
| Send the Character | |
| Char | |
| The Character to send | |
| Return | |
SetValue
| SetValue | |
| set Value of Named property | |
| Name | |
| Value | |
| Return | |
Uninit
| Uninit | |
| Un-initialize the UART and release the resources | |
| Return | |
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 | |