Lines Matching refs:p_reg
359 NRF_STATIC_INLINE void nrf_nfct_task_trigger(NRF_NFCT_Type * p_reg, nrf_nfct_task_t task);
369 NRF_STATIC_INLINE uint32_t nrf_nfct_task_address_get(NRF_NFCT_Type const * p_reg,
378 NRF_STATIC_INLINE void nrf_nfct_event_clear(NRF_NFCT_Type * p_reg, nrf_nfct_event_t event);
389 NRF_STATIC_INLINE bool nrf_nfct_event_check(NRF_NFCT_Type const * p_reg, nrf_nfct_event_t event);
399 NRF_STATIC_INLINE uint32_t nrf_nfct_event_address_get(NRF_NFCT_Type const * p_reg,
408 NRF_STATIC_INLINE void nrf_nfct_shorts_enable(NRF_NFCT_Type * p_reg, uint32_t short_mask);
416 NRF_STATIC_INLINE void nrf_nfct_shorts_disable(NRF_NFCT_Type * p_reg, uint32_t short_mask);
425 NRF_STATIC_INLINE uint32_t nrf_nfct_shorts_get(NRF_NFCT_Type const * p_reg);
433 NRF_STATIC_INLINE void nrf_nfct_shorts_set(NRF_NFCT_Type * p_reg, uint32_t short_mask);
442 NRF_STATIC_INLINE void nrf_nfct_int_enable(NRF_NFCT_Type * p_reg, uint32_t mask);
453 NRF_STATIC_INLINE uint32_t nrf_nfct_int_enable_check(NRF_NFCT_Type const * p_reg, uint32_t mask);
462 NRF_STATIC_INLINE uint32_t nrf_nfct_int_enable_get(NRF_NFCT_Type const * p_reg);
471 NRF_STATIC_INLINE void nrf_nfct_int_disable(NRF_NFCT_Type * p_reg, uint32_t mask);
483 NRF_STATIC_INLINE void nrf_nfct_mod_ctrl_pin_set(NRF_NFCT_Type * p_reg, uint32_t mod_ctrl_pin);
492 NRF_STATIC_INLINE uint32_t nrf_nfct_mod_ctrl_pin_get(NRF_NFCT_Type const * p_reg);
503 NRF_STATIC_INLINE void nrf_nfct_modulation_output_set(NRF_NFCT_Type * p_reg,
514 nrf_nfct_modulation_ctrl_t nrf_nfct_modulation_output_get(NRF_NFCT_Type const * p_reg);
524 NRF_STATIC_INLINE uint32_t nrf_nfct_error_status_get(NRF_NFCT_Type const * p_reg);
532 NRF_STATIC_INLINE void nrf_nfct_error_status_clear(NRF_NFCT_Type * p_reg, uint32_t error_flag);
541 NRF_STATIC_INLINE uint32_t nrf_nfct_rx_frame_status_get(NRF_NFCT_Type const * p_reg);
550 NRF_STATIC_INLINE void nrf_nfct_rx_frame_status_clear(NRF_NFCT_Type * p_reg,
567 NRF_STATIC_INLINE nrf_nfct_tag_state_t nrf_nfct_tag_state_get(NRF_NFCT_Type const * p_reg);
583 NRF_STATIC_INLINE nrf_nfct_sleep_state_t nrf_nfct_sleep_state_get(NRF_NFCT_Type const * p_reg);
594 NRF_STATIC_INLINE uint8_t nrf_nfct_field_status_get(NRF_NFCT_Type const * p_reg);
607 NRF_STATIC_INLINE uint16_t nrf_nfct_frame_delay_min_get(NRF_NFCT_Type const * p_reg);
619 NRF_STATIC_INLINE void nrf_nfct_frame_delay_min_set(NRF_NFCT_Type * p_reg,
634 NRF_STATIC_INLINE uint32_t nrf_nfct_frame_delay_max_get(NRF_NFCT_Type const * p_reg);
647 NRF_STATIC_INLINE void nrf_nfct_frame_delay_max_set(NRF_NFCT_Type * p_reg,
658 nrf_nfct_frame_delay_mode_t nrf_nfct_frame_delay_mode_get(NRF_NFCT_Type const * p_reg);
666 NRF_STATIC_INLINE void nrf_nfct_frame_delay_mode_set(NRF_NFCT_Type * p_reg,
676 NRF_STATIC_INLINE uint8_t * nrf_nfct_rxtx_buffer_get(NRF_NFCT_Type const * p_reg);
688 NRF_STATIC_INLINE void nrf_nfct_rxtx_buffer_set(NRF_NFCT_Type * p_reg,
700 NRF_STATIC_INLINE uint16_t nrf_nfct_max_rxtx_length_get(NRF_NFCT_Type const * p_reg);
710 NRF_STATIC_INLINE uint8_t nrf_nfct_tx_frame_config_get(NRF_NFCT_Type const * p_reg);
719 NRF_STATIC_INLINE void nrf_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
731 NRF_STATIC_INLINE uint16_t nrf_nfct_tx_bits_get(NRF_NFCT_Type const * p_reg);
745 NRF_STATIC_INLINE void nrf_nfct_tx_bits_set(NRF_NFCT_Type * p_reg, uint16_t tx_bits);
755 NRF_STATIC_INLINE uint8_t nrf_nfct_rx_frame_config_get(NRF_NFCT_Type const * p_reg);
766 NRF_STATIC_INLINE void nrf_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags);
777 NRF_STATIC_INLINE uint16_t nrf_nfct_rx_bits_get(NRF_NFCT_Type const * p_reg, bool crc_excluded);
794 nrf_nfct_sensres_nfcid1_size_t nrf_nfct_nfcid1_get(NRF_NFCT_Type const * p_reg,
807 NRF_STATIC_INLINE void nrf_nfct_nfcid1_set(NRF_NFCT_Type * p_reg,
823 NRF_STATIC_INLINE bool nrf_nfct_autocolres_is_enabled(NRF_NFCT_Type const * p_reg);
833 NRF_STATIC_INLINE void nrf_nfct_autocolres_enable(NRF_NFCT_Type * p_reg);
843 NRF_STATIC_INLINE void nrf_nfct_autocolres_disable(NRF_NFCT_Type * p_reg);
856 nrf_nfct_sensres_nfcid1_size_t nrf_nfct_sensres_nfcid1_size_get(NRF_NFCT_Type const * p_reg);
870 void nrf_nfct_sensres_nfcid1_size_set(NRF_NFCT_Type * p_reg,
883 nrf_nfct_sensres_bit_frame_sdd_t nrf_nfct_sensres_bit_frame_sdd_get(NRF_NFCT_Type const * p_reg);
894 void nrf_nfct_sensres_bit_frame_sdd_set(NRF_NFCT_Type * p_reg,
907 nrf_nfct_sensres_platform_config_get(NRF_NFCT_Type const * p_reg);
918 void nrf_nfct_sensres_platform_config_set(NRF_NFCT_Type * p_reg,
933 NRF_STATIC_INLINE bool nrf_nfct_selres_cascade_check(NRF_NFCT_Type const * p_reg);
945 nrf_nfct_selres_protocol_t nrf_nfct_selres_protocol_get(NRF_NFCT_Type const * p_reg);
955 NRF_STATIC_INLINE void nrf_nfct_selres_protocol_set(NRF_NFCT_Type * p_reg,
967 NRF_STATIC_INLINE uint32_t nrf_nfct_selres_get(NRF_NFCT_Type const * p_reg);
977 NRF_STATIC_INLINE void nrf_nfct_selres_set(NRF_NFCT_Type * p_reg, uint32_t selres);
990 NRF_STATIC_INLINE void nrf_nfct_pad_config_enable_set(NRF_NFCT_Type * p_reg, bool enable);
1004 NRF_STATIC_INLINE bool nrf_nfct_pad_config_enable_check(NRF_NFCT_Type const * p_reg);
1014 NRF_STATIC_INLINE void nrf_nfct_bias_config_set(NRF_NFCT_Type * p_reg,
1023 NRF_STATIC_INLINE void nrf_nfct_bias_config_get(NRF_NFCT_Type const * p_reg,
1028 NRF_STATIC_INLINE void nrf_nfct_task_trigger(NRF_NFCT_Type * p_reg, nrf_nfct_task_t task) in nrf_nfct_task_trigger() argument
1030 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)task)) = 1UL; in nrf_nfct_task_trigger()
1033 NRF_STATIC_INLINE uint32_t nrf_nfct_task_address_get(NRF_NFCT_Type const * p_reg, in nrf_nfct_task_address_get() argument
1036 return nrf_task_event_address_get(p_reg, task); in nrf_nfct_task_address_get()
1039 NRF_STATIC_INLINE void nrf_nfct_event_clear(NRF_NFCT_Type * p_reg, nrf_nfct_event_t event) in nrf_nfct_event_clear() argument
1041 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0UL; in nrf_nfct_event_clear()
1042 nrf_event_readback((uint8_t *)p_reg + (uint32_t)event); in nrf_nfct_event_clear()
1045 NRF_STATIC_INLINE bool nrf_nfct_event_check(NRF_NFCT_Type const * p_reg, nrf_nfct_event_t event) in nrf_nfct_event_check() argument
1047 return nrf_event_check(p_reg, event); in nrf_nfct_event_check()
1050 NRF_STATIC_INLINE uint32_t nrf_nfct_event_address_get(NRF_NFCT_Type const * p_reg, in nrf_nfct_event_address_get() argument
1053 return nrf_task_event_address_get(p_reg, event); in nrf_nfct_event_address_get()
1056 NRF_STATIC_INLINE void nrf_nfct_shorts_enable(NRF_NFCT_Type * p_reg, uint32_t short_mask) in nrf_nfct_shorts_enable() argument
1058 p_reg->SHORTS |= short_mask; in nrf_nfct_shorts_enable()
1061 NRF_STATIC_INLINE void nrf_nfct_shorts_disable(NRF_NFCT_Type * p_reg, uint32_t short_mask) in nrf_nfct_shorts_disable() argument
1063 p_reg->SHORTS &= ~short_mask; in nrf_nfct_shorts_disable()
1066 NRF_STATIC_INLINE uint32_t nrf_nfct_shorts_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_shorts_get() argument
1068 return p_reg->SHORTS; in nrf_nfct_shorts_get()
1071 NRF_STATIC_INLINE void nrf_nfct_shorts_set(NRF_NFCT_Type * p_reg, uint32_t short_mask) in nrf_nfct_shorts_set() argument
1073 p_reg->SHORTS = short_mask; in nrf_nfct_shorts_set()
1076 NRF_STATIC_INLINE void nrf_nfct_int_enable(NRF_NFCT_Type * p_reg, uint32_t mask) in nrf_nfct_int_enable() argument
1078 p_reg->INTENSET = mask; in nrf_nfct_int_enable()
1081 NRF_STATIC_INLINE uint32_t nrf_nfct_int_enable_check(NRF_NFCT_Type const * p_reg, uint32_t mask) in nrf_nfct_int_enable_check() argument
1083 return p_reg->INTENSET & mask; in nrf_nfct_int_enable_check()
1086 NRF_STATIC_INLINE uint32_t nrf_nfct_int_enable_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_int_enable_get() argument
1088 return p_reg->INTENSET; in nrf_nfct_int_enable_get()
1091 NRF_STATIC_INLINE void nrf_nfct_int_disable(NRF_NFCT_Type * p_reg, uint32_t mask) in nrf_nfct_int_disable() argument
1093 p_reg->INTENCLR = mask; in nrf_nfct_int_disable()
1097 NRF_STATIC_INLINE void nrf_nfct_mod_ctrl_pin_set(NRF_NFCT_Type * p_reg, uint32_t mod_ctrl_pin) in nrf_nfct_mod_ctrl_pin_set() argument
1099 p_reg->MODULATIONPSEL = mod_ctrl_pin; in nrf_nfct_mod_ctrl_pin_set()
1102 NRF_STATIC_INLINE uint32_t nrf_nfct_mod_ctrl_pin_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_mod_ctrl_pin_get() argument
1104 return p_reg->MODULATIONPSEL; in nrf_nfct_mod_ctrl_pin_get()
1109 NRF_STATIC_INLINE void nrf_nfct_modulation_output_set(NRF_NFCT_Type * p_reg, in nrf_nfct_modulation_output_set() argument
1112 p_reg->MODULATIONCTRL = (uint32_t)mod_ctrl; in nrf_nfct_modulation_output_set()
1116 nrf_nfct_modulation_ctrl_t nrf_nfct_modulation_output_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_modulation_output_get() argument
1118 return (nrf_nfct_modulation_ctrl_t)(p_reg->MODULATIONCTRL & in nrf_nfct_modulation_output_get()
1123 NRF_STATIC_INLINE uint32_t nrf_nfct_error_status_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_error_status_get() argument
1125 return p_reg->ERRORSTATUS; in nrf_nfct_error_status_get()
1128 NRF_STATIC_INLINE void nrf_nfct_error_status_clear(NRF_NFCT_Type * p_reg, uint32_t error_flags) in nrf_nfct_error_status_clear() argument
1130 p_reg->ERRORSTATUS = error_flags; in nrf_nfct_error_status_clear()
1133 NRF_STATIC_INLINE uint32_t nrf_nfct_rx_frame_status_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_rx_frame_status_get() argument
1135 return p_reg->FRAMESTATUS.RX; in nrf_nfct_rx_frame_status_get()
1138 NRF_STATIC_INLINE void nrf_nfct_rx_frame_status_clear(NRF_NFCT_Type * p_reg, in nrf_nfct_rx_frame_status_clear() argument
1141 p_reg->FRAMESTATUS.RX = framestatus_flags; in nrf_nfct_rx_frame_status_clear()
1145 NRF_STATIC_INLINE nrf_nfct_tag_state_t nrf_nfct_tag_state_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_tag_state_get() argument
1147 return (nrf_nfct_tag_state_t)((p_reg->NFCTAGSTATE & NFCT_NFCTAGSTATE_NFCTAGSTATE_Msk) >> in nrf_nfct_tag_state_get()
1153 NRF_STATIC_INLINE nrf_nfct_sleep_state_t nrf_nfct_sleep_state_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_sleep_state_get() argument
1155 return (nrf_nfct_sleep_state_t)((p_reg->SLEEPSTATE & NFCT_SLEEPSTATE_SLEEPSTATE_Msk) >> in nrf_nfct_sleep_state_get()
1160 NRF_STATIC_INLINE uint8_t nrf_nfct_field_status_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_field_status_get() argument
1162 return (uint8_t)(p_reg->FIELDPRESENT); in nrf_nfct_field_status_get()
1165 NRF_STATIC_INLINE uint16_t nrf_nfct_frame_delay_min_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_frame_delay_min_get() argument
1167 return (uint16_t)((p_reg->FRAMEDELAYMIN & NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Msk) >> in nrf_nfct_frame_delay_min_get()
1171 NRF_STATIC_INLINE void nrf_nfct_frame_delay_min_set(NRF_NFCT_Type * p_reg, uint16_t frame_delay_min) in nrf_nfct_frame_delay_min_set() argument
1173 p_reg->FRAMEDELAYMIN = in nrf_nfct_frame_delay_min_set()
1178 NRF_STATIC_INLINE uint32_t nrf_nfct_frame_delay_max_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_frame_delay_max_get() argument
1180 return (p_reg->FRAMEDELAYMAX & NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Msk) >> in nrf_nfct_frame_delay_max_get()
1184 NRF_STATIC_INLINE void nrf_nfct_frame_delay_max_set(NRF_NFCT_Type * p_reg, uint32_t frame_delay_max) in nrf_nfct_frame_delay_max_set() argument
1186 p_reg->FRAMEDELAYMAX = in nrf_nfct_frame_delay_max_set()
1192 nrf_nfct_frame_delay_mode_t nrf_nfct_frame_delay_mode_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_frame_delay_mode_get() argument
1194 return (nrf_nfct_frame_delay_mode_t)(p_reg->FRAMEDELAYMODE & in nrf_nfct_frame_delay_mode_get()
1198 NRF_STATIC_INLINE void nrf_nfct_frame_delay_mode_set(NRF_NFCT_Type * p_reg, in nrf_nfct_frame_delay_mode_set() argument
1201 p_reg->FRAMEDELAYMODE = (uint32_t)frame_delay_mode; in nrf_nfct_frame_delay_mode_set()
1204 NRF_STATIC_INLINE uint8_t * nrf_nfct_rxtx_buffer_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_rxtx_buffer_get() argument
1206 return (uint8_t *)(p_reg->PACKETPTR); in nrf_nfct_rxtx_buffer_get()
1209 NRF_STATIC_INLINE void nrf_nfct_rxtx_buffer_set(NRF_NFCT_Type * p_reg, in nrf_nfct_rxtx_buffer_set() argument
1213 p_reg->PACKETPTR = (uint32_t)p_rxtx_buf; in nrf_nfct_rxtx_buffer_set()
1214 p_reg->MAXLEN = ((uint32_t)max_txrx_len << NFCT_MAXLEN_MAXLEN_Pos) & NFCT_MAXLEN_MAXLEN_Msk; in nrf_nfct_rxtx_buffer_set()
1217 NRF_STATIC_INLINE uint16_t nrf_nfct_max_rxtx_length_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_max_rxtx_length_get() argument
1219 return (uint16_t)((p_reg->MAXLEN & NFCT_MAXLEN_MAXLEN_Msk) >> NFCT_MAXLEN_MAXLEN_Pos); in nrf_nfct_max_rxtx_length_get()
1222 NRF_STATIC_INLINE uint8_t nrf_nfct_tx_frame_config_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_tx_frame_config_get() argument
1224 return (uint8_t)(p_reg->TXD.FRAMECONFIG); in nrf_nfct_tx_frame_config_get()
1227 NRF_STATIC_INLINE void nrf_nfct_tx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrf_nfct_tx_frame_config_set() argument
1229 p_reg->TXD.FRAMECONFIG = flags; in nrf_nfct_tx_frame_config_set()
1232 NRF_STATIC_INLINE uint16_t nrf_nfct_tx_bits_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_tx_bits_get() argument
1234 return (uint16_t)(p_reg->TXD.AMOUNT & (NFCT_TXD_AMOUNT_TXDATABITS_Msk | in nrf_nfct_tx_bits_get()
1238 NRF_STATIC_INLINE void nrf_nfct_tx_bits_set(NRF_NFCT_Type * p_reg, uint16_t tx_bits) in nrf_nfct_tx_bits_set() argument
1240 p_reg->TXD.AMOUNT = (tx_bits & (NFCT_TXD_AMOUNT_TXDATABITS_Msk | in nrf_nfct_tx_bits_set()
1244 NRF_STATIC_INLINE uint8_t nrf_nfct_rx_frame_config_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_rx_frame_config_get() argument
1246 return (uint8_t)(p_reg->RXD.FRAMECONFIG); in nrf_nfct_rx_frame_config_get()
1249 NRF_STATIC_INLINE void nrf_nfct_rx_frame_config_set(NRF_NFCT_Type * p_reg, uint8_t flags) in nrf_nfct_rx_frame_config_set() argument
1251 p_reg->RXD.FRAMECONFIG = flags; in nrf_nfct_rx_frame_config_set()
1254 NRF_STATIC_INLINE uint16_t nrf_nfct_rx_bits_get(NRF_NFCT_Type const * p_reg, bool crc_excluded) in nrf_nfct_rx_bits_get() argument
1256 uint16_t rx_bits = p_reg->RXD.AMOUNT & (NFCT_RXD_AMOUNT_RXDATABITS_Msk | in nrf_nfct_rx_bits_get()
1262 nrf_nfct_sensres_nfcid1_size_t nrf_nfct_nfcid1_get(NRF_NFCT_Type const * p_reg, in nrf_nfct_nfcid1_get() argument
1266 uint32_t nfcid1_last = p_reg->NFCID1.LAST; in nrf_nfct_nfcid1_get()
1268 uint32_t nfcid1_last = p_reg->NFCID1_LAST; in nrf_nfct_nfcid1_get()
1271 (nrf_nfct_sensres_nfcid1_size_t)(p_reg->SENSRES & NFCT_SENSRES_NFCIDSIZE_Msk); in nrf_nfct_nfcid1_get()
1276 uint32_t nfcid1_2nd_last = p_reg->NFCID1.SECONDLAST; in nrf_nfct_nfcid1_get()
1278 uint32_t nfcid1_2nd_last = p_reg->NFCID1_2ND_LAST; in nrf_nfct_nfcid1_get()
1284 uint32_t nfcid1_3rd_last = p_reg->NFCID1.THIRDLAST; in nrf_nfct_nfcid1_get()
1286 uint32_t nfcid1_3rd_last = p_reg->NFCID1_3RD_LAST; in nrf_nfct_nfcid1_get()
1307 NRF_STATIC_INLINE void nrf_nfct_nfcid1_set(NRF_NFCT_Type * p_reg, in nrf_nfct_nfcid1_set() argument
1319 p_reg->NFCID1.THIRDLAST = in nrf_nfct_nfcid1_set()
1321 p_reg->NFCID1_3RD_LAST = in nrf_nfct_nfcid1_set()
1329 p_reg->NFCID1.SECONDLAST = in nrf_nfct_nfcid1_set()
1331 p_reg->NFCID1_2ND_LAST = in nrf_nfct_nfcid1_set()
1340 p_reg->NFCID1.LAST = in nrf_nfct_nfcid1_set()
1342 p_reg->NFCID1_LAST = in nrf_nfct_nfcid1_set()
1349 p_reg->SENSRES = ((p_reg->SENSRES & ~NFCT_SENSRES_NFCIDSIZE_Msk) | in nrf_nfct_nfcid1_set()
1354 NRF_STATIC_INLINE bool nrf_nfct_autocolres_is_enabled(NRF_NFCT_Type const * p_reg) in nrf_nfct_autocolres_is_enabled() argument
1356 return (p_reg->AUTOCOLRESCONFIG & NFCT_AUTOCOLRESCONFIG_MODE_Msk) == in nrf_nfct_autocolres_is_enabled()
1360 NRF_STATIC_INLINE void nrf_nfct_autocolres_enable(NRF_NFCT_Type * p_reg) in nrf_nfct_autocolres_enable() argument
1362 p_reg->AUTOCOLRESCONFIG = in nrf_nfct_autocolres_enable()
1363 (p_reg->AUTOCOLRESCONFIG & ~NFCT_AUTOCOLRESCONFIG_MODE_Msk) | in nrf_nfct_autocolres_enable()
1367 NRF_STATIC_INLINE void nrf_nfct_autocolres_disable(NRF_NFCT_Type * p_reg) in nrf_nfct_autocolres_disable() argument
1369 p_reg->AUTOCOLRESCONFIG = in nrf_nfct_autocolres_disable()
1370 (p_reg->AUTOCOLRESCONFIG & ~NFCT_AUTOCOLRESCONFIG_MODE_Msk) | in nrf_nfct_autocolres_disable()
1376 nrf_nfct_sensres_nfcid1_size_t nrf_nfct_sensres_nfcid1_size_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_sensres_nfcid1_size_get() argument
1378 return (nrf_nfct_sensres_nfcid1_size_t)(p_reg->SENSRES & NFCT_SENSRES_NFCIDSIZE_Msk); in nrf_nfct_sensres_nfcid1_size_get()
1381 NRF_STATIC_INLINE void nrf_nfct_sensres_nfcid1_size_set(NRF_NFCT_Type * p_reg, in nrf_nfct_sensres_nfcid1_size_set() argument
1384 p_reg->SENSRES = ((p_reg->SENSRES & ~(NFCT_SENSRES_NFCIDSIZE_Msk)) | in nrf_nfct_sensres_nfcid1_size_set()
1389 nrf_nfct_sensres_bit_frame_sdd_t nrf_nfct_sensres_bit_frame_sdd_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_sensres_bit_frame_sdd_get() argument
1391 return (nrf_nfct_sensres_bit_frame_sdd_t)(p_reg->SENSRES & NFCT_SENSRES_BITFRAMESDD_Msk); in nrf_nfct_sensres_bit_frame_sdd_get()
1395 void nrf_nfct_sensres_bit_frame_sdd_set(NRF_NFCT_Type * p_reg, in nrf_nfct_sensres_bit_frame_sdd_set() argument
1398 p_reg->SENSRES = ((p_reg->SENSRES & ~(NFCT_SENSRES_BITFRAMESDD_Msk)) | (uint32_t)bit_frame_sdd); in nrf_nfct_sensres_bit_frame_sdd_set()
1402 nrf_nfct_sensres_platform_config_t nrf_nfct_sensres_platform_config_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_sensres_platform_config_get() argument
1404 return (nrf_nfct_sensres_platform_config_t)(p_reg->SENSRES & NFCT_SENSRES_PLATFCONFIG_Msk); in nrf_nfct_sensres_platform_config_get()
1408 void nrf_nfct_sensres_platform_config_set(NRF_NFCT_Type * p_reg, in nrf_nfct_sensres_platform_config_set() argument
1411 p_reg->SENSRES = ((p_reg->SENSRES & ~(NFCT_SENSRES_PLATFCONFIG_Msk)) | in nrf_nfct_sensres_platform_config_set()
1415 NRF_STATIC_INLINE bool nrf_nfct_selres_cascade_check(NRF_NFCT_Type const * p_reg) in nrf_nfct_selres_cascade_check() argument
1417 return (bool)(p_reg->SELRES & NFCT_SELRES_CASCADE_Msk); in nrf_nfct_selres_cascade_check()
1421 nrf_nfct_selres_protocol_t nrf_nfct_selres_protocol_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_selres_protocol_get() argument
1423 return (nrf_nfct_selres_protocol_t)((p_reg->SELRES & NFCT_SELRES_PROTOCOL_Msk) >> in nrf_nfct_selres_protocol_get()
1427 NRF_STATIC_INLINE void nrf_nfct_selres_protocol_set(NRF_NFCT_Type * p_reg, in nrf_nfct_selres_protocol_set() argument
1430 p_reg->SELRES = (p_reg->SELRES & ~NFCT_SELRES_PROTOCOL_Msk) | in nrf_nfct_selres_protocol_set()
1434 NRF_STATIC_INLINE uint32_t nrf_nfct_selres_get(NRF_NFCT_Type const * p_reg) in nrf_nfct_selres_get() argument
1436 return p_reg->SELRES; in nrf_nfct_selres_get()
1439 NRF_STATIC_INLINE void nrf_nfct_selres_set(NRF_NFCT_Type * p_reg, uint32_t selres) in nrf_nfct_selres_set() argument
1441 p_reg->SELRES = (p_reg->SELRES & NFCT_SELRES_CASCADE_Msk) | (selres & ~NFCT_SELRES_CASCADE_Msk); in nrf_nfct_selres_set()
1445 NRF_STATIC_INLINE void nrf_nfct_pad_config_enable_set(NRF_NFCT_Type * p_reg, bool enable) in nrf_nfct_pad_config_enable_set() argument
1447 p_reg->PADCONFIG = (enable ? in nrf_nfct_pad_config_enable_set()
1453 NRF_STATIC_INLINE bool nrf_nfct_pad_config_enable_check(NRF_NFCT_Type const * p_reg) in nrf_nfct_pad_config_enable_check() argument
1455 return (bool)(((p_reg->PADCONFIG & NFCT_PADCONFIG_ENABLE_Msk) >> NFCT_PADCONFIG_ENABLE_Pos)); in nrf_nfct_pad_config_enable_check()
1460 NRF_STATIC_INLINE void nrf_nfct_bias_config_set(NRF_NFCT_Type * p_reg, in nrf_nfct_bias_config_set() argument
1465 p_reg->BIASCFG = (((p_bias_config->trim_ibpsr << in nrf_nfct_bias_config_set()
1479 NRF_STATIC_INLINE void nrf_nfct_bias_config_get(NRF_NFCT_Type const * p_reg, in nrf_nfct_bias_config_get() argument
1484 p_bias_config->trim_ibpsr = (p_reg->BIASCFG & NFCT_BIASCFG_TRIMIBPSR_Msk) in nrf_nfct_bias_config_get()
1487 p_bias_config->coarse_ibpsr = (p_reg->BIASCFG & NFCT_BIASCFG_COARSEIBPSR_Msk) in nrf_nfct_bias_config_get()
1490 p_bias_config->reference_volatge = (p_reg->BIASCFG & NFCT_BIASCFG_REFERENCEVOLTAGE_Msk) in nrf_nfct_bias_config_get()
1493 p_bias_config->spare = (p_reg->BIASCFG & NFCT_BIASCFG_SPARE_Msk) in nrf_nfct_bias_config_get()