nrfx 3.3
Data Structures | Functions
UARTE HALY

Hardware access layer with cache and barrier support for managing the UARTE peripheral. More...

Data Structures

struct  nrfy_uarte_pins_t
 UARTE pins configuration structure. More...
 
struct  nrfy_uarte_config_t
 UARTE configuration structure. More...
 
struct  nrfy_uarte_buffer_t
 Structure describing an UARTE transfer. More...
 

Functions

NRFY_STATIC_INLINE void nrfy_uarte_periph_configure (NRF_UARTE_Type *p_reg, nrfy_uarte_config_t const *p_config)
 Function for configuring the UARTE.
 
NRFY_STATIC_INLINE void nrfy_uarte_int_init (NRF_UARTE_Type *p_reg, uint32_t mask, uint8_t irq_priority, bool enable)
 Function for initializing the specified UARTE interrupts.
 
NRFY_STATIC_INLINE void nrfy_uarte_int_uninit (NRF_UARTE_Type *p_reg)
 Function for uninitializing the UARTE interrupts.
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_events_process (NRF_UARTE_Type *p_reg, uint32_t mask, nrfy_uarte_buffer_t const *p_xfer)
 Function for processing the specified UARTE events.
 
NRFY_STATIC_INLINE void nrfy_uarte_tx_abort (NRF_UARTE_Type *p_reg, bool wait)
 Function for aborting the ongoing UARTE transmission.
 
NRFY_STATIC_INLINE void nrfy_uarte_stop (NRF_UARTE_Type *p_reg, nrfy_uarte_buffer_t const *p_xfer)
 Function for stopping the UARTE transmitter and receiver.
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_start (NRF_UARTE_Type *p_reg, bool wait)
 Function for starting the UARTE transmission.
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_start (NRF_UARTE_Type *p_reg, nrfy_uarte_buffer_t const *p_xfer)
 Function for starting the UARTE reception.
 
NRFY_STATIC_INLINE void nrfy_uarte_pins_get (NRF_UARTE_Type const *p_reg, nrfy_uarte_pins_t *p_pins)
 Function for getting UARTE pins configuration.
 
NRFY_STATIC_INLINE void nrfy_uarte_pins_disconnect (NRF_UARTE_Type *p_reg)
 Function for disconnecting UARTE pins.
 
NRFY_STATIC_INLINE void nrfy_uarte_event_clear (NRF_UARTE_Type *p_reg, nrf_uarte_event_t event)
 
NRFY_STATIC_INLINE bool nrfy_uarte_event_check (NRF_UARTE_Type const *p_reg, nrf_uarte_event_t event)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_event_address_get (NRF_UARTE_Type const *p_reg, nrf_uarte_event_t event)
 
