MityDSP Documentation Index
Functions | Variables
DSPNetStack.c File Reference

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

Detailed Description

MityDSP stack initialization code.

o 0 | / Copyright (c) 2005-2007 (CL)—o Critical Link, LLC \ O


Function Documentation

void DSPNetStackInitDone ( void *  apArg)
static

This is a callback function which is invoked when the LWIP stacks TCP timer and message queue threads are all initialized.

Note:
This callback sets a semaphore that the tcpip_stack_init() function is blocking on
Parameters:
[in]apArgPointer to the semaphore to set.
Returns:
None
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.

Parameters:
[in]apSiPointer to tsDSPNetStackInit structure to initialize.
Returns:
None
int DSPNetStackInit ( tsDSPNetStackInit apSi)

Call this function once on application startup to initialize the network stack internal memory structures.

Note:
You must first call DSPGetNetStackDefaults() it initialize the tsDSPNetStackInit structure that you pass into this function. Between the call to DSPGetNetStackDefaults() and the call to this function you may adjust the default values in the tsDSPNetStackInit structure to your applications needs.
Parameters:
[in]apSiPointer to tsDSPNetStackInit structure.
Returns:
0 if successful

Variable Documentation

int DSPNet_tcpip_priority = DEFAULT_THREAD_PRIO
NetAssertCB DSPNet_nacb_func = NULL

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