Skip to content

Commit

Permalink
fxos8700: Fix Kconfig help indentation
Browse files Browse the repository at this point in the history
Fixes the fxos8700 Kconfig help indentation to be <tab><space><space>.

Change-Id: If6e9395b5d28044962ca568be5515658e7dc2627
Signed-off-by: Maureen Helm <[email protected]>
  • Loading branch information
MaureenHelm authored and Anas Nashif committed Mar 30, 2017
1 parent e09dc93 commit de64c83
Showing 1 changed file with 47 additions and 45 deletions.
92 changes: 47 additions & 45 deletions drivers/sensor/fxos8700/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ menuconfig FXOS8700
depends on SENSOR && I2C
default n
help
Enable driver for the FXOS8700 accelerometer/magnetometer
Enable driver for the FXOS8700 accelerometer/magnetometer

config FXOS8700_NAME
string "Device name"
Expand All @@ -28,18 +28,18 @@ config FXOS8700_I2C_ADDRESS
range 0x1c 0x1f
default 0x1d
help
The I2C slave address can be configured by the SA0 and SA1 input pins.
This option should usually be set by the board defconfig.
The I2C slave address can be configured by the SA0 and SA1 input
pins. This option should usually be set by the board defconfig.

config FXOS8700_WHOAMI
hex "WHOAMI value"
depends on FXOS8700
range 0x00 0xff
default 0xc7
help
The datasheet defines the value of the WHOAMI register, but some
pre-production devices can have a different value. It is unlikely you
should need to change this configuration option from the default.
The datasheet defines the value of the WHOAMI register, but some
pre-production devices can have a different value. It is unlikely you
should need to change this configuration option from the default.

choice
prompt "Mode"
Expand All @@ -62,9 +62,9 @@ config FXOS8700_TEMP
depends on FXOS8700 && (FXOS8700_MODE_MAGN || FXOS8700_MODE_HYBRID)
default n
help
Enable the temperature sensor. Note that the temperature sensor is
uncalibrated and its output for a given temperature may vary from one
device to the next.
Enable the temperature sensor. Note that the temperature sensor is
uncalibrated and its output for a given temperature may vary from one
device to the next.

choice
prompt "Range"
Expand Down Expand Up @@ -118,8 +118,8 @@ config FXOS8700_DRDY_INT1
depends on FXOS8700_TRIGGER
default n
help
Say Y to route data ready interrupt to INT1 pin. Say N to route to INT2
pin.
Say Y to route data ready interrupt to INT1 pin. Say N to route to
INT2 pin.

if FXOS8700_TRIGGER

Expand All @@ -137,15 +137,15 @@ menuconfig FXOS8700_PULSE
bool "Pulse detection"
default n
help
Enable pulse detection
Enable pulse detection

if FXOS8700_PULSE

config FXOS8700_PULSE_INT1
bool "Pulse interrupt to INT1 pin"
default n
help
Say Y to route pulse interrupt to INT1 pin. Say N to route to INT2 pin.
Say Y to route pulse interrupt to INT1 pin. Say N to route to INT2 pin.

config FXOS8700_PULSE_CFG
hex "Pulse configuration register"
Expand All @@ -157,68 +157,70 @@ config FXOS8700_PULSE_THSX
range 0 0x7f
default 0x20
help
Threshold to start the pulse-event detection procedure on the X-axis.
Threshold values for each axis are unsigned 7-bit numbers with a fixed
resolution of 0.063 g/LSB, corresponding to an 8g acceleration
full-scale range.
Threshold to start the pulse-event detection procedure on the X-axis.
Threshold values for each axis are unsigned 7-bit numbers with a
fixed resolution of 0.063 g/LSB, corresponding to an 8g acceleration
full-scale range.

config FXOS8700_PULSE_THSY
hex "Pulse Y-axis threshold"
range 0 0x7f
default 0x20
help
Threshold to start the pulse-event detection procedure on the Y-axis.
Threshold values for each axis are unsigned 7-bit numbers with a fixed
resolution of 0.063 g/LSB, corresponding to an 8g acceleration
full-scale range.
Threshold to start the pulse-event detection procedure on the Y-axis.
Threshold values for each axis are unsigned 7-bit numbers with a
fixed resolution of 0.063 g/LSB, corresponding to an 8g acceleration
full-scale range.

config FXOS8700_PULSE_THSZ
hex "Pulse Z-axis threshold"
range 0 0x7f
default 0x40
help
Threshold to start the pulse-event detection procedure on the Z-axis.
Threshold values for each axis are unsigned 7-bit numbers with a fixed
resolution of 0.063 g/LSB, corresponding to an 8g acceleration
full-scale range.
Threshold to start the pulse-event detection procedure on the Z-axis.
Threshold values for each axis are unsigned 7-bit numbers with a
fixed resolution of 0.063 g/LSB, corresponding to an 8g acceleration
full-scale range.

config FXOS8700_PULSE_TMLT
hex "Pulse time limit"
range 0 0x7f
default 0x18
help
The maximum time interval that can elapse between the start of the
acceleration on the selected channel exceeding the specified threshold
and the end when the channel acceleration goes back below the specified
threshold. The resolution depends upon the sample rate (ODR) and the
highpass filter configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For
ODR=800 Hz and pls_hpf_en=0, the resolution is 0.625 ms/LSB.
The maximum time interval that can elapse between the start of the
acceleration on the selected channel exceeding the specified
threshold and the end when the channel acceleration goes back below
the specified threshold. The resolution depends upon the sample rate
(ODR) and the highpass filter configuration
(HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and pls_hpf_en=0, the
resolution is 0.625 ms/LSB.

config FXOS8700_PULSE_LTCY
hex "Pulse latency"
range 0 0xff
default 0x28
help
The time interval that starts after the first pulse detection where the
pulse-detection function ignores the start of a new pulse. The
resolution depends upon the sample rate (ODR) and the highpass filter
configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and
pls_hpf_en=0, the resolution is 1.25 ms/LSB.
The time interval that starts after the first pulse detection where
the pulse-detection function ignores the start of a new pulse. The
resolution depends upon the sample rate (ODR) and the highpass filter
configuration (HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and
pls_hpf_en=0, the resolution is 1.25 ms/LSB.

config FXOS8700_PULSE_WIND
hex "Pulse window"
range 0 0xff
default 0x3c
help
The maximum interval of time that can elapse after the end of the
latency interval in which the start of the second pulse event must be
detected provided the device has been configured for double pulse
detection. The detected second pulse width must be shorter than the
time limit constraint specified by the PULSE_TMLT register, but the end
of the double pulse need not finish within the time specified by the
PULSE_WIND register. The resolution depends upon the sample rate (ODR)
and the highpass filter configuration (HP_FILTER_CUTOFF[pls_hpf_en]).
For ODR=800 Hz and pls_hpf_en=0, the resolution is 1.25 ms/LSB.
The maximum interval of time that can elapse after the end of the
latency interval in which the start of the second pulse event must be
detected provided the device has been configured for double pulse
detection. The detected second pulse width must be shorter than the
time limit constraint specified by the PULSE_TMLT register, but the
end of the double pulse need not finish within the time specified by
the PULSE_WIND register. The resolution depends upon the sample rate
(ODR) and the highpass filter configuration
(HP_FILTER_CUTOFF[pls_hpf_en]). For ODR=800 Hz and pls_hpf_en=0, the
resolution is 1.25 ms/LSB.

endif # FXOS8700_PULSE

Expand Down

0 comments on commit de64c83

Please sign in to comment.