Lines Matching +full:active +full:- +full:channel
2 * Copyright (c) 2016-2020 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
24 * @param id Compare channel ID.
27 * channel. It can differ from the requested target time
37 /** @brief Allocate RTC compare channel.
39 * Channel 0 is used for the system clock.
41 * @retval Non-negative indicates allocated channel ID.
42 * @retval -ENOMEM if channel cannot be allocated.
46 /** @brief Free RTC compare channel.
48 * @param chan Previously allocated channel ID.
62 * @param chan Channel ID between 0 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
74 * @param chan Channel ID between 1 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
84 * @param chan Channel ID between 1 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
94 * @param chan Channel ID between 1 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
102 * @param chan Channel ID between 0 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
108 /** @brief Try to set compare channel to given value.
116 * from that compare channel is disabled. Other interrupts are not locked during
119 * @param chan Channel ID between 1 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
127 * @retval 0 if the compare channel was set successfully.
128 * @retval -EINVAL if provided target time was further than
137 /** @brief Try to set compare channel exactly to given value.
140 * channel will be set to expected value only when it can be guaranteed that
147 * @param chan Channel ID between 1 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
155 * @retval 0 if the compare channel was set successfully.
156 * @retval -EINVAL if provided target time was further than
160 * compare value of that channel.
171 * operation interrupt from that compare channel is disabled. Other interrupts
174 * @param chan Channel ID between 1 and @kconfig{CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT}.
184 * @retval -EINVAL if @p t is out of range.
195 * @retval Non-negative offset given in RTC ticks.
196 * @retval -ENOSYS if operation is not supported.
197 * @retval -EBUSY if synchronization is not yet completed.
206 * performed when there are no active alarms set. It should be used for testing
210 * @retval -EBUSY if there are active alarms.
211 * @retval -EAGAIN if current counter value is too close to overflow.
212 * @retval -ENOTSUP if option is disabled in Kconfig or additional channels are enabled.