expand8 2.0.0.0
Expand 8 Registers Settings

Settings for registers of Expand 8 Click driver. More...

Macros

#define EXPAND8_ADDR_OUT_LVL_PORT_P0   0x00
 Expand 8 port adresses.
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P1   0x01
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P2   0x02
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P3   0x03
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P4   0x04
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P5   0x05
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P6   0x06
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P7   0x07
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P8   0x08
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P9   0x09
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P0_THROUGH_P9   0x0A
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P0_THROUGH_P3   0x0B
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P4_THROUGH_P7   0x0C
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P8_THROUGH_P9   0x0D
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P7_THROUGH_P0   0x0E
 
#define EXPAND8_ADDR_OUT_LVL_PORT_P9_THROUGH_P8   0x0F
 
#define EXPAND8_ADDR_RAM   0x13
 
#define EXPAND8_ADDR_NOP   0x20
 
#define EXPAND8_SET_LOW_IMPEDANCE   0x00
 Expand 8 impedance set values.
 
#define EXPAND8_SET_HIGH_IMPEDANCE   0xFF
 
#define EXPAND8_CMD_WRITE   0x00
 Expand 8 commands.
 
#define EXPAND8_CMD_READ   0x80
 
#define EXPAND8_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define EXPAND8_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Expand 8 Click driver.

Macro Definition Documentation

◆ EXPAND8_ADDR_NOP

#define EXPAND8_ADDR_NOP   0x20

◆ EXPAND8_ADDR_OUT_LVL_PORT_P0

#define EXPAND8_ADDR_OUT_LVL_PORT_P0   0x00

Expand 8 port adresses.

Specified port adresses of Expand 8 Click driver.

◆ EXPAND8_ADDR_OUT_LVL_PORT_P0_THROUGH_P3

#define EXPAND8_ADDR_OUT_LVL_PORT_P0_THROUGH_P3   0x0B

◆ EXPAND8_ADDR_OUT_LVL_PORT_P0_THROUGH_P9

#define EXPAND8_ADDR_OUT_LVL_PORT_P0_THROUGH_P9   0x0A

◆ EXPAND8_ADDR_OUT_LVL_PORT_P1

#define EXPAND8_ADDR_OUT_LVL_PORT_P1   0x01

◆ EXPAND8_ADDR_OUT_LVL_PORT_P2

#define EXPAND8_ADDR_OUT_LVL_PORT_P2   0x02

◆ EXPAND8_ADDR_OUT_LVL_PORT_P3

#define EXPAND8_ADDR_OUT_LVL_PORT_P3   0x03

◆ EXPAND8_ADDR_OUT_LVL_PORT_P4

#define EXPAND8_ADDR_OUT_LVL_PORT_P4   0x04

◆ EXPAND8_ADDR_OUT_LVL_PORT_P4_THROUGH_P7

#define EXPAND8_ADDR_OUT_LVL_PORT_P4_THROUGH_P7   0x0C

◆ EXPAND8_ADDR_OUT_LVL_PORT_P5

#define EXPAND8_ADDR_OUT_LVL_PORT_P5   0x05

◆ EXPAND8_ADDR_OUT_LVL_PORT_P6

#define EXPAND8_ADDR_OUT_LVL_PORT_P6   0x06

◆ EXPAND8_ADDR_OUT_LVL_PORT_P7

#define EXPAND8_ADDR_OUT_LVL_PORT_P7   0x07

◆ EXPAND8_ADDR_OUT_LVL_PORT_P7_THROUGH_P0

#define EXPAND8_ADDR_OUT_LVL_PORT_P7_THROUGH_P0   0x0E

◆ EXPAND8_ADDR_OUT_LVL_PORT_P8

#define EXPAND8_ADDR_OUT_LVL_PORT_P8   0x08

◆ EXPAND8_ADDR_OUT_LVL_PORT_P8_THROUGH_P9

#define EXPAND8_ADDR_OUT_LVL_PORT_P8_THROUGH_P9   0x0D

◆ EXPAND8_ADDR_OUT_LVL_PORT_P9

#define EXPAND8_ADDR_OUT_LVL_PORT_P9   0x09

◆ EXPAND8_ADDR_OUT_LVL_PORT_P9_THROUGH_P8

#define EXPAND8_ADDR_OUT_LVL_PORT_P9_THROUGH_P8   0x0F

◆ EXPAND8_ADDR_RAM

#define EXPAND8_ADDR_RAM   0x13

◆ EXPAND8_CMD_READ

#define EXPAND8_CMD_READ   0x80

◆ EXPAND8_CMD_WRITE

#define EXPAND8_CMD_WRITE   0x00

Expand 8 commands.

Specified commands of Expand 8 Click driver.

◆ EXPAND8_SET_DATA_SAMPLE_EDGE

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

◆ EXPAND8_SET_DATA_SAMPLE_MIDDLE

#define EXPAND8_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ EXPAND8_SET_HIGH_IMPEDANCE

#define EXPAND8_SET_HIGH_IMPEDANCE   0xFF

◆ EXPAND8_SET_LOW_IMPEDANCE

#define EXPAND8_SET_LOW_IMPEDANCE   0x00

Expand 8 impedance set values.

Specified impedance set values of Expand 8 Click driver.