First Commit as a new library

Dependents:   Host_Software_MAX32664GWEB_HR_wrist Host_Software_MAX32664GWEC_SpO2_HR Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more

Revision:
21:f7216b5dc6c0
Parent:
9:ca6b5fecdd63
diff -r a521606048bb -r f7216b5dc6c0 bmi160_spi.cpp
--- a/bmi160_spi.cpp	Fri May 04 13:35:59 2018 +0300
+++ b/bmi160_spi.cpp	Wed Dec 19 14:54:05 2018 +0300
@@ -35,18 +35,18 @@
 
 
 //*****************************************************************************
-BMI160_SPI::BMI160_SPI(SPI &spiBus, DigitalOut &cs)
+BMI160_SPI::BMI160_SPI(SPI *spiBus, DigitalOut &cs)
 :m_spiBus(spiBus), m_cs(cs)
 {
-    
+
 }
 
 
-//*****************************************************************************   
+//*****************************************************************************
 int32_t BMI160_SPI::readRegister(Registers reg, uint8_t *data)
 {
     int32_t rtnVal = -1;
-    
+
     return rtnVal;
 }
 
@@ -55,26 +55,26 @@
 int32_t BMI160_SPI::writeRegister(Registers reg, const uint8_t data)
 {
     int32_t rtnVal = -1;
-    
+
     return rtnVal;
 }
 
 
 //*****************************************************************************
-int32_t BMI160_SPI::readBlock(Registers startReg, Registers stopReg, 
+int32_t BMI160_SPI::readBlock(Registers startReg, Registers stopReg,
 uint8_t *data)
 {
     int32_t rtnVal = -1;
-    
+
     return rtnVal;
 }
 
 
 //*****************************************************************************
-int32_t BMI160_SPI::writeBlock(Registers startReg, Registers stopReg, 
+int32_t BMI160_SPI::writeBlock(Registers startReg, Registers stopReg,
 const uint8_t *data)
 {
     int32_t rtnVal = -1;
-    
+
     return rtnVal;
 }