rotaryb2 2.1.0.0
Rotary B 2 Registers Settings

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

Macros

#define ROTARYB2_SET_LED_OFF   0x0000u
 Rotary B 2 led data values.
 
#define ROTARYB2_SET_LED_DATA_1   0x0001u
 
#define ROTARYB2_SET_LED_DATA_2   0x0002u
 
#define ROTARYB2_SET_LED_DATA_3   0x0004u
 
#define ROTARYB2_SET_LED_DATA_4   0x0008u
 
#define ROTARYB2_SET_LED_DATA_5   0x0010u
 
#define ROTARYB2_SET_LED_DATA_6   0x0020u
 
#define ROTARYB2_SET_LED_DATA_7   0x0040u
 
#define ROTARYB2_SET_LED_DATA_8   0x0080u
 
#define ROTARYB2_SET_LED_DATA_9   0x0100u
 
#define ROTARYB2_SET_LED_DATA_10   0x0200u
 
#define ROTARYB2_SET_LED_DATA_11   0x0400u
 
#define ROTARYB2_SET_LED_DATA_12   0x0800u
 
#define ROTARYB2_SET_LED_DATA_13   0x1000u
 
#define ROTARYB2_SET_LED_DATA_14   0x2000u
 
#define ROTARYB2_SET_LED_DATA_15   0x4000u
 
#define ROTARYB2_SET_LED_DATA_16   0x8000u
 
#define ROTARYB2_SET_LED_POS_1   1
 Rotary B 2 led position values.
 
#define ROTARYB2_SET_LED_POS_2   2
 
#define ROTARYB2_SET_LED_POS_3   3
 
#define ROTARYB2_SET_LED_POS_4   4
 
#define ROTARYB2_SET_LED_POS_5   5
 
#define ROTARYB2_SET_LED_POS_6   6
 
#define ROTARYB2_SET_LED_POS_7   7
 
#define ROTARYB2_SET_LED_POS_8   8
 
#define ROTARYB2_SET_LED_POS_9   9
 
#define ROTARYB2_SET_LED_POS_10   10
 
#define ROTARYB2_SET_LED_POS_11   11
 
#define ROTARYB2_SET_LED_POS_12   12
 
#define ROTARYB2_SET_LED_POS_13   13
 
#define ROTARYB2_SET_LED_POS_14   14
 
#define ROTARYB2_SET_LED_POS_15   15
 
#define ROTARYB2_SET_LED_POS_16   16
 
#define ROTARYB2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ROTARYB2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Rotary B 2 Click driver.

Macro Definition Documentation

◆ ROTARYB2_SET_DATA_SAMPLE_EDGE

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

◆ ROTARYB2_SET_DATA_SAMPLE_MIDDLE

#define ROTARYB2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ROTARYB2_SET_LED_DATA_1

#define ROTARYB2_SET_LED_DATA_1   0x0001u

◆ ROTARYB2_SET_LED_DATA_10

#define ROTARYB2_SET_LED_DATA_10   0x0200u

◆ ROTARYB2_SET_LED_DATA_11

#define ROTARYB2_SET_LED_DATA_11   0x0400u

◆ ROTARYB2_SET_LED_DATA_12

#define ROTARYB2_SET_LED_DATA_12   0x0800u

◆ ROTARYB2_SET_LED_DATA_13

#define ROTARYB2_SET_LED_DATA_13   0x1000u

◆ ROTARYB2_SET_LED_DATA_14

#define ROTARYB2_SET_LED_DATA_14   0x2000u

◆ ROTARYB2_SET_LED_DATA_15

#define ROTARYB2_SET_LED_DATA_15   0x4000u

◆ ROTARYB2_SET_LED_DATA_16

#define ROTARYB2_SET_LED_DATA_16   0x8000u

◆ ROTARYB2_SET_LED_DATA_2

#define ROTARYB2_SET_LED_DATA_2   0x0002u

◆ ROTARYB2_SET_LED_DATA_3

#define ROTARYB2_SET_LED_DATA_3   0x0004u

◆ ROTARYB2_SET_LED_DATA_4

#define ROTARYB2_SET_LED_DATA_4   0x0008u

◆ ROTARYB2_SET_LED_DATA_5

#define ROTARYB2_SET_LED_DATA_5   0x0010u

◆ ROTARYB2_SET_LED_DATA_6

#define ROTARYB2_SET_LED_DATA_6   0x0020u

◆ ROTARYB2_SET_LED_DATA_7

#define ROTARYB2_SET_LED_DATA_7   0x0040u

◆ ROTARYB2_SET_LED_DATA_8

#define ROTARYB2_SET_LED_DATA_8   0x0080u

◆ ROTARYB2_SET_LED_DATA_9

#define ROTARYB2_SET_LED_DATA_9   0x0100u

◆ ROTARYB2_SET_LED_OFF

#define ROTARYB2_SET_LED_OFF   0x0000u

Rotary B 2 led data values.

Led data values of Rotary B 2 Click driver.

◆ ROTARYB2_SET_LED_POS_1

#define ROTARYB2_SET_LED_POS_1   1

Rotary B 2 led position values.

Led position values of Rotary B 2 Click driver.

◆ ROTARYB2_SET_LED_POS_10

#define ROTARYB2_SET_LED_POS_10   10

◆ ROTARYB2_SET_LED_POS_11

#define ROTARYB2_SET_LED_POS_11   11

◆ ROTARYB2_SET_LED_POS_12

#define ROTARYB2_SET_LED_POS_12   12

◆ ROTARYB2_SET_LED_POS_13

#define ROTARYB2_SET_LED_POS_13   13

◆ ROTARYB2_SET_LED_POS_14

#define ROTARYB2_SET_LED_POS_14   14

◆ ROTARYB2_SET_LED_POS_15

#define ROTARYB2_SET_LED_POS_15   15

◆ ROTARYB2_SET_LED_POS_16

#define ROTARYB2_SET_LED_POS_16   16

◆ ROTARYB2_SET_LED_POS_2

#define ROTARYB2_SET_LED_POS_2   2

◆ ROTARYB2_SET_LED_POS_3

#define ROTARYB2_SET_LED_POS_3   3

◆ ROTARYB2_SET_LED_POS_4

#define ROTARYB2_SET_LED_POS_4   4

◆ ROTARYB2_SET_LED_POS_5

#define ROTARYB2_SET_LED_POS_5   5

◆ ROTARYB2_SET_LED_POS_6

#define ROTARYB2_SET_LED_POS_6   6

◆ ROTARYB2_SET_LED_POS_7

#define ROTARYB2_SET_LED_POS_7   7

◆ ROTARYB2_SET_LED_POS_8

#define ROTARYB2_SET_LED_POS_8   8

◆ ROTARYB2_SET_LED_POS_9

#define ROTARYB2_SET_LED_POS_9   9