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


Included Files


Local Variables

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

sppi0_spsr
static uint8_t sppi0_spsr[4]

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

Global Function Sppi0Byte()

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

Global Function Sppi0ChipReset()

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

Global Function Sppi0ChipSelect()

void Sppi0ChipSelect ( uint8_t ix, uint8_t 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 ( uint8_t ix )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0ChipSelect() nut/arch/avr/dev/sppif0.c

Global Function Sppi0Enable()

void Sppi0Enable ( uint8_t 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 ( uint8_t ix )
Prototyped in: nut/include/dev/sppif0.h
Calls: Sppi0ChipSelect() nut/arch/avr/dev/sppif0.c

Global Function Sppi0NegSelectDevice()

void Sppi0NegSelectDevice ( uint8_t 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 ( uint8_t 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 ( uint8_t ix, uint8_t 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 ( uint8_t ix, uint32_t rate )
Prototyped in: nut/include/dev/sppif0.h
Calls: NutGetCpuClock()
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