fram6 2.0.0.0
FRAM 6 Registers Settings

Settings for registers of FRAM 6 Click driver. More...

Macros

#define FRAM6_WEL_BIT_MASK   0x02
 FRAM 6 status register bits mask.
 
#define FRAM6_BLOCK_PROTECT_BITS_MASK   0x0C
 
#define FRAM6_BLOCK_PROTECT_NONE   0x00
 
#define FRAM6_BLOCK_PROTECT_UPPER_QUARTER   0x04
 
#define FRAM6_BLOCK_PROTECT_UPPER_HALF   0x08
 
#define FRAM6_BLOCK_PROTECT_ALL   0x0C
 
#define FRAM6_WPEN_BIT_MASK   0x80
 
#define FRAM6_MIN_ADDRESS   0x00000
 FRAM 6 memory address range.
 
#define FRAM6_MAX_ADDRESS   0x3FFFF
 
#define FRAM6_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define FRAM6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of FRAM 6 Click driver.

Macro Definition Documentation

◆ FRAM6_BLOCK_PROTECT_ALL

#define FRAM6_BLOCK_PROTECT_ALL   0x0C

◆ FRAM6_BLOCK_PROTECT_BITS_MASK

#define FRAM6_BLOCK_PROTECT_BITS_MASK   0x0C

◆ FRAM6_BLOCK_PROTECT_NONE

#define FRAM6_BLOCK_PROTECT_NONE   0x00

◆ FRAM6_BLOCK_PROTECT_UPPER_HALF

#define FRAM6_BLOCK_PROTECT_UPPER_HALF   0x08

◆ FRAM6_BLOCK_PROTECT_UPPER_QUARTER

#define FRAM6_BLOCK_PROTECT_UPPER_QUARTER   0x04

◆ FRAM6_MAX_ADDRESS

#define FRAM6_MAX_ADDRESS   0x3FFFF

◆ FRAM6_MIN_ADDRESS

#define FRAM6_MIN_ADDRESS   0x00000

FRAM 6 memory address range.

Specified memory address range of FRAM 6 Click driver.

◆ FRAM6_SET_DATA_SAMPLE_EDGE

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

◆ FRAM6_SET_DATA_SAMPLE_MIDDLE

#define FRAM6_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ FRAM6_WEL_BIT_MASK

#define FRAM6_WEL_BIT_MASK   0x02

FRAM 6 status register bits mask.

Specified bits mask for status register of FRAM 6 Click driver.

◆ FRAM6_WPEN_BIT_MASK

#define FRAM6_WPEN_BIT_MASK   0x80