Lines Matching +full:event +full:- +full:range
2 * Copyright (c) 2016-2020 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
20 /** @brief RTC timer compare event handler.
22 * Called from RTC ISR context when processing a compare event.
41 * @retval Non-negative indicates allocated channel ID.
42 * @retval -ENOMEM if channel cannot be allocated.
58 /** @brief Get COMPARE event register address.
80 /** @brief Safely disable compare event interrupt.
90 /** @brief Safely enable compare event interrupt.
92 * Event interrupt is conditionally enabled based on @p key.
114 * future and will generate an event. Because of that, compare register value
128 * @retval -EINVAL if provided target time was further than
141 * the hardware event will be generated exactly at expected @c target_time in
143 * that the reliable generation of event would require adjustment of compare
145 * event nor interrupt will be generated and the function fails.
156 * @retval -EINVAL if provided target time was further than
159 * event generation could not be guaranteed without adjusting
168 * If an abort operation is performed too late it is still possible for an event
169 * to fire. The user can detect a spurious event by comparing absolute time
181 * from now than the RTC range (e.g. 512 seconds if RTC is running at 32768 Hz).
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.
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.