File nut/app/basemon/smsc.c


Included Files


Global Function SmscDetect()

int SmscDetect ( void )
Prototyped in: nut/app/basemon/smsc.h

Global Function SmscLoop()

void SmscLoop ( void )
Prototyped in: nut/app/basemon/smsc.h
Calls: GetChar(), printf(), printf_P(), puts()
References Variables: presskey_P

Global Function SmscSend()

void SmscSend ( void )
Prototyped in: nut/app/basemon/smsc.h
Calls: NicMmuWait() nut/app/basemon/smsc.c
  NicPhyConfig() nut/app/basemon/smsc.c
  NicReset() nut/app/basemon/smsc.c
  Delay(), GetChar(), printf(), puts()

Global Function SmscTest()

int SmscTest ( void )
Prototyped in: nut/app/basemon/smsc.h
Calls: SmscTestBuffer() nut/app/basemon/smsc.c
  SmscTestInterrupt() nut/app/basemon/smsc.c
  puts()

Local Function NicMmuWait()

static inline int NicMmuWait ( u_short tmo )
Calls: Delay()
Called by: NicReset() nut/app/basemon/smsc.c
  SmscSend() nut/app/basemon/smsc.c
  SmscTestBuffer() nut/app/basemon/smsc.c
  SmscTestInterrupt() nut/app/basemon/smsc.c

Local Function NicPhyConfig()

static int NicPhyConfig ( void )
Calls: NicPhyRead() nut/app/basemon/smsc.c
  NicPhyWrite() nut/app/basemon/smsc.c
  Delay()
Called by: SmscSend() nut/app/basemon/smsc.c
  SmscTestInterrupt() nut/app/basemon/smsc.c

Local Function NicPhyRead()

static u_short NicPhyRead ( u_char reg )
Calls: NicPhyRegSelect() nut/app/basemon/smsc.c
Called by: NicPhyConfig() nut/app/basemon/smsc.c

Local Function NicPhyRegSelect()

static u_char NicPhyRegSelect ( u_char reg, u_char we )
Called by: NicPhyRead() nut/app/basemon/smsc.c
  NicPhyWrite() nut/app/basemon/smsc.c

Local Function NicPhyWrite()

static void NicPhyWrite ( u_char reg, u_short val )
Calls: NicPhyRegSelect() nut/app/basemon/smsc.c
Called by: NicPhyConfig() nut/app/basemon/smsc.c

Local Function NicReset()

static int NicReset ( void )
Calls: NicMmuWait() nut/app/basemon/smsc.c
  Delay()
Called by: SmscSend() nut/app/basemon/smsc.c
  SmscTestBuffer() nut/app/basemon/smsc.c
  SmscTestInterrupt() nut/app/basemon/smsc.c

Local Function SmscTestBuffer()

static int SmscTestBuffer ( void )
Calls: NicMmuWait() nut/app/basemon/smsc.c
  NicReset() nut/app/basemon/smsc.c
  Delay(), printf(), puts()
Called by: SmscTest() nut/app/basemon/smsc.c

Local Function SmscTestInterrupt()

static int SmscTestInterrupt ( void )
Calls: NicMmuWait() nut/app/basemon/smsc.c
  NicPhyConfig() nut/app/basemon/smsc.c
  NicReset() nut/app/basemon/smsc.c
  Delay(), puts()
Called by: SmscTest() nut/app/basemon/smsc.c