• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/18-Mar-2025-2015

CMakeLists.txtD18-Mar-2025386 1511

README.mdD18-Mar-20251.4 KiB4430

main.cD18-Mar-20253.8 KiB11442

prj.confD18-Mar-202519 21

sample.yamlD18-Mar-2025750 2726

README.md

1# EGU {#egu_basic_desc}
2
3The sample demonstrates a basic functionality of the nrfx_egu driver.
4## Requirements
5
6The sample supports the following development kits:
7
8| **Board**           | **Support** |
9|---------------------|:-----------:|
10| nrf52dk_nrf52832    |     Yes     |
11| nrf52833dk_nrf52833 |     Yes     |
12| nrf52840dk_nrf52840 |     Yes     |
13| nrf5340dk_nrf5340   |     Yes     |
14| nrf9160dk_nrf9160   |     Yes     |
15
16## Overview
17
18Application initializes the nrfx_egu driver instance and triggers three subsequent EGU channels.
19@p egu_handler() is then executed once for each triggered channel with a relevant log message.
20
21> For more information, see **EGU driver - nrfx documentation**.
22
23## Wiring
24
25To run this sample, no special configuration is needed.
26You should monitor the output from the board to check if it is as expected.
27
28## Building and running
29
30To run this sample, build it for the appropriate board and then flash it as per instructions in [Building and running](@ref building_and_running) section.
31
32## Sample output
33
34You should see the following output:
35
36```
37- "Starting nrfx_egu example"
38- "EGU handler triggered on channel: 0. Context passed to the handler: >Some context<"
39- "EGU handler triggered on channel: 1. Context passed to the handler: >Some context<"
40- "EGU handler triggered on channel: 2. Context passed to the handler: >Some context<"
41```
42
43[//]: #
44[Building and running]: <../../README.md#building-and-running>