Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
timer_arch.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Jan Wagner <mail@jwagner.eu>
3
* SPDX-FileCopyrightText: 2015-2016 Freie Universität Berlin
4
* SPDX-FileCopyrightText: 2019 Inria
5
* SPDX-License-Identifier: LGPL-2.1-only
6
*/
7
8
#pragma once
9
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#ifndef DOXYGEN
/* hide implementation specific details from Doxygen */
26
27
static
inline
bool
timer_poll_channel
(
tim_t
tim,
int
channel)
28
{
29
return
timer_config[tim].dev->EVENTS_COMPARE[channel];
30
}
31
32
#endif
/* DOXYGEN */
33
#ifdef __cplusplus
34
}
35
#endif
36
timer_poll_channel
bool timer_poll_channel(tim_t dev, int channel)
Check whether a compare channel has matched.
tim_t
uint_fast8_t tim_t
Default timer type.
Definition
timer.h:70
Generated on Sat Oct 11 2025 20:18:31 by
1.13.2