summaryrefslogtreecommitdiff
path: root/decoders/adxl345
AgeCommit message (Collapse)Author
2020-05-21adxl345: Update register meaning for 0x21, 0x22, 0x23 regs.Teo Perisanu
On the Data row, the content of the single-byte registers is decoded as follows: '<Meaning> <Value> <Unit>'. Initially, the meaning for these registers was misplaced. This commit updates these meanings as they really are. Signed-off-by: Teo Perisanu <Teo.Perisanu@analog.com>
2020-04-11adxl345: Fix incorrect rate value in handle_reg_0x2c().Uwe Hermann
2020-04-11adxl345: Use all-lowercase method named for handle_reg_*.Uwe Hermann
2020-04-11adxl345: Use SrdIntEnum for the state machine.Uwe Hermann
2020-04-11adxl345: Use SrdIntEnum for annotation classes.Uwe Hermann
2020-04-11adxl345: Fix scale factor in handle_reg_0x22().Uwe Hermann
According to the datasheet, this should be 1.25 (ms/LSB).
2020-04-11adxl345: Shorten/simplify self.putbs() invocations.Uwe Hermann
2020-04-11adxl345: Shorten/simplify a few code snippets.Uwe Hermann
2020-04-11Add ADXL345 decoder.Teo Perisanu
Signed-off-by: Teo Perisanu <Teo.Perisanu@analog.com>