1 /*
2 * Copyright (c) 2016 Nordic Semiconductor ASA
3 * Copyright (c) 2016 Vinayak Kariappa Chettimada
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8 #include <zephyr/types.h>
9 #include <zephyr/ztest.h>
10
11 #include "ticker/ticker.h"
12
ticker_update(uint8_t instance_index,uint8_t user_id,uint8_t ticker_id,uint32_t ticks_drift_plus,uint32_t ticks_drift_minus,uint32_t ticks_slot_plus,uint32_t ticks_slot_minus,uint16_t lazy,uint8_t force,ticker_op_func fp_op_func,void * op_context)13 uint8_t ticker_update(uint8_t instance_index, uint8_t user_id, uint8_t ticker_id,
14 uint32_t ticks_drift_plus, uint32_t ticks_drift_minus,
15 uint32_t ticks_slot_plus, uint32_t ticks_slot_minus, uint16_t lazy,
16 uint8_t force, ticker_op_func fp_op_func, void *op_context)
17 {
18 return TICKER_STATUS_SUCCESS;
19 }
20
ticker_start(uint8_t instance_index,uint8_t user_id,uint8_t ticker_id,uint32_t ticks_anchor,uint32_t ticks_first,uint32_t ticks_periodic,uint32_t remainder_periodic,uint16_t lazy,uint32_t ticks_slot,ticker_timeout_func fp_timeout_func,void * context,ticker_op_func fp_op_func,void * op_context)21 uint8_t ticker_start(uint8_t instance_index, uint8_t user_id, uint8_t ticker_id,
22 uint32_t ticks_anchor, uint32_t ticks_first, uint32_t ticks_periodic,
23 uint32_t remainder_periodic, uint16_t lazy, uint32_t ticks_slot,
24 ticker_timeout_func fp_timeout_func, void *context, ticker_op_func fp_op_func,
25 void *op_context)
26 {
27 return TICKER_STATUS_SUCCESS;
28 }
29
ticker_stop(uint8_t instance_index,uint8_t user_id,uint8_t ticker_id,ticker_op_func fp_op_func,void * op_context)30 uint8_t ticker_stop(uint8_t instance_index, uint8_t user_id, uint8_t ticker_id,
31 ticker_op_func fp_op_func, void *op_context)
32 {
33 return TICKER_STATUS_SUCCESS;
34 }
35