Characteristic Locus
Inheritance System.Object > Adxl362.ActivityInactivityControlMasks
Namespace Meadow.Foundation.Sensors.Motion
Assembly Adxl3xx.dll

Syntax

protected static class ActivityInactivityControlMasks : object

Fields

ACTIVITY_ENABLE

Determine if the activity functionality is enabled (1) or disabled (0).

Declaration
public const byte ACTIVITY_ENABLE = null

Field Value

Type Description
System.Byte

ACTIVITY_MODE

Determine is activity mode is in reference (1) or absolute mode (0).

Declaration
public const byte ACTIVITY_MODE = null

Field Value

Type Description
System.Byte

DEFAULT_MODE

Default mode.

Declaration
public const byte DEFAULT_MODE = null

Field Value

Type Description
System.Byte

Remarks

Activity and inactivity detection are both enabled, and their interrupts (if mapped) must be acknowledged by the host processor by reading the STATUS register. Auto-sleep is disabled in this mode. Use this mode for free fall detection applications.

INACTIVITY_ENABLE

Determine if inactivity mode is enabled (1) or disabled (0).

Declaration
public const byte INACTIVITY_ENABLE = null

Field Value

Type Description
System.Byte

INACTIVITY_MODE

Determine is inactivity mode is in reference (1) or absolute mode (0).

Declaration
public const byte INACTIVITY_MODE = null

Field Value

Type Description
System.Byte

LINKED_MODE

Link activity and inactivity.

Declaration
public const byte LINKED_MODE = null

Field Value

Type Description
System.Byte

Remarks

Activity and inactivity detection are linked sequentially such that only one is enabled at a time. Their interrupts (if mapped) must be acknowledged by the host processor by reading the STATUS register.

LOOP_MODE

Declaration
public const byte LOOP_MODE = null

Field Value

Type Description
System.Byte

Remarks

Activity and inactivity detection are linked sequentially such that only one is enabled at a time, and their interrupts are internally acknowledged (do not need to be serviced by the host processor). To use either linked or looped mode, both ACT_EN (Bit 0) and INACT_EN (Bit 2) must be set to 1; otherwise, the default mode is used. For additional information, refer to the Linking Activity and Inactivity Detection section.