MityDSP stack initialization code. More...
#include "net/DspNetStack.h"
Functions | |
static void | DSPNetStackInitDone (void *apArg) |
void | DSPGetNetStackDefaults (tsDSPNetStackInit *apSi) |
int | DSPNetStackInit (tsDSPNetStackInit *apSi) |
Variables | |
int | DSPNet_tcpip_priority = DEFAULT_THREAD_PRIO |
NetAssertCB | DSPNet_nacb_func = NULL |
MityDSP stack initialization code.
o 0 | / Copyright (c) 2005-2007 (CL)—o Critical Link, LLC \ O
|
static |
This is a callback function which is invoked when the LWIP stacks TCP timer and message queue threads are all initialized.
[in] | apArg | Pointer to the semaphore to set. |
void DSPGetNetStackDefaults | ( | tsDSPNetStackInit * | apSi | ) |
Call this function once on application startup to get the default stack constants which you will then pass into the DSPNetStackInit() function. After calling this function but before you call DSPNetStackInit(), you may modify the default values in the tsDSPNetStackInit structure.
[in] | apSi | Pointer to tsDSPNetStackInit structure to initialize. |
int DSPNetStackInit | ( | tsDSPNetStackInit * | apSi | ) |
Call this function once on application startup to initialize the network stack internal memory structures.
[in] | apSi | Pointer to tsDSPNetStackInit structure. |
int DSPNet_tcpip_priority = DEFAULT_THREAD_PRIO |
NetAssertCB DSPNet_nacb_func = NULL |