digiisolator2 2.1.0.0
DIGI Isolator 2 Registers Settings

Settings for registers of DIGI Isolator 2 Click driver. More...

Macros

#define DIGIISOLATOR2_CHANNEL_IN1   0x01
 DIGI Isolator 2 input channel setting.
 
#define DIGIISOLATOR2_CHANNEL_IN2   0x02
 
#define DIGIISOLATOR2_CHANNEL_IN3   0x04
 
#define DIGIISOLATOR2_CHANNEL_IN4   0x08
 
#define DIGIISOLATOR2_CHANNEL_IN5   0x10
 
#define DIGIISOLATOR2_CHANNEL_IN6   0x20
 
#define DIGIISOLATOR2_CHANNEL_IN7   0x40
 
#define DIGIISOLATOR2_CHANNEL_IN8   0x80
 
#define DIGIISOLATOR2_CHANNEL_ALL   0xFF
 
#define DIGIISOLATOR2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define DIGIISOLATOR2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of DIGI Isolator 2 Click driver.

Macro Definition Documentation

◆ DIGIISOLATOR2_CHANNEL_ALL

#define DIGIISOLATOR2_CHANNEL_ALL   0xFF

◆ DIGIISOLATOR2_CHANNEL_IN1

#define DIGIISOLATOR2_CHANNEL_IN1   0x01

DIGI Isolator 2 input channel setting.

Specified setting for input channel of DIGI Isolator 2 Click driver.

◆ DIGIISOLATOR2_CHANNEL_IN2

#define DIGIISOLATOR2_CHANNEL_IN2   0x02

◆ DIGIISOLATOR2_CHANNEL_IN3

#define DIGIISOLATOR2_CHANNEL_IN3   0x04

◆ DIGIISOLATOR2_CHANNEL_IN4

#define DIGIISOLATOR2_CHANNEL_IN4   0x08

◆ DIGIISOLATOR2_CHANNEL_IN5

#define DIGIISOLATOR2_CHANNEL_IN5   0x10

◆ DIGIISOLATOR2_CHANNEL_IN6

#define DIGIISOLATOR2_CHANNEL_IN6   0x20

◆ DIGIISOLATOR2_CHANNEL_IN7

#define DIGIISOLATOR2_CHANNEL_IN7   0x40

◆ DIGIISOLATOR2_CHANNEL_IN8

#define DIGIISOLATOR2_CHANNEL_IN8   0x80

◆ DIGIISOLATOR2_SET_DATA_SAMPLE_EDGE

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

◆ DIGIISOLATOR2_SET_DATA_SAMPLE_MIDDLE

#define DIGIISOLATOR2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE