![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
Data Structures | |
| struct | bm_lpuarte |
| struct | bm_lpuarte_config |
Enumerations | |
| enum | bm_lpuarte_rx_state { RX_OFF , RX_IDLE , RX_PREPARE , RX_ACTIVE , RX_TO_IDLE , RX_TO_OFF } |
Functions | |
| int | bm_lpuarte_init (struct bm_lpuarte *lpu, struct bm_lpuarte_config *lpu_cfg, nrfx_uarte_event_handler_t event_handler) |
| Initialize LPUARTE driver instance. | |
| void | bm_lpuarte_uninit (struct bm_lpuarte *lpu) |
| Deinitialize LPUARTE driver instance. | |
| int | bm_lpuarte_tx (struct bm_lpuarte *lpu, const uint8_t *data, size_t length, int32_t timeout) |
| Send data over LPUARTE. | |
| bool | bm_lpuarte_tx_in_progress (struct bm_lpuarte *lpu) |
| Check if TX is in progress. | |
| int | bm_lpuarte_tx_abort (struct bm_lpuarte *lpu, bool sync) |
| Abort transmission. | |
| int | bm_lpuarte_rx_enable (struct bm_lpuarte *lpu) |
| Enable the receiver. | |
| int | bm_lpuarte_rx_buffer_set (struct bm_lpuarte *lpu, uint8_t *data, size_t length) |
| Provide reception buffer. | |
| int | bm_lpuarte_rx_abort (struct bm_lpuarte *lpu, bool sync) |
| Abort any ongoing reception. | |