Difference between revisions of "Component: MULTIUART (SPI2UART) (Comms: Interface)"
From Flowcode Help
Jump to navigationJump to search| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_MULTIUART.fcfx FC_Comp_Source_MULTIUART.fcfx] |
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_MULTIUART.fcfx FC_Comp_Source_MULTIUART.fcfx] |
==Detailed description== | ==Detailed description== | ||
| Line 74: | Line 74: | ||
{{Fcfile|MULTIUART Test.fcfx|Simple test program}} | {{Fcfile|MULTIUART Test.fcfx|Simple test program}} | ||
| + | |||
| + | |||
Latest revision as of 13:12, 7 February 2023
| Author | Matrix TSL |
| Version | 2.0 |
| Category | Comms: Interface |
Contents
MULTIUART component
Uses a high speed SPI connection to enable up to four buffered external UARTs via the MULTIUART modules.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_MULTIUART.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_MULTIUART.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Macro reference
CheckRx
| CheckRx | |
| Returns the number of received bytes held in queue for the selected channel. | |
| UART | |
| UART Index Range: 0-3 | |
| Return | |
CheckTx
| CheckTx | |
| Returns the number of bytes held in the transmit queue for the selected channel. | |
| UART | |
| UART Index Range: 0-3 | |
| Return | |
Initialise
| Initialise | |
| Activates the SPI peripheral and claims control over the I/O pins. | |
| Return | |
ReceiveByte
ReceiveString
SetBaud
| SetBaud | |
| Adds a byte to the transmit queue for the selected channel. | |
| UART | |
| UART Index Range: 0-3 | |
| Baud | |
| 0=1200, 1=2400, 2=4800, 3=9600, 4=19200, 5=38400, 6=57600, 7=115200 | |
| Return | |
TransmitByte
| TransmitByte | |
| Adds a byte to the transmit queue for the selected channel. | |
| UART | |
| UART Index Range: 0-3 | |
| Data | |
| Return | |
TransmitString
| TransmitString | |
| Adds a byte to the transmit queue for the selected channel. | |
| UART | |
| UART Index Range: 0-3 | |
| Data | |
| Return | |