Incomplete library for configuration of a DRV8301 pre-driver through a SPI interface.

DRV8301 is 3-Phase Brushless Motor Pre-Driver with Dual Current Sense Amps and Buck Converter (PWM Ctrl w/ SPI). Please find more information on Texas Instruments web pages and datasheet.

Revision:
4:98c76c7b8020
Parent:
3:227ecd07b9cd
Child:
5:57bbd3728fd0
--- a/DRV8301.cpp	Tue Nov 24 13:22:30 2015 +0000
+++ b/DRV8301.cpp	Tue Nov 24 13:50:20 2015 +0000
@@ -65,14 +65,14 @@
 
 //funkcija za dobivanje stanja u registru 1
 
-uint16_t getRegister1(){
+uint16_t DRV8301::getRegister1(){
     uint16_t register1;
     return register1;
 }
    
 // funkcija za dobivanje stanja u registru 2
 
-uint16_t getRegister2(){
+uint16_t DRV8301::getRegister2(){
     uint16_t register2;
     return register2;
 }