Lines Matching refs:mask
54 uint32_t mask,
58 uint32_t mask,
64 uint32_t mask,
139 uint32_t mask, in nrfy_uarte_int_init() argument
143 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_CTS); in nrfy_uarte_int_init()
144 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_NCTS); in nrfy_uarte_int_init()
145 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_RXDRDY); in nrfy_uarte_int_init()
146 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_ENDRX); in nrfy_uarte_int_init()
147 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_TXDRDY); in nrfy_uarte_int_init()
148 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_ENDTX); in nrfy_uarte_int_init()
149 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_ERROR); in nrfy_uarte_int_init()
150 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_RXTO); in nrfy_uarte_int_init()
151 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_RXSTARTED); in nrfy_uarte_int_init()
152 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_TXSTARTED); in nrfy_uarte_int_init()
153 __nrfy_internal_uarte_event_enabled_clear(p_reg, mask, NRF_UARTE_EVENT_TXSTOPPED); in nrfy_uarte_int_init()
160 nrf_uarte_int_enable(p_reg, mask); in nrfy_uarte_int_init()
188 uint32_t mask, in nrfy_uarte_events_process() argument
191 uint32_t evt_mask = __nrfy_internal_uarte_events_process(p_reg, mask, p_xfer); in nrfy_uarte_events_process()
259 uint32_t mask = NRFY_EVENT_TO_INT_BITMASK(NRF_UARTE_EVENT_ENDTX) | in nrfy_uarte_tx_start() local
263 evt_mask = nrfy_uarte_events_process(p_reg, mask, NULL); in nrfy_uarte_tx_start()
287 uint32_t mask = NRFY_EVENT_TO_INT_BITMASK(NRF_UARTE_EVENT_ENDRX) | in nrfy_uarte_rx_start() local
292 evt_mask = nrfy_uarte_events_process(p_reg, mask, p_xfer); in nrfy_uarte_rx_start()
353 NRFY_STATIC_INLINE void nrfy_uarte_shorts_set(NRF_UARTE_Type * p_reg, uint32_t mask) in nrfy_uarte_shorts_set() argument
355 nrf_uarte_shorts_set(p_reg, mask); in nrfy_uarte_shorts_set()
360 NRFY_STATIC_INLINE uint32_t nrfy_uarte_shorts_get(NRF_UARTE_Type * p_reg, uint32_t mask) in nrfy_uarte_shorts_get() argument
363 uint32_t ret = nrf_uarte_shorts_get(p_reg, mask); in nrfy_uarte_shorts_get()
370 NRFY_STATIC_INLINE void nrfy_uarte_shorts_enable(NRF_UARTE_Type * p_reg, uint32_t mask) in nrfy_uarte_shorts_enable() argument
372 nrf_uarte_shorts_enable(p_reg, mask); in nrfy_uarte_shorts_enable()
377 NRFY_STATIC_INLINE void nrfy_uarte_shorts_disable(NRF_UARTE_Type * p_reg, uint32_t mask) in nrfy_uarte_shorts_disable() argument
379 nrf_uarte_shorts_disable(p_reg, mask); in nrfy_uarte_shorts_disable()
384 NRFY_STATIC_INLINE void nrfy_uarte_int_enable(NRF_UARTE_Type * p_reg, uint32_t mask) in nrfy_uarte_int_enable() argument
386 nrf_uarte_int_enable(p_reg, mask); in nrfy_uarte_int_enable()
392 uint32_t mask) in nrfy_uarte_int_enable_check() argument
395 uint32_t check = nrf_uarte_int_enable_check(p_reg, mask); in nrfy_uarte_int_enable_check()
401 NRFY_STATIC_INLINE void nrfy_uarte_int_disable(NRF_UARTE_Type * p_reg, uint32_t mask) in nrfy_uarte_int_disable() argument
403 nrf_uarte_int_disable(p_reg, mask); in nrfy_uarte_int_disable()
635 uint32_t mask, in __nrfy_internal_uarte_event_enabled_clear() argument
638 if (mask & NRFY_EVENT_TO_INT_BITMASK(event)) in __nrfy_internal_uarte_event_enabled_clear()
645 uint32_t mask, in __nrfy_internal_uarte_event_handle() argument
649 if ((mask & NRFY_EVENT_TO_INT_BITMASK(event)) && nrf_uarte_event_check(p_reg, event)) in __nrfy_internal_uarte_event_handle()
663 uint32_t mask, in __nrfy_internal_uarte_events_process() argument
669 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_CTS, &evt_mask); in __nrfy_internal_uarte_events_process()
670 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_NCTS, &evt_mask); in __nrfy_internal_uarte_events_process()
671 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_RXDRDY, &evt_mask); in __nrfy_internal_uarte_events_process()
672 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_ENDRX, &evt_mask); in __nrfy_internal_uarte_events_process()
673 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_TXDRDY, &evt_mask); in __nrfy_internal_uarte_events_process()
674 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_ENDTX, &evt_mask); in __nrfy_internal_uarte_events_process()
675 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_ERROR, &evt_mask); in __nrfy_internal_uarte_events_process()
676 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_RXTO, &evt_mask); in __nrfy_internal_uarte_events_process()
677 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_RXSTARTED, &evt_mask); in __nrfy_internal_uarte_events_process()
678 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_TXSTARTED, &evt_mask); in __nrfy_internal_uarte_events_process()
679 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_TXSTOPPED, &evt_mask); in __nrfy_internal_uarte_events_process()
681 (void)__nrfy_internal_uarte_event_handle(p_reg, mask, NRF_UARTE_EVENT_FRAME_TIMEOUT, &evt_mask); in __nrfy_internal_uarte_events_process()
684 if (mask & NRFY_EVENT_TO_INT_BITMASK(NRF_UARTE_EVENT_ENDRX)) in __nrfy_internal_uarte_events_process()
688 else if (mask & NRFY_EVENT_TO_INT_BITMASK(NRF_UARTE_EVENT_RXTO)) in __nrfy_internal_uarte_events_process()