My attempt to made a more useful lib. You can get the accelerator and magnetometer.

Fork of LSM303DLH by Michael Shimniok

Embed: (wiki syntax)

« Back to documentation index

Ctrl_Reg6_A_t Union Reference

Ctrl_Reg6_A_t Union Reference
[RegA]

CTRL_REG6_A structure definition. More...

#include <LSM303DLH_RegisterDef.h>

Data Fields

uint8_t byte
 Value in byte.
uint8_t _Reserved:1
 Do not use.
uint8_t H_LACTIVE:1
 Interrupt active high, low.
uint8_t __Reserved:1
 Do not use.
uint8_t P2_ACT:1
 Active function status on PAD2.
uint8_t BOOT_I1:1
 Reboot memory content on PAD2.
uint8_t I2_INT2:1
 Interrupt 2 on PAD2.
uint8_t I2_INT1:1
 Interrupt 1 on PAD2.
uint8_t I2_CLICKen:1
 CLICK interrupt on PAD2.

Detailed Description

CTRL_REG6_A structure definition.

Definition at line 108 of file LSM303DLH_RegisterDef.h.


Field Documentation

uint8_t __Reserved

Do not use.

Definition at line 114 of file LSM303DLH_RegisterDef.h.

uint8_t _Reserved

Do not use.

Definition at line 112 of file LSM303DLH_RegisterDef.h.

uint8_t BOOT_I1

Reboot memory content on PAD2.

Default value: 0.

Definition at line 116 of file LSM303DLH_RegisterDef.h.

uint8_t byte

Value in byte.

Definition at line 110 of file LSM303DLH_RegisterDef.h.

uint8_t H_LACTIVE

Interrupt active high, low.

Default value 0.

Definition at line 113 of file LSM303DLH_RegisterDef.h.

uint8_t I2_CLICKen

CLICK interrupt on PAD2.

Default value 0.

Definition at line 119 of file LSM303DLH_RegisterDef.h.

uint8_t I2_INT1

Interrupt 1 on PAD2.

Default value 0.

Definition at line 118 of file LSM303DLH_RegisterDef.h.

uint8_t I2_INT2

Interrupt 2 on PAD2.

Default value 0.

Definition at line 117 of file LSM303DLH_RegisterDef.h.

uint8_t P2_ACT

Active function status on PAD2.

Default value 0.

Definition at line 115 of file LSM303DLH_RegisterDef.h.