File nut/app/xsvfexec/host.c


Included Files


Local Variables

fh
static int fh
Used in: XsvfExit()  
  XsvfGetByte()  
  XsvfGetCmd()  
  XsvfGetLong()  
  XsvfGetShort()  
  XsvfGetState()  
  XsvfInit()  
  XsvfReadBitString()  
  XsvfSkipComment()  

xsvf_err
static int xsvf_err

Used in: XsvfGetByte()  
  XsvfGetError()  
  XsvfGetLong()  
  XsvfGetShort()  
  XsvfReadBitString()  
  XsvfSkipComment()  

Global Function XsvfDelay()

void XsvfDelay ( long usecs )
Prototyped in: nut/app/xsvfexec/host.h
Calls: NutSleep()

Global Function XsvfExit()

void XsvfExit ( int rc )
Prototyped in: nut/app/xsvfexec/host.h
Calls: NutSleep(), _close(), printf(), puts()
References Variables: fh nut/app/xsvfexec/host.c

Global Function XsvfGetByte()

uint8_t XsvfGetByte ( void )
Prototyped in: nut/app/xsvfexec/host.h
Calls: _read()
References Variables: fh nut/app/xsvfexec/host.c
  xsvf_err nut/app/xsvfexec/host.c

Global Function XsvfGetCmd()

uint8_t XsvfGetCmd ( void )
Prototyped in: nut/app/xsvfexec/host.h
Calls: NutSleep(), _read()
References Variables: fh nut/app/xsvfexec/host.c

Global Function XsvfGetError()

int XsvfGetError ( void )
Prototyped in: nut/app/xsvfexec/host.h
References Variables: xsvf_err nut/app/xsvfexec/host.c

Global Function XsvfGetLong()

long XsvfGetLong ( void )
Prototyped in: nut/app/xsvfexec/host.h
Calls: __byte_swap4(), _read()
References Variables: fh nut/app/xsvfexec/host.c
  xsvf_err nut/app/xsvfexec/host.c

Global Function XsvfGetShort()

short XsvfGetShort ( void )
Prototyped in: nut/app/xsvfexec/host.h
Calls: __byte_swap2(), _read()
References Variables: fh nut/app/xsvfexec/host.c
  xsvf_err nut/app/xsvfexec/host.c

Global Function XsvfGetState()

uint8_t XsvfGetState ( uint8_t state0, uint8_t state1 )
Prototyped in: nut/app/xsvfexec/host.h
Calls: _read()
References Variables: fh nut/app/xsvfexec/host.c

Global Function XsvfInit()

int XsvfInit ( void )
Prototyped in: nut/app/xsvfexec/host.h
Calls: NutRegisterDevice(), NutSleep(), NutVersionString(), _fileno(), _ioctl(), _open(), freopen(), printf()
References Variables: fh nut/app/xsvfexec/host.c

Global Function XsvfReadBitString()

int XsvfReadBitString ( void* buf, int num )
Prototyped in: nut/app/xsvfexec/host.h
Calls: _read()
References Variables: fh nut/app/xsvfexec/host.c
  xsvf_err nut/app/xsvfexec/host.c

Global Function XsvfSkipComment()

int XsvfSkipComment ( void )
Prototyped in: nut/app/xsvfexec/host.h
Calls: _read()
References Variables: fh nut/app/xsvfexec/host.c
  xsvf_err nut/app/xsvfexec/host.c