stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Functions
SPI.c File Reference

SPI functions. More...

#include "derivative.h"
#include "bits.h"
#include "stepRocker.h"
Include dependency graph for SPI.c:

Functions

void InitSPI (void)
 SPI intialization. More...
 
UCHAR ReadWriteSPI (USHORT DeviceNumber, UCHAR WriteData, UCHAR LastTransfer)
 

Detailed Description

SPI functions.

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file provides all functions needed for SPI access to the other ICs (TMC429, TMC262, EEPROM).

Function Documentation

InitSPI ( void  )

SPI intialization.

This functions initializes the SPI. It has to be called once at the beginning of the main() function, before any other things are done that need SPI access.

Here is the caller graph for this function: