eeram3 2.0.0.0
EERAM 3 Registers Settings

Settings for registers of EERAM 3 Click driver. More...

Macros

#define EERAM3_RDY_BIT_MASK   0x01
 EERAM 3 status register bits mask.
 
#define EERAM3_WEL_BIT_MASK   0x02
 
#define EERAM3_BLOCK_PROTECT_BITS_MASK   0x0C
 
#define EERAM3_BLOCK_PROTECT_NONE   0x00
 
#define EERAM3_BLOCK_PROTECT_UPPER_QUARTER   0x04
 
#define EERAM3_BLOCK_PROTECT_UPPER_HALF   0x08
 
#define EERAM3_BLOCK_PROTECT_ALL   0x0C
 
#define EERAM3_SWM_BIT_MASK   0x10
 
#define EERAM3_PRO_BIT_MASK   0x20
 
#define EERAM3_ASE_BIT_MASK   0x40
 
#define EERAM3_MIN_ADDRESS   0x0000
 EERAM 3 memory address range.
 
#define EERAM3_MAX_ADDRESS   0x7FFF
 
#define EERAM3_MAX_PAGE_ADDRESS   0x3F
 
#define EERAM3_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define EERAM3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of EERAM 3 Click driver.

Macro Definition Documentation

◆ EERAM3_ASE_BIT_MASK

#define EERAM3_ASE_BIT_MASK   0x40

◆ EERAM3_BLOCK_PROTECT_ALL

#define EERAM3_BLOCK_PROTECT_ALL   0x0C

◆ EERAM3_BLOCK_PROTECT_BITS_MASK

#define EERAM3_BLOCK_PROTECT_BITS_MASK   0x0C

◆ EERAM3_BLOCK_PROTECT_NONE

#define EERAM3_BLOCK_PROTECT_NONE   0x00

◆ EERAM3_BLOCK_PROTECT_UPPER_HALF

#define EERAM3_BLOCK_PROTECT_UPPER_HALF   0x08

◆ EERAM3_BLOCK_PROTECT_UPPER_QUARTER

#define EERAM3_BLOCK_PROTECT_UPPER_QUARTER   0x04

◆ EERAM3_MAX_ADDRESS

#define EERAM3_MAX_ADDRESS   0x7FFF

◆ EERAM3_MAX_PAGE_ADDRESS

#define EERAM3_MAX_PAGE_ADDRESS   0x3F

◆ EERAM3_MIN_ADDRESS

#define EERAM3_MIN_ADDRESS   0x0000

EERAM 3 memory address range.

Specified memory address range of EERAM 3 Click driver.

◆ EERAM3_PRO_BIT_MASK

#define EERAM3_PRO_BIT_MASK   0x20

◆ EERAM3_RDY_BIT_MASK

#define EERAM3_RDY_BIT_MASK   0x01

EERAM 3 status register bits mask.

Specified bits mask for status register of EERAM 3 Click driver.

◆ EERAM3_SET_DATA_SAMPLE_EDGE

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

◆ EERAM3_SET_DATA_SAMPLE_MIDDLE

#define EERAM3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ EERAM3_SWM_BIT_MASK

#define EERAM3_SWM_BIT_MASK   0x10

◆ EERAM3_WEL_BIT_MASK

#define EERAM3_WEL_BIT_MASK   0x02