00001 /* -*- coding: iso-8859-1 -*- 00002 * Copyright (C) 2008 TTTech Computertechnik AG 00003 * **************************************************************************** 00004 * Name 00005 * tte_bg_traffic.h 00006 * 00007 * Purpose 00008 * Background traffic functions of the TTE protocol 00009 * 00010 * Revision Dates 00011 * 18-Jun-2008 Creation 00012 * 02-Dec-2008 (KSE) [29628] Changed include names 00013 *-- 00014 */ 00015 00016 #ifndef TTE_BG_TRAFFIC_H_ 00017 #define TTE_BG_TRAFFIC_H_ 00018 00019 #include "tte_buffer.h" 00020 #include "tte_hw_timer.h" 00021 00024 extern int32_t tte_bg_rx_callback(uint8_t ctrl, hwtime_t ts); 00025 00027 extern int32_t tte_bg_sched_tx(uint32_t max_tx); 00028 00029 extern int32_t tte_bg_tx_loop(int32_t max_tx); 00030 00031 #endif /* TTE_BG_TRAFFIC_H_ */