MityDSP Documentation Index
Public Attributes
tsDSPNetStackInit Struct Reference

#include <DSPNetStack.h>

List of all members.

Public Attributes

int max_threads
int mbx_queue_entries
int tcpip_priority
NetAssertCB nacb_func

Detailed Description

This structure describes lwIP stack parameters that can be modified at runtime via the MityDSP DSPNetStackInit routine. Generally, users initialize this structure using the DSPGetNetStackDefaults routine, modify it accord to their application needs, then calling DSPNetStackInit.


Member Data Documentation

int tsDSPNetStackInit::max_threads

Max threads which may access the network stack, default 5

Note:
The stack itself will create two threads for internal use, so add two to your number of application specific threads.
int tsDSPNetStackInit::mbx_queue_entries

Number of entries in mbox

int tsDSPNetStackInit::tcpip_priority

Priority of the TCP/IP stack, default TCPIP_THREAD_PRIO.

Should be less than your network driver RX thread. The TCPIP stack priority MUST BE HIGHER than any thread using the TCP/IP stack.

NetAssertCB tsDSPNetStackInit::nacb_func

Pointer to an application supplied error function.

This callback function will be called in debug builds iff the TCP/IP stack is preparing to assert. The msg string is a human readable text string describing the location and reason for the assertion.


  
Generated on Mon Apr 22 2013 11:33:33 for MityDSP Net by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.