rotaryr2  2.1.0.0
Macros

Macros

#define ROTARYR2_SET_LED_OFF   0x0000u
 Rotary R 2 led data values. More...
 
#define ROTARYR2_SET_LED_DATA_1   0x0001u
 
#define ROTARYR2_SET_LED_DATA_2   0x0002u
 
#define ROTARYR2_SET_LED_DATA_3   0x0004u
 
#define ROTARYR2_SET_LED_DATA_4   0x0008u
 
#define ROTARYR2_SET_LED_DATA_5   0x0010u
 
#define ROTARYR2_SET_LED_DATA_6   0x0020u
 
#define ROTARYR2_SET_LED_DATA_7   0x0040u
 
#define ROTARYR2_SET_LED_DATA_8   0x0080u
 
#define ROTARYR2_SET_LED_DATA_9   0x0100u
 
#define ROTARYR2_SET_LED_DATA_10   0x0200u
 
#define ROTARYR2_SET_LED_DATA_11   0x0400u
 
#define ROTARYR2_SET_LED_DATA_12   0x0800u
 
#define ROTARYR2_SET_LED_DATA_13   0x1000u
 
#define ROTARYR2_SET_LED_DATA_14   0x2000u
 
#define ROTARYR2_SET_LED_DATA_15   0x4000u
 
#define ROTARYR2_SET_LED_DATA_16   0x8000u
 
#define ROTARYR2_SET_LED_POS_1   1
 Rotary R 2 led position values. More...
 
#define ROTARYR2_SET_LED_POS_2   2
 
#define ROTARYR2_SET_LED_POS_3   3
 
#define ROTARYR2_SET_LED_POS_4   4
 
#define ROTARYR2_SET_LED_POS_5   5
 
#define ROTARYR2_SET_LED_POS_6   6
 
#define ROTARYR2_SET_LED_POS_7   7
 
#define ROTARYR2_SET_LED_POS_8   8
 
#define ROTARYR2_SET_LED_POS_9   9
 
#define ROTARYR2_SET_LED_POS_10   10
 
#define ROTARYR2_SET_LED_POS_11   11
 
#define ROTARYR2_SET_LED_POS_12   12
 
#define ROTARYR2_SET_LED_POS_13   13
 
#define ROTARYR2_SET_LED_POS_14   14
 
#define ROTARYR2_SET_LED_POS_15   15
 
#define ROTARYR2_SET_LED_POS_16   16
 
#define ROTARYR2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection. More...
 
#define ROTARYR2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Macro Definition Documentation

◆ ROTARYR2_SET_DATA_SAMPLE_EDGE

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

◆ ROTARYR2_SET_DATA_SAMPLE_MIDDLE

#define ROTARYR2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ROTARYR2_SET_LED_DATA_1

#define ROTARYR2_SET_LED_DATA_1   0x0001u

◆ ROTARYR2_SET_LED_DATA_10

#define ROTARYR2_SET_LED_DATA_10   0x0200u

◆ ROTARYR2_SET_LED_DATA_11

#define ROTARYR2_SET_LED_DATA_11   0x0400u

◆ ROTARYR2_SET_LED_DATA_12

#define ROTARYR2_SET_LED_DATA_12   0x0800u

◆ ROTARYR2_SET_LED_DATA_13

#define ROTARYR2_SET_LED_DATA_13   0x1000u

◆ ROTARYR2_SET_LED_DATA_14

#define ROTARYR2_SET_LED_DATA_14   0x2000u

◆ ROTARYR2_SET_LED_DATA_15

#define ROTARYR2_SET_LED_DATA_15   0x4000u

◆ ROTARYR2_SET_LED_DATA_16

#define ROTARYR2_SET_LED_DATA_16   0x8000u

◆ ROTARYR2_SET_LED_DATA_2

#define ROTARYR2_SET_LED_DATA_2   0x0002u

◆ ROTARYR2_SET_LED_DATA_3

#define ROTARYR2_SET_LED_DATA_3   0x0004u

◆ ROTARYR2_SET_LED_DATA_4

#define ROTARYR2_SET_LED_DATA_4   0x0008u

◆ ROTARYR2_SET_LED_DATA_5

#define ROTARYR2_SET_LED_DATA_5   0x0010u

◆ ROTARYR2_SET_LED_DATA_6

#define ROTARYR2_SET_LED_DATA_6   0x0020u

◆ ROTARYR2_SET_LED_DATA_7

#define ROTARYR2_SET_LED_DATA_7   0x0040u

◆ ROTARYR2_SET_LED_DATA_8

#define ROTARYR2_SET_LED_DATA_8   0x0080u

◆ ROTARYR2_SET_LED_DATA_9

#define ROTARYR2_SET_LED_DATA_9   0x0100u

◆ ROTARYR2_SET_LED_OFF

#define ROTARYR2_SET_LED_OFF   0x0000u

Rotary R 2 led data values.

Led data values of Rotary R 2 Click driver.

◆ ROTARYR2_SET_LED_POS_1

#define ROTARYR2_SET_LED_POS_1   1

Rotary R 2 led position values.

Led position values of Rotary R 2 Click driver.

◆ ROTARYR2_SET_LED_POS_10

#define ROTARYR2_SET_LED_POS_10   10

◆ ROTARYR2_SET_LED_POS_11

#define ROTARYR2_SET_LED_POS_11   11

◆ ROTARYR2_SET_LED_POS_12

#define ROTARYR2_SET_LED_POS_12   12

◆ ROTARYR2_SET_LED_POS_13

#define ROTARYR2_SET_LED_POS_13   13

◆ ROTARYR2_SET_LED_POS_14

#define ROTARYR2_SET_LED_POS_14   14

◆ ROTARYR2_SET_LED_POS_15

#define ROTARYR2_SET_LED_POS_15   15

◆ ROTARYR2_SET_LED_POS_16

#define ROTARYR2_SET_LED_POS_16   16

◆ ROTARYR2_SET_LED_POS_2

#define ROTARYR2_SET_LED_POS_2   2

◆ ROTARYR2_SET_LED_POS_3

#define ROTARYR2_SET_LED_POS_3   3

◆ ROTARYR2_SET_LED_POS_4

#define ROTARYR2_SET_LED_POS_4   4

◆ ROTARYR2_SET_LED_POS_5

#define ROTARYR2_SET_LED_POS_5   5

◆ ROTARYR2_SET_LED_POS_6

#define ROTARYR2_SET_LED_POS_6   6

◆ ROTARYR2_SET_LED_POS_7

#define ROTARYR2_SET_LED_POS_7   7

◆ ROTARYR2_SET_LED_POS_8

#define ROTARYR2_SET_LED_POS_8   8

◆ ROTARYR2_SET_LED_POS_9

#define ROTARYR2_SET_LED_POS_9   9