Component: UART Free (Peripheral CAL)
From Flowcode Help
Jump to navigationJump to searchAuthor | 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
Delay
Delay | |
Software UART Bit Delay | |
- VOID | Return |
GetConsoleHandle
GetConsoleHandle | |
- HANDLE | Return |
GetList
GetList | |
Gets Named property List | |
- STRING | Name |
- STRING | Return |
GetValue
GetValue | |
Get Value of Named property | |
- STRING | Name |
- STRING | Return |
Init
Init | |
Initialize the component with the specified properties | |
- VOID | Return |
Receive
Receive | |
Receive a Character | |
- BYTE | Timeout |
Period to wait for the character to be received | |
- INT | Return |
Send
Send | |
Send the Character | |
- UINT | Char |
The Character to send | |
- VOID | Return |
SetValue
SetValue | |
set Value of Named property | |
- STRING | Name |
- STRING | Value |
- VOID | Return |
Uninit
Uninit | |
Un-initialize the UART and release the resources | |
- VOID | Return |
UpdateBaud
UpdateBaud | |
Changes the UART Baud rate. 0 = 1200 / 1 = 2400 / 3 = 4800 / 3 = 9600 / 4 = 19200 / 5 = 38400 6 = 57600 / 7 = 115200 | |
- BYTE | new_baud |
The new baud rate (0=1200, 7=115200) | |
- VOID | Return |