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


Included Files


Local Variables

sppi0_spcr
static u_char sppi0_spcr[4]
Used in: Sppi0Enable()  
  Sppi0SetMode()  
  Sppi0SetSpeed()  

sppi0_spsr
static u_char sppi0_spsr[4]

Used in: Sppi0Enable()  
  Sppi0SetMode()  
  Sppi0SetSpeed()  

Global Function Sppi0Byte()

u_char Sppi0Byte ( u_char data )
Prototyped in: nut/include/dev/sppif0.h
Called by: Sppi0Transact() nut/arch/avr/dev/sppif0.c

Global Function Sppi0ChipReset()

void Sppi0ChipReset ( u_char ix, u_char hi )
Prototyped in: nut/include/dev/sppif0.h

Global Function Sppi0ChipSelect()

void Sppi0ChipSelect ( u_char ix, u_char hi )
Prototyped in: nut/include/dev/sppif0.h
Called by: Sppi0DeselectDevice() nut/arch/avr/dev/sppif0.c
  Sppi0NegDeselectDevice() nut/arch/avr/dev/sppif0.c
  Sppi0NegSelectDevice() nut/arch/avr/dev/sppif0.c
  Sppi0SelectDevice() nut/arch/avr/dev/sppif0.c

Global Function Sppi0DeselectDevice()

void Sppi0DeselectDevice ( u_char ix )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0ChipSelect() nut/arch/avr/dev/sppif0.c

Global Function Sppi0Enable()

void Sppi0Enable ( u_char ix )
Prototyped in: nut/include/dev/sppif0.h
Called by: Sppi0NegSelectDevice() nut/arch/avr/dev/sppif0.c
  Sppi0SelectDevice() nut/arch/avr/dev/sppif0.c
References Variables: sppi0_spcr nut/arch/avr/dev/sppif0.c
  sppi0_spsr nut/arch/avr/dev/sppif0.c

Global Function Sppi0NegDeselectDevice()

void Sppi0NegDeselectDevice ( u_char ix )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0ChipSelect() nut/arch/avr/dev/sppif0.c

Global Function Sppi0NegSelectDevice()

void Sppi0NegSelectDevice ( u_char ix )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0ChipSelect() nut/arch/avr/dev/sppif0.c
  Sppi0Enable() nut/arch/avr/dev/sppif0.c

Global Function Sppi0SelectDevice()

void Sppi0SelectDevice ( u_char ix )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0ChipSelect() nut/arch/avr/dev/sppif0.c
  Sppi0Enable() nut/arch/avr/dev/sppif0.c

Global Function Sppi0SetMode()

int Sppi0SetMode ( u_char ix, u_char mode )
Prototyped in: nut/include/dev/sppif0.h
References Variables: sppi0_spcr nut/arch/avr/dev/sppif0.c
  sppi0_spsr nut/arch/avr/dev/sppif0.c

Global Function Sppi0SetSpeed()

void Sppi0SetSpeed ( u_char ix, u_long rate )
Prototyped in: nut/include/dev/sppif0.h
Calls: NutGetCpuClock() nut/arch/avr/dev/ostimer.c
References Variables: sppi0_spcr nut/arch/avr/dev/sppif0.c
  sppi0_spsr nut/arch/avr/dev/sppif0.c

Global Function Sppi0Transact()

void Sppi0Transact ( const void* wdata, void* rdata, size_t len )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0Byte() nut/arch/avr/dev/sppif0.c