OSDN Git Service
(root)
/
stock
/
stock.osdn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28e47b
)
hw/ADXL345.h: no change
author
Pawel Jewstafjew
<Pawel.Jewstafjew@gmail.com>
Sat, 9 Sep 2017 20:27:51 +0000
(21:27 +0100)
committer
Pawel Jewstafjew
<Pawel.Jewstafjew@gmail.com>
Sat, 9 Sep 2017 20:27:51 +0000
(21:27 +0100)
hw/ADXL345.h
patch
|
blob
|
history
diff --git
a/hw/ADXL345.h
b/hw/ADXL345.h
index
5184d58
..
371ce8f
100644
(file)
--- a/
hw/ADXL345.h
+++ b/
hw/ADXL345.h
@@
-5,6
+5,7
@@
enum {
ADXL_READ = 1<<7, // Read flag
ADXL_WRITE = 0<<7, // Write flag
ADXL_MULTI = 1<<6, // Multiple-Byte flag
+
// registers
ADXL_DEVID = 0, // DEVID register
ADXL_DEVID_V = 0xE5, // DEVID value