reram2 2.0.0.0
ReRAM 2 Registers Settings

Settings for registers of ReRAM 2 Click driver. More...

Macros

#define RERAM2_DEVICE_ID   0x047FAA03
 ReRAM 2 Device ID values.
 
#define RERAM2_MANUFACTURER_ID   0x04
 
#define RERAM2_CONTINUATION_CODE   0x7F
 
#define RERAM2_PRODUCT_ID   0xAA03
 
#define RERAM2_HOLD_ENABLE   0x00
 ReRAM 2 Hold pin state.
 
#define RERAM2_HOLD_DISABLE   0x01
 
#define RERAM2_WP_ENABLE   0x00
 ReRAM 2 Write protect pin state.
 
#define RERAM2_WP_DISABLE   0x01
 
#define RERAM2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define RERAM2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of ReRAM 2 Click driver.

Macro Definition Documentation

◆ RERAM2_CONTINUATION_CODE

#define RERAM2_CONTINUATION_CODE   0x7F

◆ RERAM2_DEVICE_ID

#define RERAM2_DEVICE_ID   0x047FAA03

ReRAM 2 Device ID values.

Specified Device ID values for description of ReRAM 2 Click driver.

◆ RERAM2_HOLD_DISABLE

#define RERAM2_HOLD_DISABLE   0x01

◆ RERAM2_HOLD_ENABLE

#define RERAM2_HOLD_ENABLE   0x00

ReRAM 2 Hold pin state.

Specified Hold pin state for description of ReRAM 2 Click driver.

◆ RERAM2_MANUFACTURER_ID

#define RERAM2_MANUFACTURER_ID   0x04

◆ RERAM2_PRODUCT_ID

#define RERAM2_PRODUCT_ID   0xAA03

◆ RERAM2_SET_DATA_SAMPLE_EDGE

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

◆ RERAM2_SET_DATA_SAMPLE_MIDDLE

#define RERAM2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ RERAM2_WP_DISABLE

#define RERAM2_WP_DISABLE   0x01

◆ RERAM2_WP_ENABLE

#define RERAM2_WP_ENABLE   0x00

ReRAM 2 Write protect pin state.

Specified Write protect pin state for description of ReRAM 2 Click driver.