SPIINIT

Top  Previous  Next

Action

Initiate the SPI pins.

 

 

Syntax

SPIINIT

 

 

Remarks

After the configuration of the SPI pins, you must initialize the SPI pins to set them for the right data direction. When the pins are not used by other hardware/software, you only need to use SPIINIT once.

 

When other routines change the state of the SPI pins, use SPIINIT again before using SPIIN and SPIOUT.

 

 

See also

SPIIN , SPIOUT

 

 

ASM

Calls _init_spi

 

 

Example

See SPIIN