Skip to content

Commit

Permalink
Added notes about the reset and framerate sysfs entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Iiro Vuorio committed Oct 23, 2018
1 parent af4e99a commit 209fe09
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ This driver exposes the following sysfs files:
* `standby_60` Stand-by mode with wake-up every 60 s to refresh sensor and irq line
* `standby_10` Stand-by mode with wake-up every 10 s to refresh sensor and irq line
* writing a correct device mode to this file sets the device mode
* `reset` i2c register: _RST_
* following values can be writin to this file:
* `full` device is reseted to the initial state
* `partial` only the status register, interrupt flag and interrupt map is reseted
* `framerate` i2c register: _FPSC_
* reading this file returns the current framerate or 0 if the device is in sleep mode
* writing a valid value (`1` or `10`) to this file sets the framerate
* `interrupt_state` i2c register: _INTC_ bit 0
* reading this file returns the value of interrupt enabled bit:
* `enabled` interrupt line is in use
Expand Down

0 comments on commit 209fe09

Please sign in to comment.