![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| int bm_lpuarte_tx | ( | struct bm_lpuarte * | lpu, |
| const uint8_t * | data, | ||
| size_t | length, | ||
| int32_t | timeout ) |
#include <bm_lpuarte.h>
Send data over LPUARTE.
| [in] | lpu | Low Power UARTE driver instance structure. |
| [in] | data | Data to transfer. |
| [in] | length | Size of data to transfer. |
| [in] | timeout | TX timeout in milliseconds. |
| 0 | Initialization of transmission was successful. |
| -EBUSY | When transfer is already in progress. |
| -EFAULT | If lpu or data is NULL. |
| -EINVAL | Length is zero. |