angle8 2.0.0.0
Angle 8 Registers Settings

Settings for registers of Angle 8 Click driver. More...

Macros

#define ANGLE8_ROTATION_DIRECTION_CW   0x00
 Angle 8 Rotation Direction register setting.
 
#define ANGLE8_ROTATION_DIRECTION_CCW   0x80
 
#define ANGLE8_RESOLUTION   0xFFFF
 Angle 8 Angle calculation values.
 
#define ANGLE8_FULL_CIRCLE   360.0
 
#define ANGLE8_CYCLE_TIME_MAX   6553.5
 Angle 8 Cycle time range values.
 
#define ANGLE8_CYCLE_TIME_100MS   100.0
 
#define ANGLE8_CYCLE_TIME_MIN   0.2
 
#define ANGLE8_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Angle 8 Rotation Direction register setting.
 
#define ANGLE8_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Angle 8 Click driver.

Macro Definition Documentation

◆ ANGLE8_CYCLE_TIME_100MS

#define ANGLE8_CYCLE_TIME_100MS   100.0

◆ ANGLE8_CYCLE_TIME_MAX

#define ANGLE8_CYCLE_TIME_MAX   6553.5

Angle 8 Cycle time range values.

Specified Cycle time range values of Angle 8 Click driver.

◆ ANGLE8_CYCLE_TIME_MIN

#define ANGLE8_CYCLE_TIME_MIN   0.2

◆ ANGLE8_FULL_CIRCLE

#define ANGLE8_FULL_CIRCLE   360.0

◆ ANGLE8_RESOLUTION

#define ANGLE8_RESOLUTION   0xFFFF

Angle 8 Angle calculation values.

Specified Angle calculation values of Angle 8 Click driver.

◆ ANGLE8_ROTATION_DIRECTION_CCW

#define ANGLE8_ROTATION_DIRECTION_CCW   0x80

◆ ANGLE8_ROTATION_DIRECTION_CW

#define ANGLE8_ROTATION_DIRECTION_CW   0x00

Angle 8 Rotation Direction register setting.

Specified setting for Rotation Direction register of Angle 8 Click driver.

◆ ANGLE8_SET_DATA_SAMPLE_EDGE

#define ANGLE8_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Angle 8 Rotation Direction register setting.

Specified setting for Rotation Direction register of Angle 8 Click driver.

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 angle8_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ ANGLE8_SET_DATA_SAMPLE_MIDDLE

#define ANGLE8_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE