tte_dynseg.h File Reference

#include "tte_target.h"

Go to the source code of this file.

Defines

#define TTE_DYNSEG_PAYLOAD   ((uint32_t)50)
#define TTE_DYNSEG_ETHER_TYPE   ((uint16_t)0x891D)
#define TTE_DYNSEG_START_OPCODE   ((uint8_t)0x01)
#define TTE_DYNSEG_STOP_OPCODE   ((uint8_t)0x02)

Functions

int32_t tte_send_dynseg_start (void)
 Start of dynamic segment.
int32_t tte_send_dynseg_stop (void)
 Stop of dynamic segment.

Define Documentation

#define TTE_DYNSEG_ETHER_TYPE   ((uint16_t)0x891D)

Definition at line 20 of file tte_dynseg.h.

#define TTE_DYNSEG_PAYLOAD   ((uint32_t)50)

Definition at line 19 of file tte_dynseg.h.

#define TTE_DYNSEG_START_OPCODE   ((uint8_t)0x01)

Definition at line 22 of file tte_dynseg.h.

#define TTE_DYNSEG_STOP_OPCODE   ((uint8_t)0x02)

Definition at line 23 of file tte_dynseg.h.


Function Documentation

int32_t tte_send_dynseg_start ( void   ) 

Start of dynamic segment.

Send command for marking the start of the dynamic segment

Parameters:
none 
Returns:
  • Zero(0) - the operation is executed successfully.
  • ETT_NOMEM - in case of no available place in the transmission
  • ETT_NOINIT - controller was not initialized via tte_init().
  • ETT_LOSTLINK - in case the Ethernet link is lost.
  • ETT_FAILED - in case the operation fails for any other reason.
int32_t tte_send_dynseg_stop ( void   ) 

Stop of dynamic segment.

Send command for marking the end of the dynamic segment

Parameters:
none 
Returns:
  • Zero(0) - the operation is executed successfully.
  • ETT_NOMEM - in case of no available place in the transmission
  • ETT_NOINIT - controller was not initialized via tte_init().
  • ETT_LOSTLINK - in case the Ethernet link is lost.
  • ETT_FAILED - in case the operation fails for any other reason.
Generated on Tue Nov 29 14:09:19 2011 for TTEthernet Model for INET Framework by  doxygen 1.6.3