SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
This API writes all required bytes to the opened communication port.
Table 25-5 lists the required parameters for this function.
Name | Type | Description |
---|---|---|
Fd | Fd_t | Handle to the Uart control block, This structure could be changed by the user to include the required parameters in the target platform |
pBuff | char* | Pointer to the first location of a buffer that contains the data to send to the communication port |
Len | unsigned int | Number of bytes to write to the communication port |
The UART write implementation has no special behavior. The function sends the bytes from the buffer on the UART lines. The function must ensure that the actual transmission is executed only if the following conditions are met:
If these conditions are not met, the function should wait until they are (blocked).