rotaryw2 2.1.0.0
Rotary W 2 Registers Settings

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

Macros

#define ROTARYW2_SET_LED_OFF   0x0000u
 Rotary W 2 led data values.
 
#define ROTARYW2_SET_LED_DATA_1   0x0001u
 
#define ROTARYW2_SET_LED_DATA_2   0x0002u
 
#define ROTARYW2_SET_LED_DATA_3   0x0004u
 
#define ROTARYW2_SET_LED_DATA_4   0x0008u
 
#define ROTARYW2_SET_LED_DATA_5   0x0010u
 
#define ROTARYW2_SET_LED_DATA_6   0x0020u
 
#define ROTARYW2_SET_LED_DATA_7   0x0040u
 
#define ROTARYW2_SET_LED_DATA_8   0x0080u
 
#define ROTARYW2_SET_LED_DATA_9   0x0100u
 
#define ROTARYW2_SET_LED_DATA_10   0x0200u
 
#define ROTARYW2_SET_LED_DATA_11   0x0400u
 
#define ROTARYW2_SET_LED_DATA_12   0x0800u
 
#define ROTARYW2_SET_LED_DATA_13   0x1000u
 
#define ROTARYW2_SET_LED_DATA_14   0x2000u
 
#define ROTARYW2_SET_LED_DATA_15   0x4000u
 
#define ROTARYW2_SET_LED_DATA_16   0x8000u
 
#define ROTARYW2_SET_LED_POS_1   1
 Rotary W 2 led position values.
 
#define ROTARYW2_SET_LED_POS_2   2
 
#define ROTARYW2_SET_LED_POS_3   3
 
#define ROTARYW2_SET_LED_POS_4   4
 
#define ROTARYW2_SET_LED_POS_5   5
 
#define ROTARYW2_SET_LED_POS_6   6
 
#define ROTARYW2_SET_LED_POS_7   7
 
#define ROTARYW2_SET_LED_POS_8   8
 
#define ROTARYW2_SET_LED_POS_9   9
 
#define ROTARYW2_SET_LED_POS_10   10
 
#define ROTARYW2_SET_LED_POS_11   11
 
#define ROTARYW2_SET_LED_POS_12   12
 
#define ROTARYW2_SET_LED_POS_13   13
 
#define ROTARYW2_SET_LED_POS_14   14
 
#define ROTARYW2_SET_LED_POS_15   15
 
#define ROTARYW2_SET_LED_POS_16   16
 
#define ROTARYW2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ROTARYW2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Rotary W 2 Click driver.

Macro Definition Documentation

◆ ROTARYW2_SET_DATA_SAMPLE_EDGE

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

◆ ROTARYW2_SET_DATA_SAMPLE_MIDDLE

#define ROTARYW2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ROTARYW2_SET_LED_DATA_1

#define ROTARYW2_SET_LED_DATA_1   0x0001u

◆ ROTARYW2_SET_LED_DATA_10

#define ROTARYW2_SET_LED_DATA_10   0x0200u

◆ ROTARYW2_SET_LED_DATA_11

#define ROTARYW2_SET_LED_DATA_11   0x0400u

◆ ROTARYW2_SET_LED_DATA_12

#define ROTARYW2_SET_LED_DATA_12   0x0800u

◆ ROTARYW2_SET_LED_DATA_13

#define ROTARYW2_SET_LED_DATA_13   0x1000u

◆ ROTARYW2_SET_LED_DATA_14

#define ROTARYW2_SET_LED_DATA_14   0x2000u

◆ ROTARYW2_SET_LED_DATA_15

#define ROTARYW2_SET_LED_DATA_15   0x4000u

◆ ROTARYW2_SET_LED_DATA_16

#define ROTARYW2_SET_LED_DATA_16   0x8000u

◆ ROTARYW2_SET_LED_DATA_2

#define ROTARYW2_SET_LED_DATA_2   0x0002u

◆ ROTARYW2_SET_LED_DATA_3

#define ROTARYW2_SET_LED_DATA_3   0x0004u

◆ ROTARYW2_SET_LED_DATA_4

#define ROTARYW2_SET_LED_DATA_4   0x0008u

◆ ROTARYW2_SET_LED_DATA_5

#define ROTARYW2_SET_LED_DATA_5   0x0010u

◆ ROTARYW2_SET_LED_DATA_6

#define ROTARYW2_SET_LED_DATA_6   0x0020u

◆ ROTARYW2_SET_LED_DATA_7

#define ROTARYW2_SET_LED_DATA_7   0x0040u

◆ ROTARYW2_SET_LED_DATA_8

#define ROTARYW2_SET_LED_DATA_8   0x0080u

◆ ROTARYW2_SET_LED_DATA_9

#define ROTARYW2_SET_LED_DATA_9   0x0100u

◆ ROTARYW2_SET_LED_OFF

#define ROTARYW2_SET_LED_OFF   0x0000u

Rotary W 2 led data values.

Led data values of Rotary W 2 Click driver.

◆ ROTARYW2_SET_LED_POS_1

#define ROTARYW2_SET_LED_POS_1   1

Rotary W 2 led position values.

Led position values of Rotary W 2 Click driver.

◆ ROTARYW2_SET_LED_POS_10

#define ROTARYW2_SET_LED_POS_10   10

◆ ROTARYW2_SET_LED_POS_11

#define ROTARYW2_SET_LED_POS_11   11

◆ ROTARYW2_SET_LED_POS_12

#define ROTARYW2_SET_LED_POS_12   12

◆ ROTARYW2_SET_LED_POS_13

#define ROTARYW2_SET_LED_POS_13   13

◆ ROTARYW2_SET_LED_POS_14

#define ROTARYW2_SET_LED_POS_14   14

◆ ROTARYW2_SET_LED_POS_15

#define ROTARYW2_SET_LED_POS_15   15

◆ ROTARYW2_SET_LED_POS_16

#define ROTARYW2_SET_LED_POS_16   16

◆ ROTARYW2_SET_LED_POS_2

#define ROTARYW2_SET_LED_POS_2   2

◆ ROTARYW2_SET_LED_POS_3

#define ROTARYW2_SET_LED_POS_3   3

◆ ROTARYW2_SET_LED_POS_4

#define ROTARYW2_SET_LED_POS_4   4

◆ ROTARYW2_SET_LED_POS_5

#define ROTARYW2_SET_LED_POS_5   5

◆ ROTARYW2_SET_LED_POS_6

#define ROTARYW2_SET_LED_POS_6   6

◆ ROTARYW2_SET_LED_POS_7

#define ROTARYW2_SET_LED_POS_7   7

◆ ROTARYW2_SET_LED_POS_8

#define ROTARYW2_SET_LED_POS_8   8

◆ ROTARYW2_SET_LED_POS_9

#define ROTARYW2_SET_LED_POS_9   9