angle9 2.1.0.0
Angle 9 Registers Settings

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

Macros

#define ANGLE9_WRITE_BIT   0x40
 Angle 9 SPI frame setting.
 
#define ANGLE9_DATA_RESOLUTION   0x0FFFu
 Angle 9 calculation values.
 
#define ANGLE9_FULL_CIRCLE   360.0f
 
#define ANGLE9_TEMP_RESOLUTION   8.0f
 
#define ANGLE9_TEMP_OFFSET   25.0f
 
#define ANGLE9_ODD_PARITY   0x01
 Angle 9 ODD parity flag.
 
#define ANGLE9_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ANGLE9_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Angle 9 Click driver.

Macro Definition Documentation

◆ ANGLE9_DATA_RESOLUTION

#define ANGLE9_DATA_RESOLUTION   0x0FFFu

Angle 9 calculation values.

Specified calculation values of Angle 9 Click driver.

◆ ANGLE9_FULL_CIRCLE

#define ANGLE9_FULL_CIRCLE   360.0f

◆ ANGLE9_ODD_PARITY

#define ANGLE9_ODD_PARITY   0x01

Angle 9 ODD parity flag.

Specified flag for ODD parity of Angle 9 Click driver.

◆ ANGLE9_SET_DATA_SAMPLE_EDGE

#define ANGLE9_SET_DATA_SAMPLE_EDGE   SET_SPI_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 angle9_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ ANGLE9_SET_DATA_SAMPLE_MIDDLE

#define ANGLE9_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ANGLE9_TEMP_OFFSET

#define ANGLE9_TEMP_OFFSET   25.0f

◆ ANGLE9_TEMP_RESOLUTION

#define ANGLE9_TEMP_RESOLUTION   8.0f

◆ ANGLE9_WRITE_BIT

#define ANGLE9_WRITE_BIT   0x40

Angle 9 SPI frame setting.

Specified SPI frame setting of Angle 9 Click driver.