1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file Nordic Semiconductor nRF53 processors family management helper for the network CPU. 9 */ 10 11 #ifndef NRF53_CPUNET_MGMT_H__ 12 #define NRF53_CPUNET_MGMT_H__ 13 14 #include <stdbool.h> 15 16 /** 17 * @brief Enables or disables nRF53 network CPU. 18 * 19 * This function shall be used to control the network CPU exclusively. Internally, it keeps track of 20 * the requests to enable or disable nRF53 network CPU. It guarantees to enable the network CPU if 21 * at least one user requests it and to keep it enabled until all users release it. 22 * 23 * In conseqeuence, if @p on equals @c true then the network CPU is guaranteed to be enabled when 24 * this function returns. If @p on equals @c false then nothing can be inferred about the state of 25 * the network CPU when the function returns. 26 * 27 * @param on indicates whether the network CPU shall be powered on or off. 28 */ 29 void nrf53_cpunet_enable(bool on); 30 31 #endif /* NRF53_CPUNET_MGMT_H__ */ 32