2014-09-16 13:09:14 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 Kaspar Schleiser
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
2013-11-27 16:28:31 +01:00
|
|
|
|
|
|
|
/**
|
2013-11-27 17:54:30 +01:00
|
|
|
* @defgroup sys_chardevthread Chardev Thread
|
|
|
|
* @ingroup sys
|
|
|
|
* @brief Chardev thread
|
2013-11-27 16:28:31 +01:00
|
|
|
*/
|
|
|
|
|
2010-09-30 15:10:39 +02:00
|
|
|
#ifndef __CHARDEV_THREAD_H
|
2013-06-22 05:11:53 +02:00
|
|
|
#define __CHARDEV_THREAD_H
|
2010-09-30 15:10:39 +02:00
|
|
|
|
2013-12-16 17:54:58 +01:00
|
|
|
#include "ringbuffer.h"
|
2010-09-30 15:10:39 +02:00
|
|
|
|
2014-10-10 11:51:11 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2011-03-08 11:17:57 +01:00
|
|
|
void chardev_loop(ringbuffer_t *rb);
|
2014-03-04 20:20:01 +01:00
|
|
|
void *chardev_thread_entry(void *rb_);
|
2010-09-30 15:10:39 +02:00
|
|
|
|
2014-10-10 11:51:11 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-09-30 15:10:39 +02:00
|
|
|
#endif /* __CHARDEV_THREAD_H */
|