1# Copyright (c) 2018 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: Nordic nRF RTC (Real-Time Counter)
5
6compatible: "nordic,nrf-rtc"
7
8include: rtc.yaml
9
10properties:
11  reg:
12    required: true
13
14  cc-num:
15    type: int
16    required: true
17    description: |
18      Number of compare (CC) registers available.
19
20      On nRF53 these registers can also be used for capture.
21
22  # If enabled, overflow different than full range (24 bits) is handled
23  # through PPI channel which ensures precise timing. If disabled then
24  # counter is cleared in the interrupt which results in accumulative error
25  # of counter period if top value is different than maximal.
26  ppi-wrap:
27    type: boolean
28    description: Enable wrapping with PPI
29
30  # If enabled then counter based on nRF RTC peripheral supports only maximal
31  # top value. That results in code optimizations and availability of one more
32  # channel
33  fixed-top:
34    type: boolean
35    description: Enable fixed top value
36
37  zli:
38    type: boolean
39    description: Enable event handler in the ZLI (Zero latency interrupt) context
40