File nut/arch/avr/dev/vs1001k.c


Included Files


Local Variables

vs_status
static volatile u_char vs_status
Used in: VsGetStatus()  
  VsPlayerFeed()  
  VsPlayerFlush()  
  VsPlayerKick()  
  VsPlayerReset()  
  VsPlayerStop()  

vs_flush
static volatile u_short vs_flush

Used in: VsPlayerFeed()  
  VsPlayerFlush()  

Global Function VsBeep()

int VsBeep ( u_char fsin, u_char ms )
Prototyped in: nut/include/dev/vs1001k.h
Calls: NutDelay() nut/arch/avr/dev/ostimer.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsSdiWrite() nut/arch/avr/dev/vs1001k.c
  VsSdiWrite_P() nut/arch/avr/dev/vs1001k.c

Global Function VsGetHeaderInfo()

int VsGetHeaderInfo ( VS_HEADERINFO* vshi )
Prototyped in: nut/include/dev/vs1001k.h
Calls: VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegRead() nut/arch/avr/dev/vs1001k.c

Global Function VsGetStatus()

u_char VsGetStatus ( void )
Prototyped in: nut/include/dev/vs1001k.h
References Variables: vs_status nut/arch/avr/dev/vs1001k.c

Global Function VsMemoryTest()

u_short VsMemoryTest ( void )
Prototyped in: nut/include/dev/vs1001k.h
Calls: NutDelay() nut/arch/avr/dev/ostimer.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegRead() nut/arch/avr/dev/vs1001k.c
  VsSdiWrite_P() nut/arch/avr/dev/vs1001k.c

Global Function VsPlayTime()

u_short VsPlayTime ( void )
Prototyped in: nut/include/dev/vs1001k.h
Calls: VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegRead() nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerFlush()

int VsPlayerFlush ( void )
Prototyped in: nut/include/dev/vs1001k.h
Calls: NutSegBufUsed() nut/os/bankmem.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsPlayerKick() nut/arch/avr/dev/vs1001k.c
References Variables: vs_flush nut/arch/avr/dev/vs1001k.c
  vs_status nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerInit()

int VsPlayerInit ( void )
Prototyped in: nut/include/dev/vs1001k.h
Calls: NutDelay() nut/arch/avr/dev/ostimer.c
  NutRegisterIrqHandler() nut/dev/ihndlr.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegWrite() nut/arch/avr/dev/vs1001k.c
References Functions: VsPlayerFeed() nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerInterrupts()

u_char VsPlayerInterrupts ( u_char enable )
Prototyped in: nut/include/dev/vs1001k.h
Called by: VsBeep() nut/arch/avr/dev/vs1001k.c
  VsGetHeaderInfo() nut/arch/avr/dev/vs1001k.c
  VsMemoryTest() nut/arch/avr/dev/vs1001k.c
  VsPlayTime() nut/arch/avr/dev/vs1001k.c
  VsPlayerFeed() nut/arch/avr/dev/vs1001k.c
  VsPlayerFlush() nut/arch/avr/dev/vs1001k.c
  VsPlayerInit() nut/arch/avr/dev/vs1001k.c
  VsPlayerKick() nut/arch/avr/dev/vs1001k.c
  VsPlayerReset() nut/arch/avr/dev/vs1001k.c
  VsPlayerSetMode() nut/arch/avr/dev/vs1001k.c
  VsPlayerStop() nut/arch/avr/dev/vs1001k.c
  VsSetVolume() nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerKick()

int VsPlayerKick ( void )
Prototyped in: nut/include/dev/vs1001k.h
Calls: VsPlayerFeed() nut/arch/avr/dev/vs1001k.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
Called by: VsPlayerFlush() nut/arch/avr/dev/vs1001k.c
References Variables: vs_status nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerReset()

int VsPlayerReset ( u_short mode )
Prototyped in: nut/include/dev/vs1001k.h
Calls: NutDelay() nut/arch/avr/dev/ostimer.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegWrite() nut/arch/avr/dev/vs1001k.c
References Variables: vs_status nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerSetMode()

int VsPlayerSetMode ( u_short mode )
Prototyped in: nut/include/dev/vs1001k.h
Calls: VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegWrite() nut/arch/avr/dev/vs1001k.c

Global Function VsPlayerStop()

int VsPlayerStop ( void )
Prototyped in: nut/include/dev/vs1001k.h
Calls: VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
References Variables: vs_status nut/arch/avr/dev/vs1001k.c

Global Function VsSetVolume()

int VsSetVolume ( u_char left, u_char right )
Prototyped in: nut/include/dev/vs1001k.h
Calls: VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsRegWrite() nut/arch/avr/dev/vs1001k.c

Local Function VsPlayerFeed()

static void VsPlayerFeed ( void* arg )
Calls: NutSegBufReadCommit() nut/os/bankmem.c
  NutSegBufReadLast() nut/os/bankmem.c
  NutSegBufReadRequest() nut/os/bankmem.c
  VsPlayerInterrupts() nut/arch/avr/dev/vs1001k.c
  VsSdiPutByte() nut/arch/avr/dev/vs1001k.c
Called by: VsPlayerKick() nut/arch/avr/dev/vs1001k.c
Used in: VsPlayerInit() nut/arch/avr/dev/vs1001k.c
References Variables: vs_flush nut/arch/avr/dev/vs1001k.c
  vs_status nut/arch/avr/dev/vs1001k.c

Local Function VsRegRead()

static u_short VsRegRead ( u_char reg )
Calls: VsSciGetByte() nut/arch/avr/dev/vs1001k.c
  VsSciPutByte() nut/arch/avr/dev/vs1001k.c
Called by: VsGetHeaderInfo() nut/arch/avr/dev/vs1001k.c
  VsMemoryTest() nut/arch/avr/dev/vs1001k.c
  VsPlayTime() nut/arch/avr/dev/vs1001k.c

Local Function VsRegWrite()

static void VsRegWrite ( u_char reg, u_short data )
Calls: VsSciPutByte() nut/arch/avr/dev/vs1001k.c
Called by: VsPlayerInit() nut/arch/avr/dev/vs1001k.c
  VsPlayerReset() nut/arch/avr/dev/vs1001k.c
  VsPlayerSetMode() nut/arch/avr/dev/vs1001k.c
  VsSetVolume() nut/arch/avr/dev/vs1001k.c

Local Function VsSciGetByte()

static inline u_char VsSciGetByte ( void )
Called by: VsRegRead() nut/arch/avr/dev/vs1001k.c

Local Function VsSciPutByte()

static inline void VsSciPutByte ( u_char data )
Called by: VsRegRead() nut/arch/avr/dev/vs1001k.c
  VsRegWrite() nut/arch/avr/dev/vs1001k.c

Local Function VsSdiPutByte()

static inline void VsSdiPutByte ( u_char b )
Called by: VsPlayerFeed() nut/arch/avr/dev/vs1001k.c
  VsSdiWrite() nut/arch/avr/dev/vs1001k.c
  VsSdiWrite_P() nut/arch/avr/dev/vs1001k.c

Local Function VsSdiWrite()

static int VsSdiWrite ( const u_char* data, u_short len )
Calls: VsSdiPutByte() nut/arch/avr/dev/vs1001k.c
Called by: VsBeep() nut/arch/avr/dev/vs1001k.c

Local Function VsSdiWrite_P()

static int VsSdiWrite_P ( const prog_char* data, u_short len )
Calls: VsSdiPutByte() nut/arch/avr/dev/vs1001k.c
Called by: VsBeep() nut/arch/avr/dev/vs1001k.c
  VsMemoryTest() nut/arch/avr/dev/vs1001k.c