NRFY_STATIC_INLINE void nrfy_uarte_shorts_set (NRF_UARTE_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_shorts_get (NRF_UARTE_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_uarte_shorts_enable (NRF_UARTE_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_uarte_shorts_disable (NRF_UARTE_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_uarte_int_enable (NRF_UARTE_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_int_enable_check (NRF_UARTE_Type const *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_uarte_int_disable (NRF_UARTE_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_uarte_subscribe_set (NRF_UARTE_Type *p_reg, nrf_uarte_task_t task, uint8_t channel)
 
NRFY_STATIC_INLINE void nrfy_uarte_subscribe_clear (NRF_UARTE_Type *p_reg, nrf_uarte_task_t task)
 
NRFY_STATIC_INLINE void nrfy_uarte_publish_set (NRF_UARTE_Type *p_reg, nrf_uarte_event_t event, uint8_t channel)
 
NRFY_STATIC_INLINE void nrfy_uarte_publish_clear (NRF_UARTE_Type *p_reg, nrf_uarte_event_t event)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_errorsrc_get_and_clear (NRF_UARTE_Type *p_reg)
 
NRFY_STATIC_INLINE void nrfy_uarte_enable (NRF_UARTE_Type *p_reg)
 
NRFY_STATIC_INLINE void nrfy_uarte_disable (NRF_UARTE_Type *p_reg)
 
NRFY_STATIC_INLINE void nrfy_uarte_txrx_pins_set (NRF_UARTE_Type *p_reg, uint32_t pseltxd, uint32_t pselrxd)
 
NRFY_STATIC_INLINE void nrfy_uarte_txrx_pins_disconnect (NRF_UARTE_Type *p_reg)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_pin_get (NRF_UARTE_Type const *p_reg)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_pin_get (NRF_UARTE_Type const *p_reg)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_rts_pin_get (NRF_UARTE_Type const *p_reg)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_cts_pin_get (NRF_UARTE_Type const *p_reg)
 
NRFY_STATIC_INLINE void nrfy_uarte_hwfc_pins_set (NRF_UARTE_Type *p_reg, uint32_t pselrts, uint32_t pselcts)
 
NRFY_STATIC_INLINE void nrfy_uarte_hwfc_pins_disconnect (NRF_UARTE_Type *p_reg)
 
NRFY_STATIC_INLINE void nrfy_uarte_task_trigger (NRF_UARTE_Type *p_reg, nrf_uarte_task_t task)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_task_address_get (NRF_UARTE_Type const *p_reg, nrf_uarte_task_t task)
 
NRFY_STATIC_INLINE void nrfy_uarte_configure (NRF_UARTE_Type *p_reg, nrf_uarte_config_t const *p_cfg)
 
NRFY_STATIC_INLINE void nrfy_uarte_baudrate_set (NRF_UARTE_Type *p_reg, nrf_uarte_baudrate_t baudrate)
 
NRFY_STATIC_INLINE void nrfy_uarte_tx_buffer_set (NRF_UARTE_Type *p_reg, uint8_t const *p_buffer, size_t length)
 
NRFY_STATIC_INLINE uint8_t const * nrfy_uarte_tx_buffer_get (NRF_UARTE_Type *p_reg)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_amount_get (NRF_UARTE_Type const *p_reg)
 
NRFY_STATIC_INLINE void nrfy_uarte_rx_buffer_set (NRF_UARTE_Type *p_reg, uint8_t *p_buffer, size_t length)
 
NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_amount_get (NRF_UARTE_Type const *p_reg)
 

Detailed Description

Hardware access layer with cache and barrier support for managing the UARTE peripheral.

Function Documentation

◆ nrfy_uarte_baudrate_set()

NRFY_STATIC_INLINE void nrfy_uarte_baudrate_set ( NRF_UARTE_Type *  p_reg,
nrf_uarte_baudrate_t  baudrate 
)
See also
nrf_uarte_baudrate_set Function for setting UARTE baud rate.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]baudrateBaud rate.

◆ nrfy_uarte_configure()

NRFY_STATIC_INLINE void nrfy_uarte_configure ( NRF_UARTE_Type *  p_reg,
nrf_uarte_config_t const *  p_cfg 
)
See also
nrf_uarte_configure Function for configuring UARTE.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_cfgPointer to UARTE settings structure.

◆ nrfy_uarte_cts_pin_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_cts_pin_get ( NRF_UARTE_Type const *  p_reg)
See also
nrf_uarte_cts_pin_get Function for getting CTS pin selection.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
CTS pin selection.

◆ nrfy_uarte_disable()

NRFY_STATIC_INLINE void nrfy_uarte_disable ( NRF_UARTE_Type *  p_reg)
See also
nrf_uarte_disable Function for disabling UARTE.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrfy_uarte_enable()

NRFY_STATIC_INLINE void nrfy_uarte_enable ( NRF_UARTE_Type *  p_reg)
See also
nrf_uarte_enable Function for enabling UARTE.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrfy_uarte_errorsrc_get_and_clear()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_errorsrc_get_and_clear ( NRF_UARTE_Type *  p_reg)
See also
nrf_uarte_errorsrc_get_and_clear Function for getting error source mask. Function is clearing error source flags after reading.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Mask with error source flags.

◆ nrfy_uarte_event_address_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_event_address_get ( NRF_UARTE_Type const *  p_reg,
nrf_uarte_event_t  event 
)
See also
nrf_uarte_event_address_get Function for returning the address of the specified UARTE event register.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventThe specified event.
Returns
Address of specified event register.

◆ nrfy_uarte_event_check()

NRFY_STATIC_INLINE bool nrfy_uarte_event_check ( NRF_UARTE_Type const *  p_reg,
nrf_uarte_event_t  event 
)
See also
nrf_uarte_event_check Function for retrieving the state of the UARTE event.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to be checked.
Return values
trueThe event has been generated.
falseThe event has not been generated.

◆ nrfy_uarte_event_clear()

NRFY_STATIC_INLINE void nrfy_uarte_event_clear ( NRF_UARTE_Type *  p_reg,
nrf_uarte_event_t  event 
)
See also
nrf_uarte_event_clear Function for clearing a specific UARTE event.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to clear.

◆ nrfy_uarte_events_process()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_events_process ( NRF_UARTE_Type *  p_reg,
uint32_t  mask,
nrfy_uarte_buffer_t const *  p_xfer 
)

Function for processing the specified UARTE events.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of events to be processed, created by NRFY_EVENT_TO_INT_BITMASK().
[in]p_xferPointer to the structure containing buffer associated with the last reception. Can be NULL.
Returns
Mask of events that were generated and processed. To be checked against the result of NRFY_EVENT_TO_INT_BITMASK().

◆ nrfy_uarte_hwfc_pins_disconnect()

NRFY_STATIC_INLINE void nrfy_uarte_hwfc_pins_disconnect ( NRF_UARTE_Type *  p_reg)
See also
nrf_uarte_hwfc_pins_disconnect Function for disconnecting flow control pins.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrfy_uarte_hwfc_pins_set()

NRFY_STATIC_INLINE void nrfy_uarte_hwfc_pins_set ( NRF_UARTE_Type *  p_reg,
uint32_t  pselrts,
uint32_t  pselcts 
)
See also
nrf_uarte_hwfc_pins_set Function for configuring flow control pins.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]pselrtsRTS pin number.
[in]pselctsCTS pin number.

◆ nrfy_uarte_int_disable()

NRFY_STATIC_INLINE void nrfy_uarte_int_disable ( NRF_UARTE_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_int_disable Function for disabling the specified interrupts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be disabled. Use nrf_uarte_int_mask_t values for bit masking.

◆ nrfy_uarte_int_enable()

NRFY_STATIC_INLINE void nrfy_uarte_int_enable ( NRF_UARTE_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_int_enable Function for enabling UARTE interrupts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be enabled. Use nrf_uarte_int_mask_t values for bit masking.

◆ nrfy_uarte_int_enable_check()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_int_enable_check ( NRF_UARTE_Type const *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_int_enable_check Function for checking if the specified interrupts are enabled.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be checked. Use nrf_uarte_int_mask_t values for bit masking.
Returns
Mask of enabled interrupts.

◆ nrfy_uarte_int_init()

NRFY_STATIC_INLINE void nrfy_uarte_int_init ( NRF_UARTE_Type *  p_reg,
uint32_t  mask,
uint8_t  irq_priority,
bool  enable 
)

Function for initializing the specified UARTE interrupts.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be initialized.
[in]irq_priorityInterrupt priority.
[in]enableTrue if interrupts associated with the event mask are to be enabled, false otherwise.

◆ nrfy_uarte_int_uninit()

NRFY_STATIC_INLINE void nrfy_uarte_int_uninit ( NRF_UARTE_Type *  p_reg)

Function for uninitializing the UARTE interrupts.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrfy_uarte_periph_configure()

NRFY_STATIC_INLINE void nrfy_uarte_periph_configure ( NRF_UARTE_Type *  p_reg,
nrfy_uarte_config_t const *  p_config 
)

Function for configuring the UARTE.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_configPointer to the peripheral configuration structure.

◆ nrfy_uarte_pins_disconnect()

NRFY_STATIC_INLINE void nrfy_uarte_pins_disconnect ( NRF_UARTE_Type *  p_reg)

Function for disconnecting UARTE pins.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrfy_uarte_pins_get()

NRFY_STATIC_INLINE void nrfy_uarte_pins_get ( NRF_UARTE_Type const *  p_reg,
nrfy_uarte_pins_t p_pins 
)

Function for getting UARTE pins configuration.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_pinsPointer to the UARTE pin configurartion structure.

◆ nrfy_uarte_publish_clear()

NRFY_STATIC_INLINE void nrfy_uarte_publish_clear ( NRF_UARTE_Type *  p_reg,
nrf_uarte_event_t  event 
)
See also
nrf_uarte_publish_clear Function for clearing the publish configuration for a given UARTE event.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent for which to clear the configuration.

◆ nrfy_uarte_publish_set()

NRFY_STATIC_INLINE void nrfy_uarte_publish_set ( NRF_UARTE_Type *  p_reg,
nrf_uarte_event_t  event,
uint8_t  channel 
)
See also
nrf_uarte_publish_set Function for setting the publish configuration for a given UARTE event.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent for which to set the configuration.
[in]channelChannel through which to publish the event.

◆ nrfy_uarte_rts_pin_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_rts_pin_get ( NRF_UARTE_Type const *  p_reg)
See also
nrf_uarte_rts_pin_get Function for getting RTS pin selection.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
RTS pin selection.

◆ nrfy_uarte_rx_amount_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_amount_get ( NRF_UARTE_Type const *  p_reg)
See also
nrf_uarte_rx_amount_get Function for getting number of bytes received in the last transaction.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Return values
Amountof bytes received.

◆ nrfy_uarte_rx_buffer_set()

NRFY_STATIC_INLINE void nrfy_uarte_rx_buffer_set ( NRF_UARTE_Type *  p_reg,
uint8_t *  p_buffer,
size_t  length 
)
See also
nrf_uarte_rx_buffer_set Function for setting the receive buffer.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_bufferPointer to the buffer for received data.
[in]lengthMaximum number of data bytes to receive.

◆ nrfy_uarte_rx_pin_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_pin_get ( NRF_UARTE_Type const *  p_reg)
See also
nrf_uarte_rx_pin_get Function for getting RX pin selection.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
RX pin selection.

◆ nrfy_uarte_rx_start()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_rx_start ( NRF_UARTE_Type *  p_reg,
nrfy_uarte_buffer_t const *  p_xfer 
)

Function for starting the UARTE reception.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_xferPointer to the structure containing reception buffer if the reception is to be blocking. NULL for non-blocking reception.
Returns
Mask of events occured, created by NRFY_EVENT_TO_INT_BITMASK(). Always 0 for non-blocking reception.

◆ nrfy_uarte_shorts_disable()

NRFY_STATIC_INLINE void nrfy_uarte_shorts_disable ( NRF_UARTE_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_shorts_disable Function for disabling UARTE shortcuts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskShortcuts to be disabled.

◆ nrfy_uarte_shorts_enable()

NRFY_STATIC_INLINE void nrfy_uarte_shorts_enable ( NRF_UARTE_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_shorts_enable Function for enabling UARTE shortcuts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskShortcuts to be enabled.

◆ nrfy_uarte_shorts_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_shorts_get ( NRF_UARTE_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_shorts_get Function for getting UARTE shortcuts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskShortcuts to be checked.
Returns
Mask of requested shortcuts which were enabled.

◆ nrfy_uarte_shorts_set()

NRFY_STATIC_INLINE void nrfy_uarte_shorts_set ( NRF_UARTE_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_uarte_shorts_set Function for configuring UARTE shortcuts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskShortcuts to be set.

◆ nrfy_uarte_stop()

NRFY_STATIC_INLINE void nrfy_uarte_stop ( NRF_UARTE_Type *  p_reg,
nrfy_uarte_buffer_t const *  p_xfer 
)

Function for stopping the UARTE transmitter and receiver.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_xferPointer to the structure containing reception buffer. Can be NULL.

◆ nrfy_uarte_subscribe_clear()

NRFY_STATIC_INLINE void nrfy_uarte_subscribe_clear ( NRF_UARTE_Type *  p_reg,
nrf_uarte_task_t  task 
)
See also
nrf_uarte_subscribe_clear Function for clearing the subscribe configuration for a given UARTE task.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask for which to clear the configuration.

◆ nrfy_uarte_subscribe_set()

NRFY_STATIC_INLINE void nrfy_uarte_subscribe_set ( NRF_UARTE_Type *  p_reg,
nrf_uarte_task_t  task,
uint8_t  channel 
)
See also
nrf_uarte_subscribe_set Function for setting the subscribe configuration for a given UARTE task.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask for which to set the configuration.
[in]channelChannel through which to subscribe events.

◆ nrfy_uarte_task_address_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_task_address_get ( NRF_UARTE_Type const *  p_reg,
nrf_uarte_task_t  task 
)
See also
nrf_uarte_task_address_get Function for returning the address of the specified task register.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask.
Returns
Task address.

◆ nrfy_uarte_task_trigger()

NRFY_STATIC_INLINE void nrfy_uarte_task_trigger ( NRF_UARTE_Type *  p_reg,
nrf_uarte_task_t  task 
)
See also
nrf_uarte_task_trigger Function for starting an UARTE task.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask.

◆ nrfy_uarte_tx_abort()

NRFY_STATIC_INLINE void nrfy_uarte_tx_abort ( NRF_UARTE_Type *  p_reg,
bool  wait 
)

Function for aborting the ongoing UARTE transmission.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]waitTrue if CPU should wait for peripheral to abort transmission, false otherwise.

◆ nrfy_uarte_tx_amount_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_amount_get ( NRF_UARTE_Type const *  p_reg)
See also
nrf_uarte_tx_amount_get Function for getting number of bytes transmitted in the last transaction.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Return values
Amountof bytes transmitted.

◆ nrfy_uarte_tx_buffer_get()

NRFY_STATIC_INLINE uint8_t const * nrfy_uarte_tx_buffer_get ( NRF_UARTE_Type *  p_reg)
See also
nrf_uarte_tx_buffer_get Function for getting the transmit buffer address.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Pointer to the transmit buffer.

◆ nrfy_uarte_tx_buffer_set()

NRFY_STATIC_INLINE void nrfy_uarte_tx_buffer_set ( NRF_UARTE_Type *  p_reg,
uint8_t const *  p_buffer,
size_t  length 
)
See also
nrf_uarte_tx_buffer_set Function for setting the transmit buffer.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]p_bufferPointer to the buffer with data to send.
[in]lengthMaximum number of data bytes to transmit.

◆ nrfy_uarte_tx_pin_get()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_pin_get ( NRF_UARTE_Type const *  p_reg)
See also
nrf_uarte_tx_pin_get Function for getting TX pin selection.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
TX pin selection.

◆ nrfy_uarte_tx_start()

NRFY_STATIC_INLINE uint32_t nrfy_uarte_tx_start ( NRF_UARTE_Type *  p_reg,
bool  wait 
)

Function for starting the UARTE transmission.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]waitTrue for blocking transmission, false otherwise.
Returns
Mask of events occured, created by NRFY_EVENT_TO_INT_BITMASK(). Always 0 for non-blocking transmission.

◆ nrfy_uarte_txrx_pins_disconnect()

NRFY_STATIC_INLINE void nrfy_uarte_txrx_pins_disconnect ( NRF_UARTE_Type *  p_reg)
See also
nrf_uarte_txrx_pins_disconnect Function for disconnecting TX/RX pins.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.

◆ nrfy_uarte_txrx_pins_set()

NRFY_STATIC_INLINE void nrfy_uarte_txrx_pins_set ( NRF_UARTE_Type *  p_reg,
uint32_t  pseltxd,
uint32_t  pselrxd 
)
See also
nrf_uarte_txrx_pins_set Function for configuring TX/RX pins.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]pseltxdTXD pin number.
[in]pselrxdRXD pin number.

Documentation feedback | Developer Zone | Subscribe | Updated