// © RiceMotion ( Robert Carl Rice ) 2012-2016 - All rights reserved


// This software makes use of tools and libraries obtained from open source projects or released for

// use by relevant hardware manufactures. However, this software is NOT a part of any open source project.

// It is released only on a "need to know" basis for beta testers of the "RiceCNC Interpolation Engine".

// Recipents of this source code must respect the confidential nature of this software and prevent any

// distribution that could result in counterfeit copies of the "RiceCNC Interpolation Engine".


// © RiceMotion ( Robert Carl Rice ) 2012-2016 - All rights reserved

#include <SSI8305.h>

#include <SsiDeviceQueue.h>

#include <Machine.h>

#include <AxisTimer.h>

#include <OutputPin.h>

#include <Timers.h>


#include <inc/hw_ssi.h>

#include <inc/hw_gpio.h>

#include <driverlib/ssi.h>




SSI8305::SSI8305(

     char*          data,

     String*          msgPtr )

     

     :     SSI(

               data,

               msgPtr ) {


     if ( configured ) {

          configureSSI( TI_8305_Protocol );


          snprintf( data, 40,

               "\n SSI %lu configured for BOOST-DRV8305\n",

               number );

          *msgPtr     += String( data ); }; };


SSI8305::~SSI8305() {};