summaryrefslogtreecommitdiff
path: root/hal/leon/maximus/inc/maximus_timer.h
blob: 21c51f763781fb04622eaab507f4e3a761457737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef hal_leon_maximus_inc_maximus_timer_h
#define hal_leon_maximus_inc_maximus_timer_h
/* Cesar project {{{
 *
 * Copyright (C) 2007 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    hal/leon/maximus/inc/maximus_timer.h
 * \brief   Hardware Abstact Layer for the Leon timer 2 for Maximus.
 * \ingroup hal_leon_maximus
 */

/**
 * Maximus leon timer program callback called when the corresponding netclock message is received.
 * \param  data  pointer to 'leon_timer_t' structure.
 * set errno to:
 * - EINVAL if data or ctx->cb are null
 */
void maximus_leon_timer_cb (void *data);

#endif /* hal_leon_maximus_inc_maximus_timer_h */