Lines Matching +full:gpiote +full:- +full:instance
4 * SPDX-License-Identifier: Apache-2.0
20 #define GPIOTE_NODE DT_NODELABEL(_CONCAT(gpiote, GPIOTE_INST))
23 "Both sw0 and led0 GPIOs must use the same GPIOTE instance");
42 const nrfx_gpiote_t gpiote = NRFX_GPIOTE_INSTANCE(GPIOTE_INST); in main() local
44 /* Connect GPIOTE instance IRQ to irq handler */ in main()
48 /* Initialize GPIOTE (the interrupt priority passed as the parameter in main()
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()
132 nrfx_gpiote_out_task_address_get(&gpiote, OUTPUT_PIN)); in main()