adswio 2.0.0.0

Topics

 MikroBUS
 
 Driver Abstract type
 
 Driver Error Handler type
 
 Error Code
 
 Readback Frame
 
 Readback Info Setup
 
 Results Registers Offset
 
 Random Macros
 
 Auto Read Setup
 
 Offset And Mask Setup
 
 Register Address
 
 Registers Setup
 
 Error Code
 
 Silicon Revision ID
 

Macros

#define ADSWIO_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ADSWIO_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Macro Definition Documentation

◆ ADSWIO_SET_DATA_SAMPLE_EDGE

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

◆ ADSWIO_SET_DATA_SAMPLE_MIDDLE

#define ADSWIO_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE