Loading...
Searching...
No Matches
convert.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser General
5 * Public License v2.1. See the file LICENSE in the top level directory for more
6 * details.
7 */
8
30#ifndef ZTIMER_CONVERT_H
31#define ZTIMER_CONVERT_H
32
33#include "ztimer.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
50
63 ztimer_clock_t *lower, uint32_t max_value);
64
73
82
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif /* ZTIMER_CONVERT_H */
void ztimer_convert_init(ztimer_convert_t *ztimer_convert, ztimer_clock_t *lower, uint32_t max_value)
Initialization function for ztimer_convert_t.
void ztimer_convert_start(ztimer_clock_t *clock)
ztimer_convert common start() op
void ztimer_convert_cancel(ztimer_clock_t *clock)
ztimer_convert common cancel() op
void ztimer_convert_stop(ztimer_clock_t *clock)
ztimer_convert common stop() op
ztimer device structure
Definition ztimer.h:383
base type for ztimer convert modules
Definition convert.h:45
ztimer_clock_t * lower
lower clock device
Definition convert.h:47
ztimer_t lower_entry
timer entry in parent clock
Definition convert.h:48
ztimer_clock_t super
ztimer_clock super class
Definition convert.h:46
ztimer structure
Definition ztimer.h:332
ztimer API