Lines Matching +full:p +full:- +full:id

4  * SPDX-License-Identifier: Apache-2.0
20 * @param id Compare channel ID.
29 typedef void (*z_nrf_grtc_timer_compare_handler_t)(int32_t id, uint64_t expire_time,
34 * @retval >=0 Non-negative indicates allocated channel ID.
35 * @retval -ENOMEM if channel cannot be allocated.
41 * @param chan Previously allocated channel ID.
53 * @param chan Channel ID.
64 * @param chan Channel ID.
74 * @param chan Channel ID.
84 * @param chan Channel ID.
92 * Event interrupt is conditionally enabled based on @p key.
94 * @param chan Channel ID.
102 * @param chan Channel ID.
107 * @retval -EAGAIN if compare for given channel is not set.
108 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running.
114 * @param chan Channel ID.
123 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running.
136 * @param chan Channel ID between 1 and CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT.
142 * @p t can be absolute or relative.
144 * @retval >=0 Positive value represents @p t in GRTC tick value.
145 * @retval -EINVAL if @p t is out of range.
154 * @note Capture and compare are mutually exclusive features - they cannot be
157 * @param chan Channel ID.
160 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running.
166 * The @p chan must be prepared using z_nrf_grtc_timer_capture_prepare().
168 * @param chan Channel ID.
173 * @retval -EBUSY if capturing has not been triggered.
174 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running.
180 * @note Calling this function should be immediately followed by low-power mode enter
186 * @retval -EPERM if the SYSCOUNTER is not running.
187 * @retval -ENOMEM if no available GRTC channels were found.
188 * @retval -EINVAL if @p wake_time_us is too low.
193 * @brief Initialize the GRTC clock timer driver from an application-
197 * @retval -errno Negative error code on failure.