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


Included Files


Global Function TwIOCtl()

int TwIOCtl ( int req, void* conf )
Prototyped in: nut/include/dev/twif.h

Global Function TwInit()

int TwInit ( u_char sla )
Prototyped in: nut/include/dev/twif.h
Called by: DS1307Init() nut/dev/ds1307rtc.c
  PcfRtcInit() nut/dev/pcf8563.c
  X12Init() nut/dev/x12rtc.c

Global Function TwMasterError()

int TwMasterError ( void )
Prototyped in: nut/include/dev/twif.h

Global Function TwMasterTransact()

int TwMasterTransact ( u_char sla, const void* txdata, u_short txlen, void* rxdata, u_short rxsiz, u_long tmo )
Prototyped in: nut/include/dev/twif.h
Called by: Cy2239xGetDivider() nut/dev/cy2239x.c
  Cy2239xGetFreq() nut/dev/cy2239x.c
  Cy2239xGetPll() nut/dev/cy2239x.c
  Cy2239xPllEnable() nut/dev/cy2239x.c
  Cy2239xPllGetFreq() nut/dev/cy2239x.c
  Cy2239xPllSetFreq() nut/dev/cy2239x.c
  Cy2239xSetDivider() nut/dev/cy2239x.c
  Cy2239xSetPll() nut/dev/cy2239x.c
  DS1307RamWrite() nut/dev/ds1307rtc.c
  DS1307RtcReadRegs() nut/dev/ds1307rtc.c
  DS1307RtcWrite() nut/dev/ds1307rtc.c
  PcfRtcReadRegs() nut/dev/pcf8563.c
  PcfRtcWrite() nut/dev/pcf8563.c
  X12EepromRead() nut/dev/x12rtc.c
  X12EepromWrite() nut/dev/x12rtc.c
  X12RtcReadRegs() nut/dev/x12rtc.c
  X12RtcWrite() nut/dev/x12rtc.c
  X12WaitReady() nut/dev/x12rtc.c
  X12WriteEnable() nut/dev/x12rtc.c

Global Function TwSlaveError()

int TwSlaveError ( void )
Prototyped in: nut/include/dev/twif.h

Global Function TwSlaveListen()

int TwSlaveListen ( u_char* sla, void* rxdata, u_short rxsiz, u_long tmo )
Prototyped in: nut/include/dev/twif.h

Global Function TwSlaveRespond()

int TwSlaveRespond ( void* txdata, u_short txlen, u_long tmo )
Prototyped in: nut/include/dev/twif.h