Component: MULTIUART (SPI2UART) (Comms: Interface)
From Flowcode Help
(Redirected from Component: ID 43861adb 8a59 492d 8f9f a08775800bc1)
Jump to navigationJump to search| 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 | |