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
56extern "C" {
57#endif
58
62typedef struct {
64 uint16_t mul;
65 uint16_t div;
67
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 */
ztimer frequency conversion base module
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 device structure
Definition ztimer.h:369
ztimer_convert_muldiv64 structure
ztimer_convert_t super
super class
uint16_t div
module docs
uint16_t mul
please read
base type for ztimer convert modules
Definition convert.h:45
ztimer API