Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
convert_muldiv64.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
49
#ifndef ZTIMER_CONVERT_MULDIV64_H
50
#define ZTIMER_CONVERT_MULDIV64_H
51
52
#include "
ztimer.h
"
53
#include "
ztimer/convert.h
"
54
55
#ifdef __cplusplus
56
extern
"C"
{
57
#endif
58
62
typedef
struct
{
63
ztimer_convert_t
super
;
64
uint16_t
mul
;
65
uint16_t
div
;
66
}
ztimer_convert_muldiv64_t
;
67
76
void
ztimer_convert_muldiv64_init
(
77
ztimer_convert_muldiv64_t
*ztimer_convert_muldiv64,
ztimer_clock_t
*lower,
78
unsigned
div,
unsigned
mul);
79
80
#ifdef __cplusplus
81
}
82
#endif
83
84
#endif
/* ZTIMER_CONVERT_MULDIV64_H */
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:369
ztimer_convert_muldiv64_t
ztimer_convert_muldiv64 structure
Definition
convert_muldiv64.h:62
ztimer_convert_muldiv64_t::super
ztimer_convert_t super
super class
Definition
convert_muldiv64.h:63
ztimer_convert_muldiv64_t::div
uint16_t div
module docs
Definition
convert_muldiv64.h:65
ztimer_convert_muldiv64_t::mul
uint16_t mul
please read
Definition
convert_muldiv64.h:64
ztimer_convert_t
base type for ztimer convert modules
Definition
convert.h:45
ztimer.h
ztimer API
Generated on Fri Nov 15 2024 22:46:38 by
1.9.8