tte_tt_traffic.h File Reference

#include "tte_config.h"

Go to the source code of this file.

Classes

struct  tte_sync_msg_t

Functions

int32_t tte_rx_startupframe (tte_message_conf_t *sync_msg, hwtime_t *ts, uint64_t *tc_ns)
int32_t tte_tt_sched_rx (uint32_t bg_max)
int32_t tte_tt_sched_tx (tte_message_conf_t *tx_msg)
int32_t tte_tx_syncframe (tte_message_conf_t *tx_msg, hwtime_t sched_ts)
void tte_prepare_sync_frame (uint8_t *buf)

Function Documentation

void tte_prepare_sync_frame ( uint8_t *  buf  ) 
int32_t tte_rx_startupframe ( tte_message_conf_t sync_msg,
hwtime_t ts,
uint64_t *  tc_ns 
)

TT wait for the reception of the startup (first sync). Gets called by the scheduler

Parameters:
ts [out] Reception timestamp
tc [out] Transparent clock field value
int32_t tte_tt_sched_rx ( uint32_t  bg_max  ) 

TT receive function for TT mode. Gets called by the scheduler

int32_t tte_tt_sched_tx ( tte_message_conf_t tx_msg  ) 

TT transmit function for TT mode. Gets called by the scheduler

int32_t tte_tx_syncframe ( tte_message_conf_t tx_msg,
hwtime_t  sched_ts 
)

Transmission of a synchronization frame.

Parameters:
tx_msg Configuration entry of the PCF
shed_ts Time-stamp made at the start of the schedule handler
Generated on Tue Nov 29 14:09:19 2011 for TTEthernet Model for INET Framework by  doxygen 1.6.3