1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 9 /** 10 * @brief Request lowest latency for system events 11 * 12 * @details System will be configured for lowest latency after first 13 * call to nrf_sys_event_request_global_constlat() and will remain 14 * configured for lowest latency until matching number of calls to 15 * nrf_sys_event_release_global_constlat() occur. 16 * 17 * @retval 0 if successful 18 * @retval -errno code otherwise 19 */ 20 int nrf_sys_event_request_global_constlat(void); 21 22 /** 23 * @brief Release low latency request 24 * 25 * @see nrf_sys_event_request_global_constlat() 26 * 27 * @retval 0 if successful 28 * @retval -errno code otherwise 29 */ 30 int nrf_sys_event_release_global_constlat(void); 31