Lines Matching refs:p_reg
300 NRF_STATIC_INLINE void nrf_twim_task_trigger(NRF_TWIM_Type * p_reg,
311 NRF_STATIC_INLINE uint32_t nrf_twim_task_address_get(NRF_TWIM_Type const * p_reg,
320 NRF_STATIC_INLINE void nrf_twim_event_clear(NRF_TWIM_Type * p_reg,
332 NRF_STATIC_INLINE bool nrf_twim_event_check(NRF_TWIM_Type const * p_reg,
343 NRF_STATIC_INLINE uint32_t nrf_twim_event_address_get(NRF_TWIM_Type const * p_reg,
352 NRF_STATIC_INLINE void nrf_twim_shorts_enable(NRF_TWIM_Type * p_reg,
361 NRF_STATIC_INLINE void nrf_twim_shorts_disable(NRF_TWIM_Type * p_reg,
371 NRF_STATIC_INLINE void nrf_twim_int_enable(NRF_TWIM_Type * p_reg,
381 NRF_STATIC_INLINE void nrf_twim_int_disable(NRF_TWIM_Type * p_reg,
393 NRF_STATIC_INLINE uint32_t nrf_twim_int_enable_check(NRF_TWIM_Type const * p_reg, uint32_t mask);
404 NRF_STATIC_INLINE void nrf_twim_subscribe_set(NRF_TWIM_Type * p_reg,
415 NRF_STATIC_INLINE void nrf_twim_subscribe_clear(NRF_TWIM_Type * p_reg,
426 NRF_STATIC_INLINE void nrf_twim_publish_set(NRF_TWIM_Type * p_reg,
437 NRF_STATIC_INLINE void nrf_twim_publish_clear(NRF_TWIM_Type * p_reg,
446 NRF_STATIC_INLINE void nrf_twim_enable(NRF_TWIM_Type * p_reg);
453 NRF_STATIC_INLINE void nrf_twim_disable(NRF_TWIM_Type * p_reg);
462 NRF_STATIC_INLINE void nrf_twim_pins_set(NRF_TWIM_Type * p_reg,
472 NRF_STATIC_INLINE void nrf_twim_scl_pin_set(NRF_TWIM_Type * p_reg, uint32_t pin);
480 NRF_STATIC_INLINE void nrf_twim_sda_pin_set(NRF_TWIM_Type * p_reg, uint32_t pin);
489 NRF_STATIC_INLINE uint32_t nrf_twim_scl_pin_get(NRF_TWIM_Type const * p_reg);
498 NRF_STATIC_INLINE uint32_t nrf_twim_sda_pin_get(NRF_TWIM_Type const * p_reg);
506 NRF_STATIC_INLINE void nrf_twim_frequency_set(NRF_TWIM_Type * p_reg,
518 NRF_STATIC_INLINE uint32_t nrf_twim_errorsrc_get_and_clear(NRF_TWIM_Type * p_reg);
526 NRF_STATIC_INLINE void nrf_twim_address_set(NRF_TWIM_Type * p_reg,
536 NRF_STATIC_INLINE uint8_t nrf_twim_address_get(NRF_TWIM_Type const * p_reg);
545 NRF_STATIC_INLINE void nrf_twim_tx_buffer_set(NRF_TWIM_Type * p_reg,
556 NRF_STATIC_INLINE void nrf_twim_rx_buffer_set(NRF_TWIM_Type * p_reg,
566 NRF_STATIC_INLINE void nrf_twim_shorts_set(NRF_TWIM_Type * p_reg,
576 NRF_STATIC_INLINE uint32_t nrf_twim_shorts_get(NRF_TWIM_Type const * p_reg);
588 NRF_STATIC_INLINE size_t nrf_twim_txd_amount_get(NRF_TWIM_Type const * p_reg);
600 NRF_STATIC_INLINE size_t nrf_twim_rxd_amount_get(NRF_TWIM_Type const * p_reg);
612 NRF_STATIC_INLINE size_t nrf_twim_txd_curr_amount_get(NRF_TWIM_Type const * p_reg);
623 NRF_STATIC_INLINE size_t nrf_twim_rxd_curr_amount_get(NRF_TWIM_Type const * p_reg);
632 NRF_STATIC_INLINE void nrf_twim_tx_list_enable(NRF_TWIM_Type * p_reg);
639 NRF_STATIC_INLINE void nrf_twim_tx_list_disable(NRF_TWIM_Type * p_reg);
646 NRF_STATIC_INLINE void nrf_twim_rx_list_enable(NRF_TWIM_Type * p_reg);
653 NRF_STATIC_INLINE void nrf_twim_rx_list_disable(NRF_TWIM_Type * p_reg);
664 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_enable_set(NRF_TWIM_Type * p_reg,
677 NRF_STATIC_INLINE bool nrf_twim_rx_pattern_match_enable_check(NRF_TWIM_Type const * p_reg,
686 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_one_shot_enable(NRF_TWIM_Type * p_reg,
695 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_one_shot_disable(NRF_TWIM_Type * p_reg,
707 NRF_STATIC_INLINE bool nrf_twim_rx_pattern_match_one_shot_check(NRF_TWIM_Type const * p_reg,
718 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_candidate_set(NRF_TWIM_Type * p_reg,
730 NRF_STATIC_INLINE uint32_t nrf_twim_rx_pattern_match_candidate_get(NRF_TWIM_Type const * p_reg,
741 NRF_STATIC_INLINE void nrf_twim_rx_terminate_on_bus_error_enable_set(NRF_TWIM_Type * p_reg,
753 NRF_STATIC_INLINE bool nrf_twim_rx_terminate_on_bus_error_check(NRF_TWIM_Type const * p_reg);
761 NRF_STATIC_INLINE void nrf_twim_tx_terminate_on_bus_error_enable_set(NRF_TWIM_Type * p_reg,
773 NRF_STATIC_INLINE bool nrf_twim_tx_terminate_on_bus_error_check(NRF_TWIM_Type const * p_reg);
778 NRF_STATIC_INLINE void nrf_twim_task_trigger(NRF_TWIM_Type * p_reg, in nrf_twim_task_trigger() argument
781 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)task)) = 0x1UL; in nrf_twim_task_trigger()
784 NRF_STATIC_INLINE uint32_t nrf_twim_task_address_get(NRF_TWIM_Type const * p_reg, in nrf_twim_task_address_get() argument
787 return nrf_task_event_address_get(p_reg, task); in nrf_twim_task_address_get()
790 NRF_STATIC_INLINE void nrf_twim_event_clear(NRF_TWIM_Type * p_reg, in nrf_twim_event_clear() argument
793 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_twim_event_clear()
794 nrf_event_readback((uint8_t *)p_reg + (uint32_t)event); in nrf_twim_event_clear()
797 NRF_STATIC_INLINE bool nrf_twim_event_check(NRF_TWIM_Type const * p_reg, in nrf_twim_event_check() argument
800 return nrf_event_check(p_reg, event); in nrf_twim_event_check()
803 NRF_STATIC_INLINE uint32_t nrf_twim_event_address_get(NRF_TWIM_Type const * p_reg, in nrf_twim_event_address_get() argument
806 return nrf_task_event_address_get(p_reg, event); in nrf_twim_event_address_get()
809 NRF_STATIC_INLINE void nrf_twim_shorts_enable(NRF_TWIM_Type * p_reg, in nrf_twim_shorts_enable() argument
812 p_reg->SHORTS |= mask; in nrf_twim_shorts_enable()
815 NRF_STATIC_INLINE void nrf_twim_shorts_disable(NRF_TWIM_Type * p_reg, in nrf_twim_shorts_disable() argument
818 p_reg->SHORTS &= ~(mask); in nrf_twim_shorts_disable()
821 NRF_STATIC_INLINE void nrf_twim_int_enable(NRF_TWIM_Type * p_reg, in nrf_twim_int_enable() argument
824 p_reg->INTENSET = mask; in nrf_twim_int_enable()
827 NRF_STATIC_INLINE void nrf_twim_int_disable(NRF_TWIM_Type * p_reg, in nrf_twim_int_disable() argument
830 p_reg->INTENCLR = mask; in nrf_twim_int_disable()
833 NRF_STATIC_INLINE uint32_t nrf_twim_int_enable_check(NRF_TWIM_Type const * p_reg, uint32_t mask) in nrf_twim_int_enable_check() argument
835 return p_reg->INTENSET & mask; in nrf_twim_int_enable_check()
839 NRF_STATIC_INLINE void nrf_twim_subscribe_set(NRF_TWIM_Type * p_reg, in nrf_twim_subscribe_set() argument
843 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = in nrf_twim_subscribe_set()
847 NRF_STATIC_INLINE void nrf_twim_subscribe_clear(NRF_TWIM_Type * p_reg, in nrf_twim_subscribe_clear() argument
850 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = 0; in nrf_twim_subscribe_clear()
853 NRF_STATIC_INLINE void nrf_twim_publish_set(NRF_TWIM_Type * p_reg, in nrf_twim_publish_set() argument
857 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) event + 0x80uL)) = in nrf_twim_publish_set()
861 NRF_STATIC_INLINE void nrf_twim_publish_clear(NRF_TWIM_Type * p_reg, in nrf_twim_publish_clear() argument
864 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) event + 0x80uL)) = 0; in nrf_twim_publish_clear()
868 NRF_STATIC_INLINE void nrf_twim_enable(NRF_TWIM_Type * p_reg) in nrf_twim_enable() argument
870 p_reg->ENABLE = (TWIM_ENABLE_ENABLE_Enabled << TWIM_ENABLE_ENABLE_Pos); in nrf_twim_enable()
873 NRF_STATIC_INLINE void nrf_twim_disable(NRF_TWIM_Type * p_reg) in nrf_twim_disable() argument
875 p_reg->ENABLE = (TWIM_ENABLE_ENABLE_Disabled << TWIM_ENABLE_ENABLE_Pos); in nrf_twim_disable()
878 NRF_STATIC_INLINE void nrf_twim_pins_set(NRF_TWIM_Type * p_reg, in nrf_twim_pins_set() argument
882 p_reg->PSEL.SCL = scl_pin; in nrf_twim_pins_set()
883 p_reg->PSEL.SDA = sda_pin; in nrf_twim_pins_set()
886 NRF_STATIC_INLINE void nrf_twim_scl_pin_set(NRF_TWIM_Type * p_reg, uint32_t pin) in nrf_twim_scl_pin_set() argument
888 p_reg->PSEL.SCL = pin; in nrf_twim_scl_pin_set()
891 NRF_STATIC_INLINE void nrf_twim_sda_pin_set(NRF_TWIM_Type * p_reg, uint32_t pin) in nrf_twim_sda_pin_set() argument
893 p_reg->PSEL.SDA = pin; in nrf_twim_sda_pin_set()
896 NRF_STATIC_INLINE uint32_t nrf_twim_scl_pin_get(NRF_TWIM_Type const * p_reg) in nrf_twim_scl_pin_get() argument
898 return p_reg->PSEL.SCL; in nrf_twim_scl_pin_get()
901 NRF_STATIC_INLINE uint32_t nrf_twim_sda_pin_get(NRF_TWIM_Type const * p_reg) in nrf_twim_sda_pin_get() argument
903 return p_reg->PSEL.SDA; in nrf_twim_sda_pin_get()
906 NRF_STATIC_INLINE void nrf_twim_frequency_set(NRF_TWIM_Type * p_reg, in nrf_twim_frequency_set() argument
909 p_reg->FREQUENCY = frequency; in nrf_twim_frequency_set()
912 NRF_STATIC_INLINE uint32_t nrf_twim_errorsrc_get_and_clear(NRF_TWIM_Type * p_reg) in nrf_twim_errorsrc_get_and_clear() argument
914 uint32_t error_source = p_reg->ERRORSRC; in nrf_twim_errorsrc_get_and_clear()
917 p_reg->ERRORSRC = error_source; in nrf_twim_errorsrc_get_and_clear()
922 NRF_STATIC_INLINE void nrf_twim_address_set(NRF_TWIM_Type * p_reg, in nrf_twim_address_set() argument
925 p_reg->ADDRESS = address; in nrf_twim_address_set()
928 NRF_STATIC_INLINE uint8_t nrf_twim_address_get(NRF_TWIM_Type const * p_reg) in nrf_twim_address_get() argument
930 return (uint8_t)(p_reg->ADDRESS & TWIM_ADDRESS_ADDRESS_Msk); in nrf_twim_address_get()
933 NRF_STATIC_INLINE void nrf_twim_tx_buffer_set(NRF_TWIM_Type * p_reg, in nrf_twim_tx_buffer_set() argument
938 p_reg->DMA.TX.PTR = (uint32_t)p_buffer; in nrf_twim_tx_buffer_set()
939 p_reg->DMA.TX.MAXCNT = length; in nrf_twim_tx_buffer_set()
941 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_twim_tx_buffer_set()
942 p_reg->TXD.MAXCNT = length; in nrf_twim_tx_buffer_set()
946 NRF_STATIC_INLINE void nrf_twim_rx_buffer_set(NRF_TWIM_Type * p_reg, in nrf_twim_rx_buffer_set() argument
951 p_reg->DMA.RX.PTR = (uint32_t)p_buffer; in nrf_twim_rx_buffer_set()
952 p_reg->DMA.RX.MAXCNT = length; in nrf_twim_rx_buffer_set()
954 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_twim_rx_buffer_set()
955 p_reg->RXD.MAXCNT = length; in nrf_twim_rx_buffer_set()
959 NRF_STATIC_INLINE void nrf_twim_shorts_set(NRF_TWIM_Type * p_reg, in nrf_twim_shorts_set() argument
962 p_reg->SHORTS = mask; in nrf_twim_shorts_set()
965 NRF_STATIC_INLINE uint32_t nrf_twim_shorts_get(NRF_TWIM_Type const * p_reg) in nrf_twim_shorts_get() argument
967 return p_reg->SHORTS; in nrf_twim_shorts_get()
970 NRF_STATIC_INLINE size_t nrf_twim_txd_amount_get(NRF_TWIM_Type const * p_reg) in nrf_twim_txd_amount_get() argument
973 return p_reg->DMA.TX.AMOUNT; in nrf_twim_txd_amount_get()
975 return p_reg->TXD.AMOUNT; in nrf_twim_txd_amount_get()
979 NRF_STATIC_INLINE size_t nrf_twim_rxd_amount_get(NRF_TWIM_Type const * p_reg) in nrf_twim_rxd_amount_get() argument
982 return p_reg->DMA.RX.AMOUNT; in nrf_twim_rxd_amount_get()
984 return p_reg->RXD.AMOUNT; in nrf_twim_rxd_amount_get()
989 NRF_STATIC_INLINE size_t nrf_twim_txd_curr_amount_get(NRF_TWIM_Type const * p_reg) in nrf_twim_txd_curr_amount_get() argument
991 return p_reg->DMA.TX.CURRENTAMOUNT; in nrf_twim_txd_curr_amount_get()
994 NRF_STATIC_INLINE size_t nrf_twim_rxd_curr_amount_get(NRF_TWIM_Type const * p_reg) in nrf_twim_rxd_curr_amount_get() argument
996 return p_reg->DMA.RX.CURRENTAMOUNT; in nrf_twim_rxd_curr_amount_get()
1001 NRF_STATIC_INLINE void nrf_twim_tx_list_enable(NRF_TWIM_Type * p_reg) in nrf_twim_tx_list_enable() argument
1004 p_reg->DMA.TX.LIST = TWIM_DMA_TX_LIST_TYPE_ArrayList << TWIM_DMA_TX_LIST_TYPE_Pos; in nrf_twim_tx_list_enable()
1006 p_reg->TXD.LIST = TWIM_TXD_LIST_LIST_ArrayList << TWIM_TXD_LIST_LIST_Pos; in nrf_twim_tx_list_enable()
1010 NRF_STATIC_INLINE void nrf_twim_tx_list_disable(NRF_TWIM_Type * p_reg) in nrf_twim_tx_list_disable() argument
1013 p_reg->DMA.TX.LIST = TWIM_DMA_TX_LIST_TYPE_Disabled << TWIM_DMA_TX_LIST_TYPE_Pos; in nrf_twim_tx_list_disable()
1015 p_reg->TXD.LIST = TWIM_TXD_LIST_LIST_Disabled << TWIM_TXD_LIST_LIST_Pos; in nrf_twim_tx_list_disable()
1019 NRF_STATIC_INLINE void nrf_twim_rx_list_enable(NRF_TWIM_Type * p_reg) in nrf_twim_rx_list_enable() argument
1022 p_reg->DMA.RX.LIST = TWIM_DMA_RX_LIST_TYPE_ArrayList << TWIM_DMA_RX_LIST_TYPE_Pos; in nrf_twim_rx_list_enable()
1024 p_reg->RXD.LIST = TWIM_RXD_LIST_LIST_ArrayList << TWIM_RXD_LIST_LIST_Pos; in nrf_twim_rx_list_enable()
1028 NRF_STATIC_INLINE void nrf_twim_rx_list_disable(NRF_TWIM_Type * p_reg) in nrf_twim_rx_list_disable() argument
1031 p_reg->DMA.RX.LIST = TWIM_DMA_RX_LIST_TYPE_Disabled << TWIM_DMA_RX_LIST_TYPE_Pos; in nrf_twim_rx_list_disable()
1033 p_reg->RXD.LIST = TWIM_RXD_LIST_LIST_Disabled << TWIM_RXD_LIST_LIST_Pos; in nrf_twim_rx_list_disable()
1039 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_enable_set(NRF_TWIM_Type * p_reg, in nrf_twim_rx_pattern_match_enable_set() argument
1047 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_twim_rx_pattern_match_enable_set()
1055 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_twim_rx_pattern_match_enable_set()
1063 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_twim_rx_pattern_match_enable_set()
1071 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_twim_rx_pattern_match_enable_set()
1084 NRF_STATIC_INLINE bool nrf_twim_rx_pattern_match_enable_check(NRF_TWIM_Type const * p_reg, in nrf_twim_rx_pattern_match_enable_check() argument
1091 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ENABLE0_Msk) in nrf_twim_rx_pattern_match_enable_check()
1095 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ENABLE1_Msk) in nrf_twim_rx_pattern_match_enable_check()
1099 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ENABLE2_Msk) in nrf_twim_rx_pattern_match_enable_check()
1103 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ENABLE3_Msk) in nrf_twim_rx_pattern_match_enable_check()
1112 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_one_shot_enable(NRF_TWIM_Type * p_reg, in nrf_twim_rx_pattern_match_one_shot_enable() argument
1119 p_reg->DMA.RX.MATCH.CONFIG |= TWIM_DMA_RX_MATCH_CONFIG_ONESHOT0_Msk; in nrf_twim_rx_pattern_match_one_shot_enable()
1122 p_reg->DMA.RX.MATCH.CONFIG |= TWIM_DMA_RX_MATCH_CONFIG_ONESHOT1_Msk; in nrf_twim_rx_pattern_match_one_shot_enable()
1125 p_reg->DMA.RX.MATCH.CONFIG |= TWIM_DMA_RX_MATCH_CONFIG_ONESHOT2_Msk; in nrf_twim_rx_pattern_match_one_shot_enable()
1128 p_reg->DMA.RX.MATCH.CONFIG |= TWIM_DMA_RX_MATCH_CONFIG_ONESHOT3_Msk; in nrf_twim_rx_pattern_match_one_shot_enable()
1136 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_one_shot_disable(NRF_TWIM_Type * p_reg, in nrf_twim_rx_pattern_match_one_shot_disable() argument
1143 p_reg->DMA.RX.MATCH.CONFIG &= ~(TWIM_DMA_RX_MATCH_CONFIG_ONESHOT0_Msk); in nrf_twim_rx_pattern_match_one_shot_disable()
1146 p_reg->DMA.RX.MATCH.CONFIG &= ~(TWIM_DMA_RX_MATCH_CONFIG_ONESHOT1_Msk); in nrf_twim_rx_pattern_match_one_shot_disable()
1149 p_reg->DMA.RX.MATCH.CONFIG &= ~(TWIM_DMA_RX_MATCH_CONFIG_ONESHOT2_Msk); in nrf_twim_rx_pattern_match_one_shot_disable()
1152 p_reg->DMA.RX.MATCH.CONFIG &= ~(TWIM_DMA_RX_MATCH_CONFIG_ONESHOT3_Msk); in nrf_twim_rx_pattern_match_one_shot_disable()
1160 NRF_STATIC_INLINE bool nrf_twim_rx_pattern_match_one_shot_check(NRF_TWIM_Type const * p_reg, in nrf_twim_rx_pattern_match_one_shot_check() argument
1167 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ONESHOT0_Msk) in nrf_twim_rx_pattern_match_one_shot_check()
1171 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ONESHOT1_Msk) in nrf_twim_rx_pattern_match_one_shot_check()
1175 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ONESHOT2_Msk) in nrf_twim_rx_pattern_match_one_shot_check()
1179 return ((p_reg->DMA.RX.MATCH.CONFIG & TWIM_DMA_RX_MATCH_CONFIG_ONESHOT3_Msk) in nrf_twim_rx_pattern_match_one_shot_check()
1188 NRF_STATIC_INLINE void nrf_twim_rx_pattern_match_candidate_set(NRF_TWIM_Type * p_reg, in nrf_twim_rx_pattern_match_candidate_set() argument
1193 p_reg->DMA.RX.MATCH.CANDIDATE[index] = pattern; in nrf_twim_rx_pattern_match_candidate_set()
1196 NRF_STATIC_INLINE uint32_t nrf_twim_rx_pattern_match_candidate_get(NRF_TWIM_Type const * p_reg, in nrf_twim_rx_pattern_match_candidate_get() argument
1200 return p_reg->DMA.RX.MATCH.CANDIDATE[index]; in nrf_twim_rx_pattern_match_candidate_get()
1205 NRF_STATIC_INLINE void nrf_twim_rx_terminate_on_bus_error_enable_set(NRF_TWIM_Type * p_reg, in nrf_twim_rx_terminate_on_bus_error_enable_set() argument
1208 p_reg->DMA.RX.TERMINATEONBUSERROR = (enable ? TWIM_DMA_RX_TERMINATEONBUSERROR_ENABLE_Enabled : in nrf_twim_rx_terminate_on_bus_error_enable_set()
1213 NRF_STATIC_INLINE bool nrf_twim_rx_terminate_on_bus_error_check(NRF_TWIM_Type const * p_reg) in nrf_twim_rx_terminate_on_bus_error_check() argument
1215 return ((p_reg->DMA.RX.TERMINATEONBUSERROR & TWIM_DMA_RX_TERMINATEONBUSERROR_ENABLE_Msk) in nrf_twim_rx_terminate_on_bus_error_check()
1220 NRF_STATIC_INLINE void nrf_twim_tx_terminate_on_bus_error_enable_set(NRF_TWIM_Type * p_reg, in nrf_twim_tx_terminate_on_bus_error_enable_set() argument
1223 p_reg->DMA.TX.TERMINATEONBUSERROR = (enable ? TWIM_DMA_TX_TERMINATEONBUSERROR_ENABLE_Enabled : in nrf_twim_tx_terminate_on_bus_error_enable_set()
1228 NRF_STATIC_INLINE bool nrf_twim_tx_terminate_on_bus_error_check(NRF_TWIM_Type const * p_reg) in nrf_twim_tx_terminate_on_bus_error_check() argument
1230 return ((p_reg->DMA.TX.TERMINATEONBUSERROR & TWIM_DMA_TX_TERMINATEONBUSERROR_ENABLE_Msk) in nrf_twim_tx_terminate_on_bus_error_check()