| /hal_nordic-latest/nrfx/hal/ |
| D | nrf_stm.h | 192 NRF_STATIC_INLINE bool nrf_stm_feature_check(NRF_STM_Type const * p_reg, 204 NRF_STATIC_INLINE void nrf_stm_feature_set(NRF_STM_Type * p_reg, 217 NRF_STATIC_INLINE bool nrf_stm_input_check(NRF_STM_Type const * p_reg, nrf_stm_input_t input); 226 NRF_STATIC_INLINE void nrf_stm_output_set(NRF_STM_Type * p_reg, nrf_stm_output_t output, bool enabl… 234 NRF_STATIC_INLINE void nrf_stm_dmactlr_sens_set(NRF_STM_Type * p_reg, nrf_stm_dma_sens_t sens); 243 NRF_STATIC_INLINE nrf_stm_dma_sens_t nrf_stm_dmactlr_sens_get(NRF_STM_Type const * p_reg); 252 NRF_STATIC_INLINE uint16_t nrf_stm_hemastr_get(NRF_STM_Type const * p_reg); 261 NRF_STATIC_INLINE uint16_t nrf_stm_hefeat1r_numhe_get(NRF_STM_Type const * p_reg); 270 NRF_STATIC_INLINE nrf_stm_heidr_class_t nrf_stm_heidr_class_get(NRF_STM_Type const * p_reg); 279 NRF_STATIC_INLINE uint8_t nrf_stm_heidr_classrev_get(NRF_STM_Type const * p_reg); [all …]
|
| D | nrf_spim.h | 56 #define _NRF_SPIM_PRESCALER_MAX_GET(periph_name, prefix, idx, p_reg) \ argument 57 (p_reg == NRFX_CONCAT(NRF_, periph_name, prefix, idx)) ? \ 64 #define _NRF_SPIM_PRESCALER_MIN_GET(periph_name, prefix, idx, p_reg) \ argument 65 (p_reg == NRFX_CONCAT(NRF_, periph_name, prefix, idx)) ? \ 259 #define NRF_SPIM_IS_320MHZ_SPIM(p_reg) \ argument 260 (NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(SPIM120), (p_reg == NRF_SPIM120), (false)) || \ 261 NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(SPIM121), (p_reg == NRF_SPIM121), (false))) 266 #define NRF_SPIM_IS_192MHZ_SPIM(p_reg) false argument 271 #define NRF_SPIM_IS_128MHZ_SPIM(p_reg) \ argument 273 (NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(SPIM00), (p_reg == NRF_SPIM00), (false))), \ [all …]
|
| D | nrf_spis.h | 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); [all …]
|
| D | nrf_qdec.h | 189 NRF_STATIC_INLINE void nrf_qdec_enable(NRF_QDEC_Type * p_reg); 196 NRF_STATIC_INLINE void nrf_qdec_disable(NRF_QDEC_Type * p_reg); 205 NRF_STATIC_INLINE uint32_t nrf_qdec_enable_get(NRF_QDEC_Type const * p_reg); 214 NRF_STATIC_INLINE void nrf_qdec_int_enable(NRF_QDEC_Type * p_reg, uint32_t mask); 223 NRF_STATIC_INLINE void nrf_qdec_int_disable(NRF_QDEC_Type * p_reg, uint32_t mask); 234 NRF_STATIC_INLINE uint32_t nrf_qdec_int_enable_check(NRF_QDEC_Type const * p_reg, uint32_t mask); 241 NRF_STATIC_INLINE void nrf_qdec_dbfen_enable(NRF_QDEC_Type * p_reg); 248 NRF_STATIC_INLINE void nrf_qdec_dbfen_disable(NRF_QDEC_Type * p_reg); 258 NRF_STATIC_INLINE uint32_t nrf_qdec_dbfen_get(NRF_QDEC_Type const * p_reg); 268 NRF_STATIC_INLINE void nrf_qdec_pins_set(NRF_QDEC_Type * p_reg, [all …]
|
| D | nrf_twis.h | 183 NRF_STATIC_INLINE void nrf_twis_task_trigger(NRF_TWIS_Type * p_reg, nrf_twis_task_t task); 193 NRF_STATIC_INLINE uint32_t nrf_twis_task_address_get(NRF_TWIS_Type const * p_reg, 202 NRF_STATIC_INLINE void nrf_twis_event_clear(NRF_TWIS_Type * p_reg, nrf_twis_event_t event); 213 NRF_STATIC_INLINE bool nrf_twis_event_check(NRF_TWIS_Type const * p_reg, nrf_twis_event_t event); 226 NRF_STATIC_INLINE bool nrf_twis_event_get_and_clear(NRF_TWIS_Type * p_reg, nrf_twis_event_t event); 236 NRF_STATIC_INLINE uint32_t nrf_twis_event_address_get(NRF_TWIS_Type const * p_reg, 245 NRF_STATIC_INLINE void nrf_twis_shorts_enable(NRF_TWIS_Type * p_reg, uint32_t mask); 253 NRF_STATIC_INLINE void nrf_twis_shorts_disable(NRF_TWIS_Type * p_reg, uint32_t mask); 264 NRF_STATIC_INLINE uint32_t nrf_twis_shorts_get(NRF_TWIS_Type const * p_reg); 273 NRF_STATIC_INLINE void nrf_twis_int_enable(NRF_TWIS_Type * p_reg, uint32_t mask); [all …]
|
| D | nrf_nfct.h | 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); [all …]
|
| D | nrf_grtc.h | 429 NRF_STATIC_INLINE void nrf_grtc_sys_counter_cc_set(NRF_GRTC_Type * p_reg, 441 NRF_STATIC_INLINE uint64_t nrf_grtc_sys_counter_cc_get(NRF_GRTC_Type const * p_reg, 463 NRF_STATIC_INLINE void nrf_grtc_sys_counter_cc_add_set(NRF_GRTC_Type * p_reg, 484 NRF_STATIC_INLINE void nrf_grtc_rt_counter_cc_set(NRF_GRTC_Type * p_reg, 495 NRF_STATIC_INLINE uint64_t nrf_grtc_rt_counter_cc_get(NRF_GRTC_Type const * p_reg); 505 NRF_STATIC_INLINE void nrf_grtc_int_enable(NRF_GRTC_Type * p_reg, uint32_t mask); 514 NRF_STATIC_INLINE void nrf_grtc_int_disable(NRF_GRTC_Type * p_reg, uint32_t mask); 525 NRF_STATIC_INLINE uint32_t nrf_grtc_int_enable_check(NRF_GRTC_Type const * p_reg, uint32_t mask); 538 NRF_STATIC_INLINE uint32_t nrf_grtc_int_pending_get(NRF_GRTC_Type const * p_reg); 552 NRF_STATIC_INLINE void nrf_grtc_int_group_enable(NRF_GRTC_Type * p_reg, [all …]
|
| D | nrf_usbd.h | 156 NRF_STATIC_INLINE void nrf_usbd_task_trigger(NRF_USBD_Type * p_reg, nrf_usbd_task_t task); 166 NRF_STATIC_INLINE uint32_t nrf_usbd_task_address_get(NRF_USBD_Type const * p_reg, 175 NRF_STATIC_INLINE void nrf_usbd_event_clear(NRF_USBD_Type * p_reg, nrf_usbd_event_t event); 186 NRF_STATIC_INLINE bool nrf_usbd_event_check(NRF_USBD_Type const * p_reg, nrf_usbd_event_t event); 199 NRF_STATIC_INLINE bool nrf_usbd_event_get_and_clear(NRF_USBD_Type * p_reg, nrf_usbd_event_t event); 209 NRF_STATIC_INLINE uint32_t nrf_usbd_event_address_get(NRF_USBD_Type const * p_reg, 218 NRF_STATIC_INLINE void nrf_usbd_shorts_enable(NRF_USBD_Type * p_reg, uint32_t mask); 226 NRF_STATIC_INLINE void nrf_usbd_shorts_disable(NRF_USBD_Type * p_reg, uint32_t mask); 237 NRF_STATIC_INLINE uint32_t nrf_usbd_shorts_get(NRF_USBD_Type const * p_reg); 246 NRF_STATIC_INLINE void nrf_usbd_int_enable(NRF_USBD_Type * p_reg, uint32_t mask); [all …]
|
| D | nrf_uarte.h | 113 #define NRF_UARTE_IS_320MHZ_UARTE(p_reg) \ argument 114 NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(UARTE120), (p_reg == NRF_UARTE120), (false)) 119 #define NRF_UARTE_IS_128MHZ_UARTE(p_reg) \ argument 121 (NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(UARTE00), (p_reg == NRF_UARTE00), (false))), \ 127 #define NRF_UARTE_IS_64MHZ_UARTE(p_reg) \ argument 129 (NRFX_COND_CODE_1(NRFX_INSTANCE_PRESENT(UARTE00), (p_reg == NRF_UARTE00), (false))), \ 138 #define NRF_UARTE_BASE_FREQUENCY_GET(p_reg) \ argument 139 ((NRF_UARTE_IS_320MHZ_UARTE(p_reg)) ? (NRF_UARTE_BASE_FREQUENCY_320MHZ): \ 140 ((NRF_UARTE_IS_128MHZ_UARTE(p_reg)) ? (NRF_UARTE_BASE_FREQUENCY_128MHZ): \ 141 ((NRF_UARTE_IS_64MHZ_UARTE(p_reg)) ? (NRF_UARTE_BASE_FREQUENCY_64MHZ) : \ [all …]
|
| D | nrf_twim.h | 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); [all …]
|
| D | nrf_uart.h | 182 NRF_STATIC_INLINE void nrf_uart_event_clear(NRF_UART_Type * p_reg, nrf_uart_event_t event); 193 NRF_STATIC_INLINE bool nrf_uart_event_check(NRF_UART_Type const * p_reg, nrf_uart_event_t event); 203 NRF_STATIC_INLINE uint32_t nrf_uart_event_address_get(NRF_UART_Type const * p_reg, 213 NRF_STATIC_INLINE void nrf_uart_int_enable(NRF_UART_Type * p_reg, uint32_t mask); 224 NRF_STATIC_INLINE uint32_t nrf_uart_int_enable_check(NRF_UART_Type const * p_reg, uint32_t mask); 233 NRF_STATIC_INLINE void nrf_uart_int_disable(NRF_UART_Type * p_reg, uint32_t mask); 242 NRF_STATIC_INLINE uint32_t nrf_uart_errorsrc_get_and_clear(NRF_UART_Type * p_reg); 249 NRF_STATIC_INLINE void nrf_uart_enable(NRF_UART_Type * p_reg); 256 NRF_STATIC_INLINE void nrf_uart_disable(NRF_UART_Type * p_reg); 265 NRF_STATIC_INLINE void nrf_uart_txrx_pins_set(NRF_UART_Type * p_reg, [all …]
|
| /hal_nordic-latest/nrfx/haly/ |
| D | nrfy_nfct.h | 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() [all …]
|
| D | nrfy_grtc.h | 45 NRFY_STATIC_INLINE void __nrfy_internal_grtc_event_enabled_clear(NRF_GRTC_Type * p_reg, 49 NRFY_STATIC_INLINE bool __nrfy_internal_grtc_event_handle(NRF_GRTC_Type * p_reg, 54 NRFY_STATIC_INLINE uint32_t __nrfy_internal_grtc_events_process(NRF_GRTC_Type * p_reg, 58 NRFY_STATIC_INLINE uint64_t __nrfy_internal_grtc_rt_counter_read(NRF_GRTC_Type const * p_reg); 61 NRFY_STATIC_INLINE bool __nrfy_internal_grtc_sys_counter_ready_check(NRF_GRTC_Type const * p_reg); 146 NRFY_STATIC_INLINE void nrfy_grtc_int_init(NRF_GRTC_Type * p_reg, in nrfy_grtc_int_init() argument 154 __nrfy_internal_grtc_event_enabled_clear(p_reg, mask, event); in nrfy_grtc_int_init() 157 __nrfy_internal_grtc_event_enabled_clear(p_reg, mask, NRF_GRTC_EVENT_RTCOMPARE); in nrfy_grtc_int_init() 158 __nrfy_internal_grtc_event_enabled_clear(p_reg, mask, NRF_GRTC_EVENT_RTCOMPARESYNC); in nrfy_grtc_int_init() 166 nrf_grtc_int_enable(p_reg, mask); in nrfy_grtc_int_init() [all …]
|
| D | nrfy_uarte.h | 53 NRFY_STATIC_INLINE void __nrfy_internal_uarte_event_enabled_clear(NRF_UARTE_Type * p_reg, 57 NRFY_STATIC_INLINE bool __nrfy_internal_uarte_event_handle(NRF_UARTE_Type * p_reg, 63 uint32_t __nrfy_internal_uarte_events_process(NRF_UARTE_Type * p_reg, 113 NRFY_STATIC_INLINE void nrfy_uarte_periph_configure(NRF_UARTE_Type * p_reg, in nrfy_uarte_periph_configure() argument 116 nrf_uarte_baudrate_set(p_reg, p_config->baudrate); in nrfy_uarte_periph_configure() 117 nrf_uarte_configure(p_reg, &p_config->config); in nrfy_uarte_periph_configure() 120 nrf_uarte_txrx_pins_set(p_reg, p_config->pins.txd_pin, p_config->pins.rxd_pin); in nrfy_uarte_periph_configure() 125 nrf_uarte_hwfc_pins_set(p_reg, p_config->pins.rts_pin, p_config->pins.cts_pin); in nrfy_uarte_periph_configure() 138 NRFY_STATIC_INLINE void nrfy_uarte_int_init(NRF_UARTE_Type * p_reg, 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() [all …]
|
| D | nrfy_qdec.h | 44 NRFY_STATIC_INLINE void __nrfy_internal_qdec_event_enabled_clear(NRF_QDEC_Type * p_reg, 48 NRFY_STATIC_INLINE bool __nrfy_internal_qdec_event_handle(NRF_QDEC_Type * p_reg, 53 NRFY_STATIC_INLINE uint32_t __nrfy_internal_qdec_events_process(NRF_QDEC_Type * p_reg, 97 NRFY_STATIC_INLINE void nrfy_qdec_periph_configure(NRF_QDEC_Type * p_reg, in nrfy_qdec_periph_configure() argument 100 nrf_qdec_sampleper_set(p_reg, p_config->sampleper); in nrfy_qdec_periph_configure() 101 nrf_qdec_reportper_set(p_reg, p_config->reportper); in nrfy_qdec_periph_configure() 105 nrf_qdec_ledpre_set(p_reg, p_config->ledpre); in nrfy_qdec_periph_configure() 106 nrf_qdec_ledpol_set(p_reg, p_config->ledpol); in nrfy_qdec_periph_configure() 110 nrf_qdec_ledpre_set(p_reg, NRF_QDEC_LEDPRE_DEFAULT); in nrfy_qdec_periph_configure() 115 nrf_qdec_pins_set(p_reg, in nrfy_qdec_periph_configure() [all …]
|
| D | nrfy_spim.h | 46 NRFY_STATIC_INLINE bool __nrfy_internal_spim_event_handle(NRF_SPIM_Type * p_reg, 52 uint32_t __nrfy_internal_spim_events_process(NRF_SPIM_Type * p_reg, 56 NRFY_STATIC_INLINE void __nrfy_internal_spim_event_enabled_clear(NRF_SPIM_Type * p_reg, 209 NRFY_STATIC_INLINE void nrfy_spim_periph_configure(NRF_SPIM_Type * p_reg, in nrfy_spim_periph_configure() argument 214 nrf_spim_pins_set(p_reg, in nrfy_spim_periph_configure() 217 nrf_spim_dcx_pin_set(p_reg, p_config->ext_config.pins.dcx_pin); in nrfy_spim_periph_configure() 220 nrf_spim_csn_configure(p_reg, in nrfy_spim_periph_configure() 226 nrf_spim_orc_set(p_reg, p_config->orc); in nrfy_spim_periph_configure() 228 nrf_spim_frequency_set(p_reg, p_config->frequency); in nrfy_spim_periph_configure() 230 nrf_spim_prescaler_set(p_reg, p_config->prescaler); in nrfy_spim_periph_configure() [all …]
|
| D | nrfy_twim.h | 47 NRFY_STATIC_INLINE void __nrfy_internal_twim_event_enabled_clear(NRF_TWIM_Type * p_reg, 51 NRFY_STATIC_INLINE bool __nrfy_internal_twim_event_handle(NRF_TWIM_Type * p_reg, 57 uint32_t __nrfy_internal_twim_events_process(NRF_TWIM_Type * p_reg, 111 NRFY_STATIC_INLINE void nrfy_twim_periph_configure(NRF_TWIM_Type * p_reg, in nrfy_twim_periph_configure() argument 116 nrf_twim_pins_set(p_reg, p_config->pins.scl_pin, p_config->pins.sda_pin); in nrfy_twim_periph_configure() 118 nrf_twim_frequency_set(p_reg, p_config->frequency); in nrfy_twim_periph_configure() 130 NRFY_STATIC_INLINE void nrfy_twim_int_init(NRF_TWIM_Type * p_reg, in nrfy_twim_int_init() argument 135 __nrfy_internal_twim_event_enabled_clear(p_reg, mask, NRF_TWIM_EVENT_TXSTARTED); in nrfy_twim_int_init() 136 __nrfy_internal_twim_event_enabled_clear(p_reg, mask, NRF_TWIM_EVENT_RXSTARTED); in nrfy_twim_int_init() 137 __nrfy_internal_twim_event_enabled_clear(p_reg, mask, NRF_TWIM_EVENT_LASTTX); in nrfy_twim_int_init() [all …]
|
| D | nrfy_saadc.h | 46 NRFY_STATIC_INLINE bool __nrfy_internal_saadc_event_handle(NRF_SAADC_Type * p_reg, 52 uint32_t __nrfy_internal_saadc_events_process(NRF_SAADC_Type * p_reg, 56 NRFY_STATIC_INLINE void __nrfy_internal_saadc_event_enabled_clear(NRF_SAADC_Type * p_reg, 60 NRFY_STATIC_INLINE void __nrfy_internal_saadc_buffer_latch(NRF_SAADC_Type * p_reg, bool wait); 62 NRFY_STATIC_INLINE void __nrfy_internal_saadc_stop(NRF_SAADC_Type * p_reg, bool wait); 98 NRFY_STATIC_INLINE void nrfy_saadc_periph_configure(NRF_SAADC_Type * p_reg, in nrfy_saadc_periph_configure() argument 101 nrf_saadc_resolution_set(p_reg, p_config->resolution); in nrfy_saadc_periph_configure() 102 nrf_saadc_oversample_set(p_reg, p_config->oversampling); in nrfy_saadc_periph_configure() 114 NRFY_STATIC_INLINE void nrfy_saadc_int_init(NRF_SAADC_Type * p_reg, in nrfy_saadc_int_init() argument 119 __nrfy_internal_saadc_event_enabled_clear(p_reg, mask, NRF_SAADC_EVENT_STARTED); in nrfy_saadc_int_init() [all …]
|
| D | nrfy_pwm.h | 44 NRFY_STATIC_INLINE bool __nrfy_internal_pwm_event_handle(NRF_PWM_Type * p_reg, 49 NRFY_STATIC_INLINE uint32_t __nrfy_internal_pwm_events_process(NRF_PWM_Type * p_reg, uint32_t mask); 51 NRFY_STATIC_INLINE void __nrfy_internal_pwm_event_enabled_clear(NRF_PWM_Type * p_reg, 90 NRFY_STATIC_INLINE void nrfy_pwm_periph_configure(NRF_PWM_Type * p_reg, in nrfy_pwm_periph_configure() argument 95 nrf_pwm_pins_set(p_reg, p_config->output_pins); in nrfy_pwm_periph_configure() 97 nrf_pwm_configure(p_reg, p_config->base_clock, p_config->count_mode, p_config->top_value); in nrfy_pwm_periph_configure() 98 nrf_pwm_decoder_set(p_reg, p_config->load_mode, p_config->step_mode); in nrfy_pwm_periph_configure() 110 NRFY_STATIC_INLINE void nrfy_pwm_int_init(NRF_PWM_Type * p_reg, in nrfy_pwm_int_init() argument 115 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_LOOPSDONE); in nrfy_pwm_int_init() 116 __nrfy_internal_pwm_event_enabled_clear(p_reg, mask, NRF_PWM_EVENT_SEQEND0); in nrfy_pwm_int_init() [all …]
|
| D | nrfy_rramc.h | 44 NRFY_STATIC_INLINE void __nrfy_internal_rramc_event_enabled_clear(NRF_RRAMC_Type * p_reg, 48 NRFY_STATIC_INLINE uint32_t __nrfy_internal_rramc_event_handle(NRF_RRAMC_Type * p_reg, 52 NRFY_STATIC_INLINE uint32_t __nrfy_internal_rramc_events_process(NRF_RRAMC_Type * p_reg, 55 NRFY_STATIC_INLINE void __nrfy_internal_rramc_config_get(NRF_RRAMC_Type const * p_reg, 58 NRFY_STATIC_INLINE void __nrfy_internal_rramc_config_set(NRF_RRAMC_Type * p_reg, 61 NRFY_STATIC_INLINE void __nrfy_internal_rramc_byte_write(NRF_RRAMC_Type * p_reg, 65 NRFY_STATIC_INLINE void __nrfy_internal_rramc_word_write(NRF_RRAMC_Type * p_reg, 112 NRFY_STATIC_INLINE void nrfy_rramc_configure(NRF_RRAMC_Type * p_reg, in nrfy_rramc_configure() argument 115 nrf_rramc_config_set(p_reg, &p_config->config); in nrfy_rramc_configure() 116 nrf_rramc_ready_next_timeout_set(p_reg, &p_config->preload_timeout); in nrfy_rramc_configure() [all …]
|
| D | nrfy_comp.h | 44 NRFY_STATIC_INLINE void __nrfy_internal_comp_event_enabled_clear(NRF_COMP_Type * p_reg, 48 NRFY_STATIC_INLINE bool __nrfy_internal_comp_event_handle(NRF_COMP_Type * p_reg, 53 NRFY_STATIC_INLINE uint32_t __nrfy_internal_comp_events_process(NRF_COMP_Type * p_reg, 91 NRFY_STATIC_INLINE void nrfy_comp_periph_configure(NRF_COMP_Type * p_reg, in nrfy_comp_periph_configure() argument 94 nrf_comp_ref_set(p_reg, p_config->reference); in nrfy_comp_periph_configure() 97 nrf_comp_ext_ref_set(p_reg, p_config->ext_ref); in nrfy_comp_periph_configure() 99 nrf_comp_th_set(p_reg, p_config->threshold); in nrfy_comp_periph_configure() 100 nrf_comp_main_mode_set(p_reg, p_config->main_mode); in nrfy_comp_periph_configure() 101 nrf_comp_speed_mode_set(p_reg, p_config->speed_mode); in nrfy_comp_periph_configure() 102 nrf_comp_hysteresis_set(p_reg, p_config->hyst); in nrfy_comp_periph_configure() [all …]
|
| D | nrfy_mvdma.h | 47 NRFY_STATIC_INLINE bool __nrfy_internal_mvdma_event_handle(NRF_MVDMA_Type * p_reg, 53 uint32_t __nrfy_internal_mvdma_events_process(NRF_MVDMA_Type * p_reg, 57 NRFY_STATIC_INLINE void __nrfy_internal_mvdma_event_enabled_clear(NRF_MVDMA_Type * p_reg, 63 NRFY_STATIC_INLINE uint32_t __nrfy_internal_mvdma_sink_job_count_get(NRF_MVDMA_Type const * p_reg); 119 NRFY_STATIC_INLINE void nrfy_mvdma_int_init(NRF_MVDMA_Type * p_reg, in nrfy_mvdma_int_init() argument 124 __nrfy_internal_mvdma_event_enabled_clear(p_reg, mask, NRF_MVDMA_EVENT_END); in nrfy_mvdma_int_init() 125 __nrfy_internal_mvdma_event_enabled_clear(p_reg, mask, NRF_MVDMA_EVENT_RESET); in nrfy_mvdma_int_init() 126 __nrfy_internal_mvdma_event_enabled_clear(p_reg, mask, NRF_MVDMA_EVENT_STARTED); in nrfy_mvdma_int_init() 128 __nrfy_internal_mvdma_event_enabled_clear(p_reg, mask, NRF_MVDMA_EVENT_PAUSED); in nrfy_mvdma_int_init() 130 __nrfy_internal_mvdma_event_enabled_clear(p_reg, mask, NRF_MVDMA_EVENT_STOPPED); in nrfy_mvdma_int_init() [all …]
|
| D | nrfy_pdm.h | 46 NRFY_STATIC_INLINE bool __nrfy_internal_pdm_event_handle(NRF_PDM_Type * p_reg, 51 NRFY_STATIC_INLINE uint32_t __nrfy_internal_pdm_events_process(NRF_PDM_Type * p_reg, 55 NRFY_STATIC_INLINE void __nrfy_internal_pdm_event_enabled_clear(NRF_PDM_Type * p_reg, 116 NRFY_STATIC_INLINE void nrfy_pdm_periph_configure(NRF_PDM_Type * p_reg, in nrfy_pdm_periph_configure() argument 120 nrf_pdm_ratio_set(p_reg, p_config->ratio); in nrfy_pdm_periph_configure() 124 nrf_pdm_mclksrc_configure(p_reg, p_config->mclksrc); in nrfy_pdm_periph_configure() 127 nrf_pdm_clock_set(p_reg, p_config->clock_freq); in nrfy_pdm_periph_configure() 129 nrf_pdm_prescaler_set(p_reg, p_config->prescaler); in nrfy_pdm_periph_configure() 131 nrf_pdm_mode_set(p_reg, p_config->mode, p_config->edge); in nrfy_pdm_periph_configure() 132 nrf_pdm_gain_set(p_reg, p_config->gain_l, p_config->gain_r); in nrfy_pdm_periph_configure() [all …]
|
| D | nrfy_i2s.h | 46 NRFY_STATIC_INLINE bool __nrfy_internal_i2s_event_handle(NRF_I2S_Type * p_reg, 51 NRFY_STATIC_INLINE uint32_t __nrfy_internal_i2s_events_process(NRF_I2S_Type * p_reg, 55 NRFY_STATIC_INLINE void __nrfy_internal_i2s_event_enabled_clear(NRF_I2S_Type * p_reg, 110 NRFY_STATIC_INLINE void nrfy_i2s_periph_configure(NRF_I2S_Type * p_reg, in nrfy_i2s_periph_configure() argument 113 nrf_i2s_configure(p_reg, &p_config->config); in nrfy_i2s_periph_configure() 116 nrf_i2s_clk_configure(p_reg, p_config->clksrc, p_config->enable_bypass); in nrfy_i2s_periph_configure() 120 nrf_i2s_pins_set(p_reg, &p_config->pins); in nrfy_i2s_periph_configure() 133 NRFY_STATIC_INLINE void nrfy_i2s_int_init(NRF_I2S_Type * p_reg, in nrfy_i2s_int_init() argument 138 __nrfy_internal_i2s_event_enabled_clear(p_reg, mask, NRF_I2S_EVENT_RXPTRUPD); in nrfy_i2s_int_init() 139 __nrfy_internal_i2s_event_enabled_clear(p_reg, mask, NRF_I2S_EVENT_TXPTRUPD); in nrfy_i2s_int_init() [all …]
|
| D | nrfy_lpcomp.h | 44 NRFY_STATIC_INLINE void __nrfy_internal_lpcomp_event_enabled_clear(NRF_LPCOMP_Type * p_reg, 48 NRFY_STATIC_INLINE bool __nrfy_internal_lpcomp_event_handle(NRF_LPCOMP_Type * p_reg, 53 NRFY_STATIC_INLINE uint32_t __nrfy_internal_lpcomp_events_process(NRF_LPCOMP_Type * p_reg, 82 NRFY_STATIC_INLINE void nrfy_lpcomp_periph_configure(NRF_LPCOMP_Type * p_reg, in nrfy_lpcomp_periph_configure() argument 85 nrf_lpcomp_ref_set(p_reg, p_config->reference); in nrfy_lpcomp_periph_configure() 88 nrf_lpcomp_ext_ref_set(p_reg, p_config->ext_ref); in nrfy_lpcomp_periph_configure() 90 nrf_lpcomp_detection_set(p_reg, p_config->detection); in nrfy_lpcomp_periph_configure() 92 nrf_lpcomp_hysteresis_set(p_reg, p_config->hyst); in nrfy_lpcomp_periph_configure() 95 nrf_lpcomp_input_select(p_reg, p_config->input); in nrfy_lpcomp_periph_configure() 107 NRFY_STATIC_INLINE void nrfy_lpcomp_int_init(NRF_LPCOMP_Type * p_reg, in nrfy_lpcomp_int_init() argument [all …]
|