Settings for registers of Accel 30 Click driver.
More...
Settings for registers of Accel 30 Click driver.
◆ ACCEL30_DEVICE_ADDRESS_GND
#define ACCEL30_DEVICE_ADDRESS_GND 0x4C |
Accel 30 device address setting.
Specified setting for device slave address selection of Accel 30 Click driver.
◆ ACCEL30_DEVICE_ADDRESS_VCC
#define ACCEL30_DEVICE_ADDRESS_VCC 0x6C |
◆ ACCEL30_DMX_PN_DISABLE
#define ACCEL30_DMX_PN_DISABLE 0x00 |
◆ ACCEL30_DMX_RES_BIT_MASK
#define ACCEL30_DMX_RES_BIT_MASK 0x01 |
◆ ACCEL30_ENABLE_XYZ_AXIS_PD
#define ACCEL30_ENABLE_XYZ_AXIS_PD 0x00 |
◆ ACCEL30_FORCE_RESET
#define ACCEL30_FORCE_RESET 0x40 |
◆ ACCEL30_GAIN_BIT_MASK
#define ACCEL30_GAIN_BIT_MASK 0x3F |
◆ ACCEL30_I2C_ENABLE
#define ACCEL30_I2C_ENABLE 0x40 |
◆ ACCEL30_MODE_BIT_MASK [1/2]
#define ACCEL30_MODE_BIT_MASK 0xF0 |
Accel 30 description setting.
Specified setting for description of Accel 30 Click driver.
◆ ACCEL30_MODE_BIT_MASK [2/2]
#define ACCEL30_MODE_BIT_MASK 0xF0 |
Accel 30 description setting.
Specified setting for description of Accel 30 Click driver.
◆ ACCEL30_RANGE_BIT_MASK
#define ACCEL30_RANGE_BIT_MASK 0x07 |
◆ ACCEL30_RESOLUTION_BIT_MASK
#define ACCEL30_RESOLUTION_BIT_MASK 0x70 |
◆ ACCEL30_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with accel30_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ ACCEL30_SET_DATA_SAMPLE_MIDDLE
◆ ACCEL30_SPI_ENABLE
#define ACCEL30_SPI_ENABLE 0x80 |
◆ ACCEL30_TRIG_CMD_CONTINUOUS
#define ACCEL30_TRIG_CMD_CONTINUOUS 0x00 |
◆ ACCEL30_TRIG_CMD_ONE_SHOT
#define ACCEL30_TRIG_CMD_ONE_SHOT 0x01 |