Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
convert_muldiv64.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 Kaspar Schleiser <kaspar@schleiser.de>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
48
#include "
ztimer.h
"
49
#include "
ztimer/convert.h
"
50
51
#ifdef __cplusplus
52
extern
"C"
{
53
#endif
54
58
typedef
struct
{
59
ztimer_convert_t
super
;
60
uint16_t
mul
;
61
uint16_t
div
;
62
}
ztimer_convert_muldiv64_t
;
63
72
void
ztimer_convert_muldiv64_init
(
73
ztimer_convert_muldiv64_t
*ztimer_convert_muldiv64,
ztimer_clock_t
*lower,
74
unsigned
div,
unsigned
mul);
75
76
#ifdef __cplusplus
77
}
78
#endif
79
convert.h
ztimer frequency conversion base module
ztimer_convert_muldiv64_init
void ztimer_convert_muldiv64_init(ztimer_convert_muldiv64_t *ztimer_convert_muldiv64, ztimer_clock_t *lower, unsigned div, unsigned mul)
ztimer_convert_muldiv64 initialization function
ztimer_clock
ztimer device structure
Definition:
ztimer.h:367
ztimer_convert_muldiv64_t
ztimer_convert_muldiv64 structure
Definition:
convert_muldiv64.h:58
ztimer_convert_muldiv64_t::super
ztimer_convert_t super
super class
Definition:
convert_muldiv64.h:59
ztimer_convert_muldiv64_t::div
uint16_t div
module docs
Definition:
convert_muldiv64.h:61
ztimer_convert_muldiv64_t::mul
uint16_t mul
please read
Definition:
convert_muldiv64.h:60
ztimer_convert_t
base type for ztimer convert modules
Definition:
convert.h:41
ztimer.h
ztimer API
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1