digiisolator 2.1.0.0
DIGI Isolator Registers Settings

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

Macros

#define DIGIISOLATOR_VREF_3V3   3.3
 DIGI Isolator ADC setting.
 
#define DIGIISOLATOR_VREF_5V   5.0
 
#define DIGIISOLATOR_TX_DRV_BUFFER_SIZE   100
 DIGI Isolator driver buffer size.
 
#define DIGIISOLATOR_RX_DRV_BUFFER_SIZE   300
 
#define DIGIISOLATOR_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define DIGIISOLATOR_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of DIGI Isolator Click driver.

Macro Definition Documentation

◆ DIGIISOLATOR_RX_DRV_BUFFER_SIZE

#define DIGIISOLATOR_RX_DRV_BUFFER_SIZE   300

◆ DIGIISOLATOR_SET_DATA_SAMPLE_EDGE

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

◆ DIGIISOLATOR_SET_DATA_SAMPLE_MIDDLE

#define DIGIISOLATOR_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ DIGIISOLATOR_TX_DRV_BUFFER_SIZE

#define DIGIISOLATOR_TX_DRV_BUFFER_SIZE   100

DIGI Isolator driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ DIGIISOLATOR_VREF_3V3

#define DIGIISOLATOR_VREF_3V3   3.3

DIGI Isolator ADC setting.

Specified settings for ADC of DIGI Isolator Click driver.

◆ DIGIISOLATOR_VREF_5V

#define DIGIISOLATOR_VREF_5V   5.0