Network Developers Kit API  3.75.00.20
Macros | Functions
netctrl.h File Reference

Go to the source code of this file.

Macros

#define NC_PRIORITY_LOW   OS_SCHEDULER_LOWPRI
 
#define NC_PRIORITY_HIGH   OS_SCHEDULER_HIGHPRI
 
#define NC_OPMODE_POLLING   1
 
#define NC_OPMODE_INTERRUPT   2
 
#define NC_OPEN_SUCCESS   0
 
#define NC_OPEN_ILLEGAL_PRIORITY   -1
 
#define NC_OPEN_ILLEGAL_OPMODE   -2
 
#define NC_OPEN_MEMINIT_FAILED   -3
 
#define NC_OPEN_EVENTINIT_FAILED   -4
 

Functions

int NC_SystemOpen (int Priority, int OpMode)
 Initiate a system session. More...
 
void NC_SystemClose ()
 Shutdown the system. More...
 
int NC_NetStart (void *hCfg, void(*NetStartCb)(), void(*NetStopCb)(), void(*NetIPCb)(uint32_t, uint32_t, uint32_t))
 Start network. More...
 
void NC_NetStop (int rc)
 Stop the network. More...
 
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale