Library for MAX30101, read/write functions for registers implemented.

Dependents:   test_MAX30101 testSensor

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Fri May 12 00:15:06 2017 +0000
Parent:
6:8fbe6e6eeff1
Commit message:
document cleaned up a little

Changed in this revision

MAX30101.cpp Show annotated file Show diff for this revision Revisions of this file
MAX30101.h Show annotated file Show diff for this revision Revisions of this file
diff -r 8fbe6e6eeff1 -r 1d223c9b4ef4 MAX30101.cpp
--- a/MAX30101.cpp	Mon Mar 27 07:30:21 2017 +0000
+++ b/MAX30101.cpp	Fri May 12 00:15:06 2017 +0000
@@ -346,7 +346,7 @@
     writeRegs(res, 5) ;
 }
 
-/**
+/*
  * readFIFO(void)
  * FIFO data is always a 3-bytes data
  * byte1[1:0] : FIFO_DATA[17]-FIFO_DATA[16]
diff -r 8fbe6e6eeff1 -r 1d223c9b4ef4 MAX30101.h
--- a/MAX30101.h	Mon Mar 27 07:30:21 2017 +0000
+++ b/MAX30101.h	Fri May 12 00:15:06 2017 +0000
@@ -271,13 +271,7 @@
  * @note byte3[7:0] : FIFO_DATA[7]-FIFO_DATA[0]
  * @note The data is left aligned, so FIFO_DATA[17]
  * @note is always MSB, although the data length 
- * @note can be 18-bit ~ 15-bit * FIFO data is always a 3-bytes data
- * @note byte1[1:0] : FIFO_DATA[17]-FIFO_DATA[16]
- * @note byte2[7:0] : FIFO_DATA[15]-FIFO_DATA[8]
- * @note byte3[7:0] : FIFO_DATA[7]-FIFO_DATA[0]
- * @note The data is left aligned, so FIFO_DATA[17]
- * @note is always MSB, although the data length 
- * @note can be 18-bit ~ 15-bit
+ * @note can be 18-bit ~ 15-bit 
  */ 
 uint32_t readFIFO(void) ;