Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
busy_sim.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef BUSY_SIM_H__
7#define BUSY_SIM_H__
8
9typedef void (*busy_sim_cb_t)(void);
10
32void busy_sim_start(uint32_t active_avg, uint32_t active_delta,
33 uint32_t idle_avg, uint32_t idle_delta, busy_sim_cb_t cb);
34
36void busy_sim_stop(void);
37
38#endif /* BUSY_SIM_H__ */
void busy_sim_start(uint32_t active_avg, uint32_t active_delta, uint32_t idle_avg, uint32_t idle_delta, busy_sim_cb_t cb)
Start busy simulator.
void(* busy_sim_cb_t)(void)
Definition: busy_sim.h:9
void busy_sim_stop(void)
Stop busy simulator.
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90