rotaryo2 2.1.0.0
Rotary O 2 Registers Settings

Settings for registers of Rotary O 2 Click driver. More...

Macros

#define ROTARYO2_SET_LED_OFF   0x0000u
 Rotary O 2 led data values.
 
#define ROTARYO2_SET_LED_DATA_1   0x0001u
 
#define ROTARYO2_SET_LED_DATA_2   0x0002u
 
#define ROTARYO2_SET_LED_DATA_3   0x0004u
 
#define ROTARYO2_SET_LED_DATA_4   0x0008u
 
#define ROTARYO2_SET_LED_DATA_5   0x0010u
 
#define ROTARYO2_SET_LED_DATA_6   0x0020u
 
#define ROTARYO2_SET_LED_DATA_7   0x0040u
 
#define ROTARYO2_SET_LED_DATA_8   0x0080u
 
#define ROTARYO2_SET_LED_DATA_9   0x0100u
 
#define ROTARYO2_SET_LED_DATA_10   0x0200u
 
#define ROTARYO2_SET_LED_DATA_11   0x0400u
 
#define ROTARYO2_SET_LED_DATA_12   0x0800u
 
#define ROTARYO2_SET_LED_DATA_13   0x1000u
 
#define ROTARYO2_SET_LED_DATA_14   0x2000u
 
#define ROTARYO2_SET_LED_DATA_15   0x4000u
 
#define ROTARYO2_SET_LED_DATA_16   0x8000u
 
#define ROTARYO2_SET_LED_POS_1   1
 Rotary O 2 led position values.
 
#define ROTARYO2_SET_LED_POS_2   2
 
#define ROTARYO2_SET_LED_POS_3   3
 
#define ROTARYO2_SET_LED_POS_4   4
 
#define ROTARYO2_SET_LED_POS_5   5
 
#define ROTARYO2_SET_LED_POS_6   6
 
#define ROTARYO2_SET_LED_POS_7   7
 
#define ROTARYO2_SET_LED_POS_8   8
 
#define ROTARYO2_SET_LED_POS_9   9
 
#define ROTARYO2_SET_LED_POS_10   10
 
#define ROTARYO2_SET_LED_POS_11   11
 
#define ROTARYO2_SET_LED_POS_12   12
 
#define ROTARYO2_SET_LED_POS_13   13
 
#define ROTARYO2_SET_LED_POS_14   14
 
#define ROTARYO2_SET_LED_POS_15   15
 
#define ROTARYO2_SET_LED_POS_16   16
 
#define ROTARYO2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ROTARYO2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Rotary O 2 Click driver.

Macro Definition Documentation

◆ ROTARYO2_SET_DATA_SAMPLE_EDGE

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

◆ ROTARYO2_SET_DATA_SAMPLE_MIDDLE

#define ROTARYO2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ROTARYO2_SET_LED_DATA_1

#define ROTARYO2_SET_LED_DATA_1   0x0001u

◆ ROTARYO2_SET_LED_DATA_10

#define ROTARYO2_SET_LED_DATA_10   0x0200u

◆ ROTARYO2_SET_LED_DATA_11

#define ROTARYO2_SET_LED_DATA_11   0x0400u

◆ ROTARYO2_SET_LED_DATA_12

#define ROTARYO2_SET_LED_DATA_12   0x0800u

◆ ROTARYO2_SET_LED_DATA_13

#define ROTARYO2_SET_LED_DATA_13   0x1000u

◆ ROTARYO2_SET_LED_DATA_14

#define ROTARYO2_SET_LED_DATA_14   0x2000u

◆ ROTARYO2_SET_LED_DATA_15

#define ROTARYO2_SET_LED_DATA_15   0x4000u

◆ ROTARYO2_SET_LED_DATA_16

#define ROTARYO2_SET_LED_DATA_16   0x8000u

◆ ROTARYO2_SET_LED_DATA_2

#define ROTARYO2_SET_LED_DATA_2   0x0002u

◆ ROTARYO2_SET_LED_DATA_3

#define ROTARYO2_SET_LED_DATA_3   0x0004u

◆ ROTARYO2_SET_LED_DATA_4

#define ROTARYO2_SET_LED_DATA_4   0x0008u

◆ ROTARYO2_SET_LED_DATA_5

#define ROTARYO2_SET_LED_DATA_5   0x0010u

◆ ROTARYO2_SET_LED_DATA_6

#define ROTARYO2_SET_LED_DATA_6   0x0020u

◆ ROTARYO2_SET_LED_DATA_7

#define ROTARYO2_SET_LED_DATA_7   0x0040u

◆ ROTARYO2_SET_LED_DATA_8

#define ROTARYO2_SET_LED_DATA_8   0x0080u

◆ ROTARYO2_SET_LED_DATA_9

#define ROTARYO2_SET_LED_DATA_9   0x0100u

◆ ROTARYO2_SET_LED_OFF

#define ROTARYO2_SET_LED_OFF   0x0000u

Rotary O 2 led data values.

Led data values of Rotary O 2 Click driver.

◆ ROTARYO2_SET_LED_POS_1

#define ROTARYO2_SET_LED_POS_1   1

Rotary O 2 led position values.

Led position values of Rotary O 2 Click driver.

◆ ROTARYO2_SET_LED_POS_10

#define ROTARYO2_SET_LED_POS_10   10

◆ ROTARYO2_SET_LED_POS_11

#define ROTARYO2_SET_LED_POS_11   11

◆ ROTARYO2_SET_LED_POS_12

#define ROTARYO2_SET_LED_POS_12   12

◆ ROTARYO2_SET_LED_POS_13

#define ROTARYO2_SET_LED_POS_13   13

◆ ROTARYO2_SET_LED_POS_14

#define ROTARYO2_SET_LED_POS_14   14

◆ ROTARYO2_SET_LED_POS_15

#define ROTARYO2_SET_LED_POS_15   15

◆ ROTARYO2_SET_LED_POS_16

#define ROTARYO2_SET_LED_POS_16   16

◆ ROTARYO2_SET_LED_POS_2

#define ROTARYO2_SET_LED_POS_2   2

◆ ROTARYO2_SET_LED_POS_3

#define ROTARYO2_SET_LED_POS_3   3

◆ ROTARYO2_SET_LED_POS_4

#define ROTARYO2_SET_LED_POS_4   4

◆ ROTARYO2_SET_LED_POS_5

#define ROTARYO2_SET_LED_POS_5   5

◆ ROTARYO2_SET_LED_POS_6

#define ROTARYO2_SET_LED_POS_6   6

◆ ROTARYO2_SET_LED_POS_7

#define ROTARYO2_SET_LED_POS_7   7

◆ ROTARYO2_SET_LED_POS_8

#define ROTARYO2_SET_LED_POS_8   8

◆ ROTARYO2_SET_LED_POS_9

#define ROTARYO2_SET_LED_POS_9   9