KETCube UART API.
More...
◆ init
Initialize UART driver.
- Parameters
-
| baudRate | UART Baud Rate |
| parity | UART parity, see @ketCube_Arduino_parity_t |
- Return values
-
| TRUE | in case of success, else return FALSE |
◆ receive
Receive data through UART2.
- Parameters
-
| buffer | pointer to buffer (of bytes) |
| length | the buffer length |
| timeout | timeout in ms (for all data) |
- Return values
-
| TRUE | in case of success, else return FALSE |
◆ send
Send throught UART2.
- Parameters
-
| buffer | pointer to buffer (of bytes) |
| length | the buffer length |
| timeout | timeout in ms |
- Return values
-
| TRUE | in case of success, else return FALSE |