Lines Matching refs:p_reg

44 NRFY_STATIC_INLINE void __nrfy_internal_nfct_event_enabled_clear(NRF_NFCT_Type *  p_reg,
48 NRFY_STATIC_INLINE bool __nrfy_internal_nfct_event_handle(NRF_NFCT_Type * p_reg,
53 NRFY_STATIC_INLINE uint32_t __nrfy_internal_nfct_events_process(NRF_NFCT_Type * p_reg,
132 NRFY_STATIC_INLINE void nrfy_nfct_int_init(NRF_NFCT_Type * p_reg, in nrfy_nfct_int_init() argument
137 IRQn_Type nfct_irq = nrfx_get_irq_number(p_reg); in nrfy_nfct_int_init()
139 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_READY); in nrfy_nfct_int_init()
140 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_FIELDDETECTED); in nrfy_nfct_int_init()
141 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_FIELDLOST); in nrfy_nfct_int_init()
142 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_TXFRAMESTART); in nrfy_nfct_int_init()
143 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_TXFRAMEEND); in nrfy_nfct_int_init()
144 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_RXFRAMESTART); in nrfy_nfct_int_init()
145 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_RXFRAMEEND); in nrfy_nfct_int_init()
146 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_ERROR); in nrfy_nfct_int_init()
147 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_RXERROR); in nrfy_nfct_int_init()
148 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_ENDRX); in nrfy_nfct_int_init()
149 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_ENDTX); in nrfy_nfct_int_init()
150 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_AUTOCOLRESSTARTED); in nrfy_nfct_int_init()
151 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_COLLISION); in nrfy_nfct_int_init()
152 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_SELECTED); in nrfy_nfct_int_init()
153 __nrfy_internal_nfct_event_enabled_clear(p_reg, mask, NRF_NFCT_EVENT_STARTED); in nrfy_nfct_int_init()
164 nrf_nfct_int_enable(p_reg, mask); in nrfy_nfct_int_init()
175 NRFY_STATIC_INLINE void nrfy_nfct_int_uninit(NRF_NFCT_Type * p_reg) in nrfy_nfct_int_uninit() argument
177 IRQn_Type nfct_irq = nrfx_get_irq_number(p_reg); in nrfy_nfct_int_uninit()
195 NRFY_STATIC_INLINE uint32_t nrfy_nfct_events_process(NRF_NFCT_Type * p_reg, uint32_t mask) in nrfy_nfct_events_process() argument
197 uint32_t evt_mask = __nrfy_internal_nfct_events_process(p_reg, mask); in nrfy_nfct_events_process()
208 NRFY_STATIC_INLINE void nrfy_nfct_parameters_save(NRF_NFCT_Type const * p_reg, in nrfy_nfct_parameters_save() argument
212 p_params->fdmax = nrf_nfct_frame_delay_max_get(p_reg); in nrfy_nfct_parameters_save()
213 p_params->fdmin = nrf_nfct_frame_delay_min_get(p_reg); in nrfy_nfct_parameters_save()
214 p_params->nfcid1_size = nrf_nfct_nfcid1_get(p_reg, p_params->nfcid1); in nrfy_nfct_parameters_save()
215 p_params->protocol = nrf_nfct_selres_protocol_get(p_reg); in nrfy_nfct_parameters_save()
216 p_params->int_enabled = nrf_nfct_int_enable_get(p_reg); in nrfy_nfct_parameters_save()
227 NRFY_STATIC_INLINE void nrfy_nfct_parameters_restore(NRF_NFCT_Type * p_reg, in nrfy_nfct_parameters_restore() argument
230 nrf_nfct_frame_delay_max_set(p_reg, p_params->fdmax); in nrfy_nfct_parameters_restore()
231 nrf_nfct_frame_delay_min_set(p_reg, (uint16_t)p_params->fdmin); in nrfy_nfct_parameters_restore()
232 nrf_nfct_nfcid1_set(p_reg, p_params->nfcid1, p_params->nfcid1_size); in nrfy_nfct_parameters_restore()
233 nrf_nfct_selres_protocol_set(p_reg, p_params->protocol); in nrfy_nfct_parameters_restore()
250 NRFY_STATIC_INLINE void nrfy_nfct_rxtx_buffer_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_rxtx_buffer_set() argument
260 nrf_nfct_rxtx_buffer_set(p_reg, p_rxtx_buf, max_txrx_len); in nrfy_nfct_rxtx_buffer_set()
265 NRFY_STATIC_INLINE void nrfy_nfct_task_trigger(NRF_NFCT_Type * p_reg, nrf_nfct_task_t task) in nrfy_nfct_task_trigger() argument
267 nrf_nfct_task_trigger(p_reg, task); in nrfy_nfct_task_trigger()
272 NRFY_STATIC_INLINE uint32_t nrfy_nfct_task_address_get(NRF_NFCT_Type const * p_reg, in nrfy_nfct_task_address_get() argument
275 return nrf_nfct_task_address_get(p_reg, task); in nrfy_nfct_task_address_get()
279 NRFY_STATIC_INLINE void nrfy_nfct_event_clear(NRF_NFCT_Type * p_reg, nrf_nfct_event_t event) in nrfy_nfct_event_clear() argument
281 nrf_nfct_event_clear(p_reg, event); in nrfy_nfct_event_clear()
286 NRFY_STATIC_INLINE bool nrfy_nfct_event_check(NRF_NFCT_Type const * p_reg, nrf_nfct_event_t event) in nrfy_nfct_event_check() argument
289 bool check = nrf_nfct_event_check(p_reg, event); in nrfy_nfct_event_check()
295 NRFY_STATIC_INLINE void nrfy_nfct_shorts_enable(NRF_NFCT_Type * p_reg, uint32_t short_mask) in nrfy_nfct_shorts_enable() argument
297 nrf_nfct_shorts_enable(p_reg, short_mask); in nrfy_nfct_shorts_enable()
302 NRFY_STATIC_INLINE void nrfy_nfct_shorts_disable(NRF_NFCT_Type * p_reg, uint32_t short_mask) in nrfy_nfct_shorts_disable() argument
304 nrf_nfct_shorts_disable(p_reg, short_mask); in nrfy_nfct_shorts_disable()
309 NRFY_STATIC_INLINE uint32_t nrfy_nfct_shorts_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_shorts_get() argument
312 uint32_t shorts = nrf_nfct_shorts_get(p_reg); in nrfy_nfct_shorts_get()
318 NRFY_STATIC_INLINE void nrfy_nfct_shorts_set(NRF_NFCT_Type * p_reg, uint32_t short_mask) in nrfy_nfct_shorts_set() argument
320 nrf_nfct_shorts_set(p_reg, short_mask); in nrfy_nfct_shorts_set()
325 NRFY_STATIC_INLINE void nrfy_nfct_int_enable(NRF_NFCT_Type * p_reg, uint32_t mask) in nrfy_nfct_int_enable() argument
327 nrf_nfct_int_enable(p_reg, mask); in nrfy_nfct_int_enable()
332 NRFY_STATIC_INLINE uint32_t nrfy_nfct_int_enable_check(NRF_NFCT_Type const * p_reg, uint32_t mask) in nrfy_nfct_int_enable_check() argument
335 uint32_t check = nrf_nfct_int_enable_check(p_reg, mask); in nrfy_nfct_int_enable_check()
341 NRFY_STATIC_INLINE uint32_t nrfy_nfct_int_enable_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_int_enable_get() argument
344 uint32_t check = nrf_nfct_int_enable_get(p_reg); in nrfy_nfct_int_enable_get()
350 NRFY_STATIC_INLINE void nrfy_nfct_int_disable(NRF_NFCT_Type * p_reg, uint32_t mask) in nrfy_nfct_int_disable() argument
352 nrf_nfct_int_disable(p_reg, mask); in nrfy_nfct_int_disable()
358 NRFY_STATIC_INLINE void nrfy_nfct_mod_ctrl_pin_set(NRF_NFCT_Type * p_reg, uint32_t mod_ctrl_pin) in nrfy_nfct_mod_ctrl_pin_set() argument
360 nrf_nfct_mod_ctrl_pin_set(p_reg, mod_ctrl_pin); in nrfy_nfct_mod_ctrl_pin_set()
365 NRFY_STATIC_INLINE uint32_t nrfy_nfct_mod_ctrl_pin_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_mod_ctrl_pin_get() argument
368 uint32_t pins = nrf_nfct_mod_ctrl_pin_get(p_reg); in nrfy_nfct_mod_ctrl_pin_get()
376 NRFY_STATIC_INLINE void nrfy_nfct_modulation_output_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_modulation_output_set() argument
379 nrf_nfct_modulation_output_set(p_reg, mod_ctrl); in nrfy_nfct_modulation_output_set()
385 nrf_nfct_modulation_ctrl_t nrfy_nfct_modulation_output_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_modulation_output_get() argument
388 nrf_nfct_modulation_ctrl_t modulation_ctrl = nrf_nfct_modulation_output_get(p_reg); in nrfy_nfct_modulation_output_get()
395 NRFY_STATIC_INLINE uint32_t nrfy_nfct_error_status_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_error_status_get() argument
398 uint32_t error_status = nrf_nfct_error_status_get(p_reg); in nrfy_nfct_error_status_get()
404 NRFY_STATIC_INLINE void nrfy_nfct_error_status_clear(NRF_NFCT_Type * p_reg, uint32_t error_flag) in nrfy_nfct_error_status_clear() argument
406 nrf_nfct_error_status_clear(p_reg, error_flag); in nrfy_nfct_error_status_clear()
411 NRFY_STATIC_INLINE uint32_t nrfy_nfct_rx_frame_status_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_rx_frame_status_get() argument
414 uint32_t frame_status = nrf_nfct_rx_frame_status_get(p_reg); in nrfy_nfct_rx_frame_status_get()
420 NRFY_STATIC_INLINE void nrfy_nfct_rx_frame_status_clear(NRF_NFCT_Type * p_reg, in nrfy_nfct_rx_frame_status_clear() argument
423 nrf_nfct_rx_frame_status_clear(p_reg, framestatus_flags); in nrfy_nfct_rx_frame_status_clear()
429 NRFY_STATIC_INLINE nrf_nfct_tag_state_t nrfy_nfct_tag_state_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_tag_state_get() argument
432 nrf_nfct_tag_state_t tag_state = nrf_nfct_tag_state_get(p_reg); in nrfy_nfct_tag_state_get()
440 NRFY_STATIC_INLINE nrf_nfct_sleep_state_t nrfy_nfct_sleep_state_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_sleep_state_get() argument
443 nrf_nfct_sleep_state_t sleep_state = nrf_nfct_sleep_state_get(p_reg); in nrfy_nfct_sleep_state_get()
450 NRFY_STATIC_INLINE uint8_t nrfy_nfct_field_status_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_field_status_get() argument
453 uint8_t status = nrf_nfct_field_status_get(p_reg); in nrfy_nfct_field_status_get()
459 NRFY_STATIC_INLINE uint16_t nrfy_nfct_frame_delay_min_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_frame_delay_min_get() argument
462 uint16_t frame_delay_min = nrf_nfct_frame_delay_min_get(p_reg); in nrfy_nfct_frame_delay_min_get()
468 NRFY_STATIC_INLINE void nrfy_nfct_frame_delay_min_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_frame_delay_min_set() argument
471 nrf_nfct_frame_delay_min_set(p_reg, frame_delay_min); in nrfy_nfct_frame_delay_min_set()
476 NRFY_STATIC_INLINE uint32_t nrfy_nfct_frame_delay_max_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_frame_delay_max_get() argument
479 uint32_t frame_delay_max = nrf_nfct_frame_delay_max_get(p_reg); in nrfy_nfct_frame_delay_max_get()
485 NRFY_STATIC_INLINE void nrfy_nfct_frame_delay_max_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_frame_delay_max_set() argument
488 nrf_nfct_frame_delay_max_set(p_reg, frame_delay_max); in nrfy_nfct_frame_delay_max_set()
494 nrf_nfct_frame_delay_mode_t nrfy_nfct_frame_delay_mode_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_frame_delay_mode_get() argument
497 nrf_nfct_frame_delay_mode_t frame_delay_mode = nrf_nfct_frame_delay_mode_get(p_reg); in nrfy_nfct_frame_delay_mode_get()
503 NRFY_STATIC_INLINE void nrfy_nfct_frame_delay_mode_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_frame_delay_mode_set() argument
506 nrf_nfct_frame_delay_mode_set(p_reg, frame_delay_mode); in nrfy_nfct_frame_delay_mode_set()
511 NRFY_STATIC_INLINE uint8_t * nrfy_nfct_rxtx_buffer_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_rxtx_buffer_get() argument
514 uint8_t *buffer = nrf_nfct_rxtx_buffer_get(p_reg); in nrfy_nfct_rxtx_buffer_get()
520 NRFY_STATIC_INLINE uint16_t nrfy_nfct_max_rxtx_length_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_max_rxtx_length_get() argument
523 uint16_t max_length = nrf_nfct_max_rxtx_length_get(p_reg); in nrfy_nfct_max_rxtx_length_get()
529 NRFY_STATIC_INLINE uint8_t nrfy_nfct_tx_frame_config_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_tx_frame_config_get() argument
532 uint8_t frame_config = nrf_nfct_tx_frame_config_get(p_reg); in nrfy_nfct_tx_frame_config_get()
538 NRFY_STATIC_INLINE void nrfy_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrfy_nfct_tx_frame_config_set() argument
540 nrf_nfct_rx_frame_config_set(p_reg, flags); in nrfy_nfct_tx_frame_config_set()
545 NRFY_STATIC_INLINE uint16_t nrfy_nfct_tx_bits_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_tx_bits_get() argument
548 uint16_t bits = nrf_nfct_tx_bits_get(p_reg); in nrfy_nfct_tx_bits_get()
554 NRFY_STATIC_INLINE void nrfy_nfct_tx_bits_set(NRF_NFCT_Type * p_reg, uint16_t tx_bits) in nrfy_nfct_tx_bits_set() argument
556 nrf_nfct_tx_bits_set(p_reg, tx_bits); in nrfy_nfct_tx_bits_set()
561 NRFY_STATIC_INLINE uint8_t nrfy_nfct_rx_frame_config_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_rx_frame_config_get() argument
564 uint8_t frame_config = nrf_nfct_rx_frame_config_get(p_reg); in nrfy_nfct_rx_frame_config_get()
570 NRFY_STATIC_INLINE void nrfy_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrfy_nfct_rx_frame_config_set() argument
572 nrf_nfct_rx_frame_config_set(p_reg, flags); in nrfy_nfct_rx_frame_config_set()
577 NRFY_STATIC_INLINE uint16_t nrfy_nfct_rx_bits_get(NRF_NFCT_Type const * p_reg, bool crc_excluded) in nrfy_nfct_rx_bits_get() argument
580 uint16_t rx_bits = nrf_nfct_rx_bits_get(p_reg, crc_excluded); in nrfy_nfct_rx_bits_get()
587 nrf_nfct_sensres_nfcid1_size_t nrfy_nfct_nfcid1_get(NRF_NFCT_Type const * p_reg, in nrfy_nfct_nfcid1_get() argument
591 nrf_nfct_sensres_nfcid1_size_t nfcid1_size = nrf_nfct_nfcid1_get(p_reg, p_nfcid1_buf); in nrfy_nfct_nfcid1_get()
597 NRFY_STATIC_INLINE void nrfy_nfct_nfcid1_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_nfcid1_set() argument
601 nrf_nfct_nfcid1_set(p_reg, p_nfcid1_buf, nfcid1_size); in nrfy_nfct_nfcid1_set()
607 NRFY_STATIC_INLINE bool nrfy_nfct_autocolres_is_enabled(NRF_NFCT_Type const * p_reg) in nrfy_nfct_autocolres_is_enabled() argument
610 bool enabled = nrf_nfct_autocolres_is_enabled(p_reg); in nrfy_nfct_autocolres_is_enabled()
616 NRFY_STATIC_INLINE void nrfy_nfct_autocolres_enable(NRF_NFCT_Type * p_reg) in nrfy_nfct_autocolres_enable() argument
618 nrf_nfct_autocolres_enable(p_reg); in nrfy_nfct_autocolres_enable()
623 NRFY_STATIC_INLINE void nrfy_nfct_autocolres_disable(NRF_NFCT_Type * p_reg) in nrfy_nfct_autocolres_disable() argument
625 nrf_nfct_autocolres_disable(p_reg); in nrfy_nfct_autocolres_disable()
632 nrf_nfct_sensres_nfcid1_size_t nrfy_nfct_sensres_nfcid1_size_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_sensres_nfcid1_size_get() argument
635 nrf_nfct_sensres_nfcid1_size_t nfcid1_size = nrf_nfct_sensres_nfcid1_size_get(p_reg); in nrfy_nfct_sensres_nfcid1_size_get()
642 void nrfy_nfct_sensres_nfcid1_size_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_sensres_nfcid1_size_set() argument
645 nrf_nfct_sensres_nfcid1_size_set(p_reg, nfcid1_size); in nrfy_nfct_sensres_nfcid1_size_set()
651 nrf_nfct_sensres_bit_frame_sdd_t nrfy_nfct_sensres_bit_frame_sdd_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_sensres_bit_frame_sdd_get() argument
654 nrf_nfct_sensres_bit_frame_sdd_t frame_sdd = nrf_nfct_sensres_bit_frame_sdd_get(p_reg); in nrfy_nfct_sensres_bit_frame_sdd_get()
661 void nrfy_nfct_sensres_bit_frame_sdd_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_sensres_bit_frame_sdd_set() argument
664 nrf_nfct_sensres_bit_frame_sdd_set(p_reg, bit_frame_sdd); in nrfy_nfct_sensres_bit_frame_sdd_set()
670 nrfy_nfct_sensres_platform_config_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_sensres_platform_config_get() argument
673 nrf_nfct_sensres_platform_config_t config = nrf_nfct_sensres_platform_config_get(p_reg); in nrfy_nfct_sensres_platform_config_get()
680 void nrfy_nfct_sensres_platform_config_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_sensres_platform_config_set() argument
683 nrf_nfct_sensres_platform_config_set(p_reg, platform_config); in nrfy_nfct_sensres_platform_config_set()
688 NRFY_STATIC_INLINE bool nrfy_nfct_selres_cascade_check(NRF_NFCT_Type const * p_reg) in nrfy_nfct_selres_cascade_check() argument
691 bool check = nrf_nfct_selres_cascade_check(p_reg); in nrfy_nfct_selres_cascade_check()
698 nrf_nfct_selres_protocol_t nrfy_nfct_selres_protocol_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_selres_protocol_get() argument
701 nrf_nfct_selres_protocol_t protocol = nrf_nfct_selres_protocol_get(p_reg); in nrfy_nfct_selres_protocol_get()
707 NRFY_STATIC_INLINE void nrfy_nfct_selres_protocol_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_selres_protocol_set() argument
710 nrf_nfct_selres_protocol_set(p_reg, sel_res_protocol); in nrfy_nfct_selres_protocol_set()
715 NRFY_STATIC_INLINE uint32_t nrfy_nfct_selres_get(NRF_NFCT_Type const * p_reg) in nrfy_nfct_selres_get() argument
718 uint32_t selres = nrf_nfct_selres_get(p_reg); in nrfy_nfct_selres_get()
724 NRFY_STATIC_INLINE void nrfy_nfct_selres_set(NRF_NFCT_Type * p_reg, uint32_t selres) in nrfy_nfct_selres_set() argument
726 nrf_nfct_selres_set(p_reg, selres); in nrfy_nfct_selres_set()
732 NRFY_STATIC_INLINE bool nrfy_nfct_pad_config_enable_check(NRF_NFCT_Type const * p_reg) in nrfy_nfct_pad_config_enable_check() argument
735 bool enabled = nrf_nfct_pad_config_enable_check(p_reg); in nrfy_nfct_pad_config_enable_check()
741 NRFY_STATIC_INLINE void nrfy_nfct_pad_config_enable_set(NRF_NFCT_Type * p_reg, bool enable) in nrfy_nfct_pad_config_enable_set() argument
743 nrf_nfct_pad_config_enable_set(p_reg, enable); in nrfy_nfct_pad_config_enable_set()
750 NRFY_STATIC_INLINE void nrfy_nfct_bias_config_get(NRF_NFCT_Type const * p_reg, in nrfy_nfct_bias_config_get() argument
754 nrf_nfct_bias_config_get(p_reg, p_bias_config); in nrfy_nfct_bias_config_get()
759 NRFY_STATIC_INLINE void nrfy_nfct_bias_config_set(NRF_NFCT_Type * p_reg, in nrfy_nfct_bias_config_set() argument
762 nrf_nfct_bias_config_set(p_reg, p_bias_config); in nrfy_nfct_bias_config_set()
769 NRFY_STATIC_INLINE void __nrfy_internal_nfct_event_enabled_clear(NRF_NFCT_Type * p_reg, in __nrfy_internal_nfct_event_enabled_clear() argument
775 nrf_nfct_event_clear(p_reg, event); in __nrfy_internal_nfct_event_enabled_clear()
779 NRFY_STATIC_INLINE bool __nrfy_internal_nfct_event_handle(NRF_NFCT_Type * p_reg, in __nrfy_internal_nfct_event_handle() argument
784 if ((mask & NRFY_EVENT_TO_INT_BITMASK(event)) && nrf_nfct_event_check(p_reg, event)) in __nrfy_internal_nfct_event_handle()
786 nrf_nfct_event_clear(p_reg, event); in __nrfy_internal_nfct_event_handle()
797 NRFY_STATIC_INLINE uint32_t __nrfy_internal_nfct_events_process(NRF_NFCT_Type * p_reg, uint32_t mas… in __nrfy_internal_nfct_events_process() argument
802 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_READY, &evt_mask); in __nrfy_internal_nfct_events_process()
803 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_FIELDDETECTED, &evt_mask); in __nrfy_internal_nfct_events_process()
804 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_FIELDLOST, &evt_mask); in __nrfy_internal_nfct_events_process()
805 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_TXFRAMESTART, &evt_mask); in __nrfy_internal_nfct_events_process()
806 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_TXFRAMEEND, &evt_mask); in __nrfy_internal_nfct_events_process()
807 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_RXFRAMESTART, &evt_mask); in __nrfy_internal_nfct_events_process()
808 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_RXFRAMEEND, &evt_mask); in __nrfy_internal_nfct_events_process()
809 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_ERROR, &evt_mask); in __nrfy_internal_nfct_events_process()
810 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_RXERROR, &evt_mask); in __nrfy_internal_nfct_events_process()
811 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_ENDRX, &evt_mask); in __nrfy_internal_nfct_events_process()
812 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_ENDTX, &evt_mask); in __nrfy_internal_nfct_events_process()
813 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_AUTOCOLRESSTARTED, &evt_mask); in __nrfy_internal_nfct_events_process()
814 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_COLLISION, &evt_mask); in __nrfy_internal_nfct_events_process()
815 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_SELECTED, &evt_mask); in __nrfy_internal_nfct_events_process()
816 __nrfy_internal_nfct_event_handle(p_reg, mask, NRF_NFCT_EVENT_STARTED, &evt_mask); in __nrfy_internal_nfct_events_process()
820 uint8_t *buffer = nrf_nfct_rxtx_buffer_get(p_reg); in __nrfy_internal_nfct_events_process()
821 uint16_t bytes = (nrf_nfct_rx_bits_get(p_reg, true) >> 3U); in __nrfy_internal_nfct_events_process()