summaryrefslogtreecommitdiff
path: root/hal/leon/maximus/test/inc/test_maximus_timer.h
blob: ff8a323380e947a32ec17fc7aeb3284fc904ad02 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef hal_leon_maximus_test_inc_test_maximus_timer_h
#define hal_leon_maximus_test_inc_test_maximus_timer_h
/* Cesar project {{{
 *
 * Copyright (C) 2007 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    hal/leon/maximus/test/inc/test_maximus_timer.h
 * \brief   test header for Maximus.
 * \ingroup hal_leon_maximus
 */

#include "host/fwd.h" // for 'station_ctx_t'

/**
 * DSR callback function.
 * \param  user_data  user data
 */
void
leon_timer_cb (void *user_data);

/**
 * Open pipe or socket.
 * \param  station  pointer to the station context
 * \return  file descriptor for pipe or socket
 */
int
maximus_timer_open (station_ctx_t *station);

/**
 * Close pipe.
 * \param  fd  file descriptor for pipe or socket
 */
void
maximus_timer_close (int fd);

#endif /* hal_leon_maximus_test_inc_test_maximus_timer_h */