Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
hal_timer.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef HAL_HAL_TIMER_H
21
#define HAL_HAL_TIMER_H
22
23
#include "
xtimer.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
32
typedef
xtimer_callback_t
hal_timer_cb
;
33
37
struct
hal_timer
{
38
xtimer_t
timer
;
39
};
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
/* HAL_HAL_TIMER_H */
hal_timer_cb
xtimer_callback_t hal_timer_cb
HAL timer callback.
Definition:
hal_timer.h:32
xtimer
xtimer timer structure
Definition:
xtimer.h:81
xtimer_callback_t
void(* xtimer_callback_t)(void *)
xtimer callback type
Definition:
xtimer.h:76
hal_timer::timer
xtimer_t timer
the timer
Definition:
hal_timer.h:38
hal_timer
The HAL timer structure.
Definition:
hal_timer.h:37
xtimer.h
xtimer interface definitions
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17