Lines Matching refs:p_reg

230 NRF_STATIC_INLINE void nrf_spis_task_trigger(NRF_SPIS_Type * p_reg,
241 NRF_STATIC_INLINE uint32_t nrf_spis_task_address_get(NRF_SPIS_Type const * p_reg,
250 NRF_STATIC_INLINE void nrf_spis_event_clear(NRF_SPIS_Type * p_reg,
262 NRF_STATIC_INLINE bool nrf_spis_event_check(NRF_SPIS_Type const * p_reg,
273 NRF_STATIC_INLINE uint32_t nrf_spis_event_address_get(NRF_SPIS_Type const * p_reg,
282 NRF_STATIC_INLINE void nrf_spis_shorts_enable(NRF_SPIS_Type * p_reg,
291 NRF_STATIC_INLINE void nrf_spis_shorts_disable(NRF_SPIS_Type * p_reg,
301 NRF_STATIC_INLINE void nrf_spis_int_enable(NRF_SPIS_Type * p_reg,
311 NRF_STATIC_INLINE void nrf_spis_int_disable(NRF_SPIS_Type * p_reg,
323 NRF_STATIC_INLINE uint32_t nrf_spis_int_enable_check(NRF_SPIS_Type const * p_reg, uint32_t mask);
334 NRF_STATIC_INLINE void nrf_spis_subscribe_set(NRF_SPIS_Type * p_reg,
345 NRF_STATIC_INLINE void nrf_spis_subscribe_clear(NRF_SPIS_Type * p_reg,
356 NRF_STATIC_INLINE void nrf_spis_publish_set(NRF_SPIS_Type * p_reg,
367 NRF_STATIC_INLINE void nrf_spis_publish_clear(NRF_SPIS_Type * p_reg,
376 NRF_STATIC_INLINE void nrf_spis_enable(NRF_SPIS_Type * p_reg);
383 NRF_STATIC_INLINE void nrf_spis_disable(NRF_SPIS_Type * p_reg);
393 NRF_STATIC_INLINE bool nrf_spis_enable_check(NRF_SPIS_Type const * p_reg);
402 NRF_STATIC_INLINE nrf_spis_semstat_t nrf_spis_semaphore_status_get(NRF_SPIS_Type const * p_reg);
411 NRF_STATIC_INLINE nrf_spis_status_mask_t nrf_spis_status_get(NRF_SPIS_Type const * p_reg);
425 NRF_STATIC_INLINE void nrf_spis_pins_set(NRF_SPIS_Type * p_reg,
437 NRF_STATIC_INLINE void nrf_spis_sck_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin);
445 NRF_STATIC_INLINE void nrf_spis_mosi_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin);
453 NRF_STATIC_INLINE void nrf_spis_miso_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin);
461 NRF_STATIC_INLINE void nrf_spis_csn_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin);
470 NRF_STATIC_INLINE uint32_t nrf_spis_sck_pin_get(NRF_SPIS_Type const * p_reg);
479 NRF_STATIC_INLINE uint32_t nrf_spis_mosi_pin_get(NRF_SPIS_Type const * p_reg);
488 NRF_STATIC_INLINE uint32_t nrf_spis_miso_pin_get(NRF_SPIS_Type const * p_reg);
497 NRF_STATIC_INLINE uint32_t nrf_spis_csn_pin_get(NRF_SPIS_Type const * p_reg);
506 NRF_STATIC_INLINE void nrf_spis_tx_buffer_set(NRF_SPIS_Type * p_reg,
517 NRF_STATIC_INLINE void nrf_spis_rx_buffer_set(NRF_SPIS_Type * p_reg,
529 NRF_STATIC_INLINE size_t nrf_spis_tx_amount_get(NRF_SPIS_Type const * p_reg);
539 NRF_STATIC_INLINE size_t nrf_spis_rx_amount_get(NRF_SPIS_Type const * p_reg);
548 NRF_STATIC_INLINE void nrf_spis_configure(NRF_SPIS_Type * p_reg,
559 NRF_STATIC_INLINE void nrf_spis_def_set(NRF_SPIS_Type * p_reg,
569 NRF_STATIC_INLINE void nrf_spis_orc_set(NRF_SPIS_Type * p_reg,
578 NRF_STATIC_INLINE void nrf_spis_tx_list_enable(NRF_SPIS_Type * p_reg);
585 NRF_STATIC_INLINE void nrf_spis_tx_list_disable(NRF_SPIS_Type * p_reg);
594 NRF_STATIC_INLINE void nrf_spis_rx_list_enable(NRF_SPIS_Type * p_reg);
601 NRF_STATIC_INLINE void nrf_spis_rx_list_disable(NRF_SPIS_Type * p_reg);
612 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_enable_set(NRF_SPIS_Type * p_reg,
625 NRF_STATIC_INLINE bool nrf_spis_rx_pattern_match_enable_check(NRF_SPIS_Type const * p_reg,
634 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_one_shot_enable(NRF_SPIS_Type * p_reg,
643 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_one_shot_disable(NRF_SPIS_Type * p_reg,
655 NRF_STATIC_INLINE bool nrf_spis_rx_pattern_match_one_shot_check(NRF_SPIS_Type const * p_reg,
666 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_candidate_set(NRF_SPIS_Type * p_reg,
678 NRF_STATIC_INLINE uint32_t nrf_spis_rx_pattern_match_candidate_get(NRF_SPIS_Type const * p_reg,
688 NRF_STATIC_INLINE void nrf_spis_rx_terminate_on_bus_error_enable(NRF_SPIS_Type * p_reg);
695 NRF_STATIC_INLINE void nrf_spis_rx_terminate_on_bus_error_disable(NRF_SPIS_Type * p_reg);
705 NRF_STATIC_INLINE bool nrf_spis_rx_terminate_on_bus_error_check(NRF_SPIS_Type const * p_reg);
712 NRF_STATIC_INLINE void nrf_spis_tx_terminate_on_bus_error_enable(NRF_SPIS_Type * p_reg);
719 NRF_STATIC_INLINE void nrf_spis_tx_terminate_on_bus_error_disable(NRF_SPIS_Type * p_reg);
729 NRF_STATIC_INLINE bool nrf_spis_tx_terminate_on_bus_error_check(NRF_SPIS_Type const * p_reg);
734 NRF_STATIC_INLINE void nrf_spis_task_trigger(NRF_SPIS_Type * p_reg, in nrf_spis_task_trigger() argument
737 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)task)) = 0x1UL; in nrf_spis_task_trigger()
740 NRF_STATIC_INLINE uint32_t nrf_spis_task_address_get(NRF_SPIS_Type const * p_reg, in nrf_spis_task_address_get() argument
743 return (uint32_t)p_reg + (uint32_t)task; in nrf_spis_task_address_get()
746 NRF_STATIC_INLINE void nrf_spis_event_clear(NRF_SPIS_Type * p_reg, in nrf_spis_event_clear() argument
749 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)event)) = 0x0UL; in nrf_spis_event_clear()
750 nrf_event_readback((uint8_t *)p_reg + (uint32_t)event); in nrf_spis_event_clear()
753 NRF_STATIC_INLINE bool nrf_spis_event_check(NRF_SPIS_Type const * p_reg, in nrf_spis_event_check() argument
756 return nrf_event_check(p_reg, event); in nrf_spis_event_check()
759 NRF_STATIC_INLINE uint32_t nrf_spis_event_address_get(NRF_SPIS_Type const * p_reg, in nrf_spis_event_address_get() argument
762 return (uint32_t)p_reg + (uint32_t)event; in nrf_spis_event_address_get()
765 NRF_STATIC_INLINE void nrf_spis_shorts_enable(NRF_SPIS_Type * p_reg, in nrf_spis_shorts_enable() argument
768 p_reg->SHORTS |= mask; in nrf_spis_shorts_enable()
771 NRF_STATIC_INLINE void nrf_spis_shorts_disable(NRF_SPIS_Type * p_reg, in nrf_spis_shorts_disable() argument
774 p_reg->SHORTS &= ~(mask); in nrf_spis_shorts_disable()
777 NRF_STATIC_INLINE void nrf_spis_int_enable(NRF_SPIS_Type * p_reg, in nrf_spis_int_enable() argument
780 p_reg->INTENSET = mask; in nrf_spis_int_enable()
783 NRF_STATIC_INLINE void nrf_spis_int_disable(NRF_SPIS_Type * p_reg, in nrf_spis_int_disable() argument
786 p_reg->INTENCLR = mask; in nrf_spis_int_disable()
789 NRF_STATIC_INLINE uint32_t nrf_spis_int_enable_check(NRF_SPIS_Type const * p_reg, uint32_t mask) in nrf_spis_int_enable_check() argument
791 return p_reg->INTENSET & mask; in nrf_spis_int_enable_check()
795 NRF_STATIC_INLINE void nrf_spis_subscribe_set(NRF_SPIS_Type * p_reg, in nrf_spis_subscribe_set() argument
799 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = in nrf_spis_subscribe_set()
803 NRF_STATIC_INLINE void nrf_spis_subscribe_clear(NRF_SPIS_Type * p_reg, in nrf_spis_subscribe_clear() argument
806 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = 0; in nrf_spis_subscribe_clear()
809 NRF_STATIC_INLINE void nrf_spis_publish_set(NRF_SPIS_Type * p_reg, in nrf_spis_publish_set() argument
813 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) event + 0x80uL)) = in nrf_spis_publish_set()
817 NRF_STATIC_INLINE void nrf_spis_publish_clear(NRF_SPIS_Type * p_reg, in nrf_spis_publish_clear() argument
820 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) event + 0x80uL)) = 0; in nrf_spis_publish_clear()
824 NRF_STATIC_INLINE void nrf_spis_enable(NRF_SPIS_Type * p_reg) in nrf_spis_enable() argument
826 p_reg->ENABLE = (SPIS_ENABLE_ENABLE_Enabled << SPIS_ENABLE_ENABLE_Pos); in nrf_spis_enable()
829 NRF_STATIC_INLINE void nrf_spis_disable(NRF_SPIS_Type * p_reg) in nrf_spis_disable() argument
831 p_reg->ENABLE = (SPIS_ENABLE_ENABLE_Disabled << SPIS_ENABLE_ENABLE_Pos); in nrf_spis_disable()
834 NRF_STATIC_INLINE bool nrf_spis_enable_check(NRF_SPIS_Type const * p_reg) in nrf_spis_enable_check() argument
836 return p_reg->ENABLE == SPIS_ENABLE_ENABLE_Enabled; in nrf_spis_enable_check()
839 NRF_STATIC_INLINE nrf_spis_semstat_t nrf_spis_semaphore_status_get(NRF_SPIS_Type const * p_reg) in nrf_spis_semaphore_status_get() argument
841 return (nrf_spis_semstat_t) ((p_reg->SEMSTAT & SPIS_SEMSTAT_SEMSTAT_Msk) in nrf_spis_semaphore_status_get()
845 NRF_STATIC_INLINE nrf_spis_status_mask_t nrf_spis_status_get(NRF_SPIS_Type const * p_reg) in nrf_spis_status_get() argument
847 return (nrf_spis_status_mask_t) p_reg->STATUS; in nrf_spis_status_get()
850 NRF_STATIC_INLINE void nrf_spis_pins_set(NRF_SPIS_Type * p_reg, in nrf_spis_pins_set() argument
857 p_reg->PSELSCK = sck_pin; in nrf_spis_pins_set()
858 p_reg->PSELMOSI = mosi_pin; in nrf_spis_pins_set()
859 p_reg->PSELMISO = miso_pin; in nrf_spis_pins_set()
860 p_reg->PSELCSN = csn_pin; in nrf_spis_pins_set()
862 p_reg->PSEL.SCK = sck_pin; in nrf_spis_pins_set()
863 p_reg->PSEL.MOSI = mosi_pin; in nrf_spis_pins_set()
864 p_reg->PSEL.MISO = miso_pin; in nrf_spis_pins_set()
865 p_reg->PSEL.CSN = csn_pin; in nrf_spis_pins_set()
869 NRF_STATIC_INLINE void nrf_spis_sck_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin) in nrf_spis_sck_pin_set() argument
872 p_reg->PSELSCK = pin; in nrf_spis_sck_pin_set()
874 p_reg->PSEL.SCK = pin; in nrf_spis_sck_pin_set()
878 NRF_STATIC_INLINE void nrf_spis_mosi_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin) in nrf_spis_mosi_pin_set() argument
881 p_reg->PSELMOSI = pin; in nrf_spis_mosi_pin_set()
883 p_reg->PSEL.MOSI = pin; in nrf_spis_mosi_pin_set()
887 NRF_STATIC_INLINE void nrf_spis_miso_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin) in nrf_spis_miso_pin_set() argument
890 p_reg->PSELMISO = pin; in nrf_spis_miso_pin_set()
892 p_reg->PSEL.MISO = pin; in nrf_spis_miso_pin_set()
896 NRF_STATIC_INLINE void nrf_spis_csn_pin_set(NRF_SPIS_Type * p_reg, uint32_t pin) in nrf_spis_csn_pin_set() argument
899 p_reg->PSELCSN = pin; in nrf_spis_csn_pin_set()
901 p_reg->PSEL.CSN = pin; in nrf_spis_csn_pin_set()
905 NRF_STATIC_INLINE uint32_t nrf_spis_sck_pin_get(NRF_SPIS_Type const * p_reg) in nrf_spis_sck_pin_get() argument
908 return p_reg->PSELSCK; in nrf_spis_sck_pin_get()
910 return p_reg->PSEL.SCK; in nrf_spis_sck_pin_get()
914 NRF_STATIC_INLINE uint32_t nrf_spis_mosi_pin_get(NRF_SPIS_Type const * p_reg) in nrf_spis_mosi_pin_get() argument
917 return p_reg->PSELMOSI; in nrf_spis_mosi_pin_get()
919 return p_reg->PSEL.MOSI; in nrf_spis_mosi_pin_get()
923 NRF_STATIC_INLINE uint32_t nrf_spis_miso_pin_get(NRF_SPIS_Type const * p_reg) in nrf_spis_miso_pin_get() argument
926 return p_reg->PSELMISO; in nrf_spis_miso_pin_get()
928 return p_reg->PSEL.MISO; in nrf_spis_miso_pin_get()
932 NRF_STATIC_INLINE uint32_t nrf_spis_csn_pin_get(NRF_SPIS_Type const * p_reg) in nrf_spis_csn_pin_get() argument
935 return p_reg->PSELCSN; in nrf_spis_csn_pin_get()
937 return p_reg->PSEL.CSN; in nrf_spis_csn_pin_get()
941 NRF_STATIC_INLINE void nrf_spis_tx_buffer_set(NRF_SPIS_Type * p_reg, in nrf_spis_tx_buffer_set() argument
946 p_reg->TXDPTR = (uint32_t)p_buffer; in nrf_spis_tx_buffer_set()
947 p_reg->MAXTX = length; in nrf_spis_tx_buffer_set()
949 p_reg->DMA.TX.PTR = (uint32_t)p_buffer; in nrf_spis_tx_buffer_set()
950 p_reg->DMA.TX.MAXCNT = length; in nrf_spis_tx_buffer_set()
952 p_reg->TXD.PTR = (uint32_t)p_buffer; in nrf_spis_tx_buffer_set()
953 p_reg->TXD.MAXCNT = length; in nrf_spis_tx_buffer_set()
957 NRF_STATIC_INLINE void nrf_spis_rx_buffer_set(NRF_SPIS_Type * p_reg, in nrf_spis_rx_buffer_set() argument
962 p_reg->RXDPTR = (uint32_t)p_buffer; in nrf_spis_rx_buffer_set()
963 p_reg->MAXRX = length; in nrf_spis_rx_buffer_set()
965 p_reg->DMA.RX.PTR = (uint32_t)p_buffer; in nrf_spis_rx_buffer_set()
966 p_reg->DMA.RX.MAXCNT = length; in nrf_spis_rx_buffer_set()
968 p_reg->RXD.PTR = (uint32_t)p_buffer; in nrf_spis_rx_buffer_set()
969 p_reg->RXD.MAXCNT = length; in nrf_spis_rx_buffer_set()
973 NRF_STATIC_INLINE size_t nrf_spis_tx_amount_get(NRF_SPIS_Type const * p_reg) in nrf_spis_tx_amount_get() argument
976 return p_reg->AMOUNTTX; in nrf_spis_tx_amount_get()
978 return p_reg->DMA.TX.AMOUNT; in nrf_spis_tx_amount_get()
980 return p_reg->TXD.AMOUNT; in nrf_spis_tx_amount_get()
984 NRF_STATIC_INLINE size_t nrf_spis_rx_amount_get(NRF_SPIS_Type const * p_reg) in nrf_spis_rx_amount_get() argument
987 return p_reg->AMOUNTRX; in nrf_spis_rx_amount_get()
989 return p_reg->DMA.RX.AMOUNT; in nrf_spis_rx_amount_get()
991 return p_reg->RXD.AMOUNT; in nrf_spis_rx_amount_get()
995 NRF_STATIC_INLINE void nrf_spis_configure(NRF_SPIS_Type * p_reg, in nrf_spis_configure() argument
1025 p_reg->CONFIG = config; in nrf_spis_configure()
1028 NRF_STATIC_INLINE void nrf_spis_orc_set(NRF_SPIS_Type * p_reg, in nrf_spis_orc_set() argument
1031 p_reg->ORC = orc; in nrf_spis_orc_set()
1034 NRF_STATIC_INLINE void nrf_spis_def_set(NRF_SPIS_Type * p_reg, in nrf_spis_def_set() argument
1037 p_reg->DEF = def; in nrf_spis_def_set()
1041 NRF_STATIC_INLINE void nrf_spis_tx_list_enable(NRF_SPIS_Type * p_reg) in nrf_spis_tx_list_enable() argument
1043 p_reg->TXD.LIST = SPIS_TXD_LIST_LIST_ArrayList << SPIS_TXD_LIST_LIST_Pos; in nrf_spis_tx_list_enable()
1046 NRF_STATIC_INLINE void nrf_spis_tx_list_disable(NRF_SPIS_Type * p_reg) in nrf_spis_tx_list_disable() argument
1048 p_reg->TXD.LIST = SPIS_TXD_LIST_LIST_Disabled << SPIS_TXD_LIST_LIST_Pos; in nrf_spis_tx_list_disable()
1053 NRF_STATIC_INLINE void nrf_spis_rx_list_enable(NRF_SPIS_Type * p_reg) in nrf_spis_rx_list_enable() argument
1055 p_reg->RXD.LIST = SPIS_RXD_LIST_LIST_ArrayList << SPIS_RXD_LIST_LIST_Pos; in nrf_spis_rx_list_enable()
1058 NRF_STATIC_INLINE void nrf_spis_rx_list_disable(NRF_SPIS_Type * p_reg) in nrf_spis_rx_list_disable() argument
1060 p_reg->RXD.LIST = SPIS_RXD_LIST_LIST_Disabled << SPIS_RXD_LIST_LIST_Pos; in nrf_spis_rx_list_disable()
1065 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_enable_set(NRF_SPIS_Type * p_reg, in nrf_spis_rx_pattern_match_enable_set() argument
1073 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_spis_rx_pattern_match_enable_set()
1081 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_spis_rx_pattern_match_enable_set()
1089 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_spis_rx_pattern_match_enable_set()
1097 p_reg->DMA.RX.MATCH.CONFIG = ((p_reg->DMA.RX.MATCH.CONFIG & in nrf_spis_rx_pattern_match_enable_set()
1110 NRF_STATIC_INLINE bool nrf_spis_rx_pattern_match_enable_check(NRF_SPIS_Type const * p_reg, in nrf_spis_rx_pattern_match_enable_check() argument
1117 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ENABLE0_Msk) in nrf_spis_rx_pattern_match_enable_check()
1121 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ENABLE1_Msk) in nrf_spis_rx_pattern_match_enable_check()
1125 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ENABLE2_Msk) in nrf_spis_rx_pattern_match_enable_check()
1129 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ENABLE3_Msk) in nrf_spis_rx_pattern_match_enable_check()
1138 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_one_shot_enable(NRF_SPIS_Type * p_reg, in nrf_spis_rx_pattern_match_one_shot_enable() argument
1145 p_reg->DMA.RX.MATCH.CONFIG |= SPIS_DMA_RX_MATCH_CONFIG_ONESHOT0_Msk; in nrf_spis_rx_pattern_match_one_shot_enable()
1148 p_reg->DMA.RX.MATCH.CONFIG |= SPIS_DMA_RX_MATCH_CONFIG_ONESHOT1_Msk; in nrf_spis_rx_pattern_match_one_shot_enable()
1151 p_reg->DMA.RX.MATCH.CONFIG |= SPIS_DMA_RX_MATCH_CONFIG_ONESHOT2_Msk; in nrf_spis_rx_pattern_match_one_shot_enable()
1154 p_reg->DMA.RX.MATCH.CONFIG |= SPIS_DMA_RX_MATCH_CONFIG_ONESHOT3_Msk; in nrf_spis_rx_pattern_match_one_shot_enable()
1162 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_one_shot_disable(NRF_SPIS_Type * p_reg, in nrf_spis_rx_pattern_match_one_shot_disable() argument
1169 p_reg->DMA.RX.MATCH.CONFIG &= ~(SPIS_DMA_RX_MATCH_CONFIG_ONESHOT0_Msk); in nrf_spis_rx_pattern_match_one_shot_disable()
1172 p_reg->DMA.RX.MATCH.CONFIG &= ~(SPIS_DMA_RX_MATCH_CONFIG_ONESHOT1_Msk); in nrf_spis_rx_pattern_match_one_shot_disable()
1175 p_reg->DMA.RX.MATCH.CONFIG &= ~(SPIS_DMA_RX_MATCH_CONFIG_ONESHOT2_Msk); in nrf_spis_rx_pattern_match_one_shot_disable()
1178 p_reg->DMA.RX.MATCH.CONFIG &= ~(SPIS_DMA_RX_MATCH_CONFIG_ONESHOT3_Msk); in nrf_spis_rx_pattern_match_one_shot_disable()
1186 NRF_STATIC_INLINE bool nrf_spis_rx_pattern_match_one_shot_check(NRF_SPIS_Type const * p_reg, in nrf_spis_rx_pattern_match_one_shot_check() argument
1193 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ONESHOT0_Msk) in nrf_spis_rx_pattern_match_one_shot_check()
1197 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ONESHOT1_Msk) in nrf_spis_rx_pattern_match_one_shot_check()
1201 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ONESHOT2_Msk) in nrf_spis_rx_pattern_match_one_shot_check()
1205 return ((p_reg->DMA.RX.MATCH.CONFIG & SPIS_DMA_RX_MATCH_CONFIG_ONESHOT3_Msk) in nrf_spis_rx_pattern_match_one_shot_check()
1214 NRF_STATIC_INLINE void nrf_spis_rx_pattern_match_candidate_set(NRF_SPIS_Type * p_reg, in nrf_spis_rx_pattern_match_candidate_set() argument
1219 p_reg->DMA.RX.MATCH.CANDIDATE[index] = pattern; in nrf_spis_rx_pattern_match_candidate_set()
1222 NRF_STATIC_INLINE uint32_t nrf_spis_rx_pattern_match_candidate_get(NRF_SPIS_Type const * p_reg, in nrf_spis_rx_pattern_match_candidate_get() argument
1226 return p_reg->DMA.RX.MATCH.CANDIDATE[index]; in nrf_spis_rx_pattern_match_candidate_get()
1231 NRF_STATIC_INLINE void nrf_spis_rx_terminate_on_bus_error_enable(NRF_SPIS_Type * p_reg) in nrf_spis_rx_terminate_on_bus_error_enable() argument
1233 p_reg->DMA.RX.TERMINATEONBUSERROR |= SPIS_DMA_RX_TERMINATEONBUSERROR_ENABLE_Msk; in nrf_spis_rx_terminate_on_bus_error_enable()
1236 NRF_STATIC_INLINE void nrf_spis_rx_terminate_on_bus_error_disable(NRF_SPIS_Type * p_reg) in nrf_spis_rx_terminate_on_bus_error_disable() argument
1238 p_reg->DMA.RX.TERMINATEONBUSERROR &= ~(SPIS_DMA_RX_TERMINATEONBUSERROR_ENABLE_Msk); in nrf_spis_rx_terminate_on_bus_error_disable()
1241 NRF_STATIC_INLINE bool nrf_spis_rx_terminate_on_bus_error_check(NRF_SPIS_Type const * p_reg) in nrf_spis_rx_terminate_on_bus_error_check() argument
1243 return ((p_reg->DMA.RX.TERMINATEONBUSERROR & SPIS_DMA_RX_TERMINATEONBUSERROR_ENABLE_Msk) in nrf_spis_rx_terminate_on_bus_error_check()
1248 NRF_STATIC_INLINE void nrf_spis_tx_terminate_on_bus_error_enable(NRF_SPIS_Type * p_reg) in nrf_spis_tx_terminate_on_bus_error_enable() argument
1250 p_reg->DMA.TX.TERMINATEONBUSERROR |= SPIS_DMA_TX_TERMINATEONBUSERROR_ENABLE_Msk; in nrf_spis_tx_terminate_on_bus_error_enable()
1253 NRF_STATIC_INLINE void nrf_spis_tx_terminate_on_bus_error_disable(NRF_SPIS_Type * p_reg) in nrf_spis_tx_terminate_on_bus_error_disable() argument
1255 p_reg->DMA.TX.TERMINATEONBUSERROR &= ~(SPIS_DMA_TX_TERMINATEONBUSERROR_ENABLE_Msk); in nrf_spis_tx_terminate_on_bus_error_disable()
1258 NRF_STATIC_INLINE bool nrf_spis_tx_terminate_on_bus_error_check(NRF_SPIS_Type const * p_reg) in nrf_spis_tx_terminate_on_bus_error_check() argument
1260 return ((p_reg->DMA.TX.TERMINATEONBUSERROR & SPIS_DMA_TX_TERMINATEONBUSERROR_ENABLE_Msk) in nrf_spis_tx_terminate_on_bus_error_check()