Home
last modified time | relevance | path

Searched refs:gpiote (Results 1 – 25 of 140) sorted by relevance

123456

/Zephyr-Core-3.7.0/drivers/spi/
Dspi_nrfx_common.c10 int spi_nrfx_wake_init(const nrfx_gpiote_t *gpiote, uint32_t wake_pin) in spi_nrfx_wake_init() argument
25 res = nrfx_gpiote_channel_alloc(gpiote, &ch); in spi_nrfx_wake_init()
30 res = nrfx_gpiote_input_configure(gpiote, wake_pin, &input_config); in spi_nrfx_wake_init()
32 nrfx_gpiote_channel_free(gpiote, ch); in spi_nrfx_wake_init()
39 int spi_nrfx_wake_request(const nrfx_gpiote_t *gpiote, uint32_t wake_pin) in spi_nrfx_wake_request() argument
41 nrf_gpiote_event_t trigger_event = nrfx_gpiote_in_event_get(gpiote, wake_pin); in spi_nrfx_wake_request()
53 nrfx_gpiote_trigger_enable(gpiote, wake_pin, false); in spi_nrfx_wake_request()
61 while (!nrf_gpiote_event_check(gpiote->p_reg, trigger_event)) { in spi_nrfx_wake_request()
70 nrfx_gpiote_trigger_disable(gpiote, wake_pin); in spi_nrfx_wake_request()
Dspi_nrfx_common.h21 int spi_nrfx_wake_init(const nrfx_gpiote_t *gpiote, uint32_t wake_pin);
22 int spi_nrfx_wake_request(const nrfx_gpiote_t *gpiote, uint32_t wake_pin);
/Zephyr-Core-3.7.0/samples/boards/nrf/nrfx/src/
Dmain.c20 #define GPIOTE_NODE DT_NODELABEL(_CONCAT(gpiote, GPIOTE_INST))
42 const nrfx_gpiote_t gpiote = NRFX_GPIOTE_INSTANCE(GPIOTE_INST); in main() local
51 err = nrfx_gpiote_init(&gpiote, 0); in main()
57 err = nrfx_gpiote_channel_alloc(&gpiote, &in_channel); in main()
63 err = nrfx_gpiote_channel_alloc(&gpiote, &out_channel); in main()
86 err = nrfx_gpiote_input_configure(&gpiote, INPUT_PIN, &input_config); in main()
106 err = nrfx_gpiote_output_configure(&gpiote, OUTPUT_PIN, in main()
114 nrfx_gpiote_trigger_enable(&gpiote, INPUT_PIN, true); in main()
115 nrfx_gpiote_out_task_enable(&gpiote, OUTPUT_PIN); in main()
131 nrfx_gpiote_in_event_address_get(&gpiote, INPUT_PIN), in main()
[all …]
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_nrfx.c29 nrfx_gpiote_t gpiote; member
44 return cfg->gpiote.p_reg != NULL; in has_gpiote()
120 err = nrfx_gpiote_channel_get(&cfg->gpiote, abs_pin, &ch); in gpio_nrfx_pin_configure()
126 (void)nrfx_gpiote_pin_uninit(&cfg->gpiote, abs_pin); in gpio_nrfx_pin_configure()
137 err = nrfx_gpiote_input_configure(&cfg->gpiote, in gpio_nrfx_pin_configure()
153 err = nrfx_gpiote_output_configure(&cfg->gpiote, in gpio_nrfx_pin_configure()
160 err = nrfx_gpiote_input_configure(&cfg->gpiote, in gpio_nrfx_pin_configure()
170 err = nrfx_gpiote_channel_free(&cfg->gpiote, ch); in gpio_nrfx_pin_configure()
265 nrfx_gpiote_trigger_disable(&cfg->gpiote, abs_pin); in gpio_nrfx_pin_interrupt_configure()
283 err = nrfx_gpiote_channel_get(&cfg->gpiote, abs_pin, &ch); in gpio_nrfx_pin_interrupt_configure()
[all …]
/Zephyr-Core-3.7.0/dts/arm/nordic/
Dnrf91.dtsi64 * so we give it the 'gpiote' label for use when building
67 gpiote: gpiote0: gpiote@5000d000 { label
68 compatible = "nordic,nrf-gpiote";
76 gpiote1: gpiote@40031000 {
77 compatible = "nordic,nrf-gpiote";
Dnrf5340_cpuapp.dtsi80 * so we give it the 'gpiote' label for use when building
83 gpiote: gpiote0: gpiote@5000d000 { label
84 compatible = "nordic,nrf-gpiote";
92 gpiote1: gpiote@4002f000 {
93 compatible = "nordic,nrf-gpiote";
Dnrf91ns.dtsi50 * so we give it the 'gpiote' label for use when building
53 gpiote: gpiote1: gpiote@40031000 { label
54 compatible = "nordic,nrf-gpiote";
Dnrf5340_cpuappns.dtsi54 * so we give it the 'gpiote' label for use when building
57 gpiote: gpiote1: gpiote@4002f000 { label
58 compatible = "nordic,nrf-gpiote";
Dnrf5340_cpunet.dtsi121 gpiote: gpiote0: gpiote@4100a000 { label
122 compatible = "nordic,nrf-gpiote";
332 gpiote-instance = <&gpiote>;
343 gpiote-instance = <&gpiote>;
Dnrf51822.dtsi141 gpiote: gpiote0: gpiote@40006000 { label
142 compatible = "nordic,nrf-gpiote";
327 gpiote-instance = <&gpiote>;
Dnrf52805.dtsi145 gpiote: gpiote0: gpiote@40006000 { label
146 compatible = "nordic,nrf-gpiote";
325 gpiote-instance = <&gpiote>;
Dnrf52810.dtsi149 gpiote: gpiote0: gpiote@40006000 { label
150 compatible = "nordic,nrf-gpiote";
351 gpiote-instance = <&gpiote>;
Dnrf52811.dtsi180 gpiote: gpiote0: gpiote@40006000 { label
181 compatible = "nordic,nrf-gpiote";
386 gpiote-instance = <&gpiote>;
Dnrf52833.dtsi199 gpiote: gpiote0: gpiote@40006000 { label
200 compatible = "nordic,nrf-gpiote";
535 gpiote-instance = <&gpiote>;
547 gpiote-instance = <&gpiote>;
Dnrf52840.dtsi194 gpiote: gpiote0: gpiote@40006000 { label
195 compatible = "nordic,nrf-gpiote";
539 gpiote-instance = <&gpiote>;
551 gpiote-instance = <&gpiote>;
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_dppi_gpiote.h28 static inline void hal_gpiote_tasks_setup(NRF_GPIOTE_Type *gpiote, in hal_gpiote_tasks_setup() argument
38 nrf_gpiote_subscribe_set(gpiote, task, ppi_ch_enable); in hal_gpiote_tasks_setup()
42 nrf_gpiote_subscribe_set(gpiote, task, ppi_ch_disable); in hal_gpiote_tasks_setup()
/Zephyr-Core-3.7.0/drivers/pwm/
Dpwm_nrf_sw.c65 nrfx_gpiote_t gpiote[PWM_0_MAP_SIZE]; member
127 NRF_GPIOTE_Type *gpiote; in pwm_nrf_sw_set_cycles() local
166 gpiote = config->gpiote[channel].p_reg; in pwm_nrf_sw_set_cycles()
192 nrf_gpiote_te_default(gpiote, gpiote_ch); in pwm_nrf_sw_set_cycles()
241 gpiote->CONFIG[gpiote_ch] = in pwm_nrf_sw_set_cycles()
262 nrf_gpiote_task_address_get(gpiote, pulse_end_task); in pwm_nrf_sw_set_cycles()
264 nrf_gpiote_task_address_get(gpiote, period_end_task); in pwm_nrf_sw_set_cycles()
365 err = nrfx_gpiote_channel_alloc(&config->gpiote[i], in pwm_nrf_sw_init()
414 .gpiote = {
/Zephyr-Core-3.7.0/samples/subsys/usb/uac2_explicit_feedback/src/
Dfeedback_nrf53.c21 static const nrfx_gpiote_t gpiote = NRFX_GPIOTE_INSTANCE(0); variable
90 err = nrfx_gpiote_channel_alloc(&gpiote, &feedback_gpiote_channel); in feedback_edge_counter_setup()
95 nrfx_gpiote_input_configure(&gpiote, FEEDBACK_PIN, &input_pin_config); in feedback_edge_counter_setup()
96 nrfx_gpiote_trigger_enable(&gpiote, FEEDBACK_PIN, false); in feedback_edge_counter_setup()
121 nrfx_gpiote_in_event_address_get(&gpiote, FEEDBACK_PIN), in feedback_edge_counter_setup()
/Zephyr-Core-3.7.0/boards/native/nrf_bsim/
Dnrf54l15bsim_nrf54l15_cpuapp.dts51 /delete-node/ gpiote@da000;
61 /delete-node/ gpiote@10c000;
64 /delete-node/ gpiote@5000d000;
Dnrf5340bsim_nrf5340_cpunet.dts20 /delete-property/ gpiote-0;
39 /delete-node/ gpiote@4100a000;
/Zephyr-Core-3.7.0/boards/raytac/mdbt53v_db_40/
Draytac_mdbt53v_db_40_nrf5340_cpunet_common.dts9 &gpiote {
/Zephyr-Core-3.7.0/boards/raytac/mdbt53_db_40/
Draytac_mdbt53_db_40_nrf5340_cpunet_common.dts9 &gpiote {
/Zephyr-Core-3.7.0/drivers/display/
Ddisplay_nrf_led_matrix.c94 nrfx_gpiote_t gpiote; member
330 dev_config->gpiote.p_reg->CONFIG[dev_data->gpiote_ch[channel_idx]] = gpiote_cfg; in prepare_pixel_pulse()
360 dev_config->gpiote.p_reg->CONFIG[dev_data->gpiote_ch[i]] = 0; in timer_irq_handler()
456 err = nrfx_gpiote_channel_alloc(&dev_config->gpiote, gpiote_ch); in instance_init()
469 nrf_gpiote_event_address_get(dev_config->gpiote.p_reg, in instance_init()
545 .gpiote = NRFX_GPIOTE_INSTANCE(
/Zephyr-Core-3.7.0/boards/particle/nrf51_blenano/
Dnrf51_blenano.dts38 &gpiote {
/Zephyr-Core-3.7.0/boards/ezurio/bl5340_dvk/
Dbl5340_dvk_nrf5340_cpunet_common.dtsi9 &gpiote {

123456