flash11 2.1.0.0
Flash 11 Registers Settings

Settings for registers of Flash 11 Click driver. More...

Macros

#define FLASH11_STATUS1_SRP0_BIT_MASK   0x80
 Flash 11 description status register 1 bit assignments.
 
#define FLASH11_STATUS1_BP4_BIT_MASK   0x40
 
#define FLASH11_STATUS1_BP3_BIT_MASK   0x20
 
#define FLASH11_STATUS1_BP2_BIT_MASK   0x10
 
#define FLASH11_STATUS1_BP1_BIT_MASK   0x08
 
#define FLASH11_STATUS1_BP0_BIT_MASK   0x04
 
#define FLASH11_STATUS1_WEL_EN   0x02
 
#define FLASH11_STATUS1_WEL_DIS   0x00
 
#define FLASH11_STATUS1_BSY   0x01
 
#define FLASH11_STATUS1_RDY   0x00
 
#define FLASH11_MANUFACTURER_ID   0x1F
 Flash 11 description manufacturer and device ID.
 
#define FLASH11_DEVICE_ID_0   0x87
 
#define FLASH11_DEVICE_ID_1   0x01
 
#define FLASH11_MIN_ADDRESS   0x000000
 Flash 11 description status register 1 bit assignments.
 
#define FLASH11_MAX_ADDRESS   0x3FFFFFul
 
#define FLASH11_PAGE_SIZE   256
 
#define FLASH11_WRITE_PROTECT_ENABLE   0
 Flash 11 description of the write-protection pin logic state.
 
#define FLASH11_WRITE_PROTECT_DISABLE   1
 
#define FLASH11_HOLD_ENABLE   0
 Flash 11 description of the hold pin logic state.
 
#define FLASH11_HOLD_DISABLE   1
 
#define FLASH11_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define FLASH11_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Flash 11 Click driver.

Macro Definition Documentation

◆ FLASH11_DEVICE_ID_0

#define FLASH11_DEVICE_ID_0   0x87

◆ FLASH11_DEVICE_ID_1

#define FLASH11_DEVICE_ID_1   0x01

◆ FLASH11_HOLD_DISABLE

#define FLASH11_HOLD_DISABLE   1

◆ FLASH11_HOLD_ENABLE

#define FLASH11_HOLD_ENABLE   0

Flash 11 description of the hold pin logic state.

Specified hold pin logic state of Flash 11 Click driver.

◆ FLASH11_MANUFACTURER_ID

#define FLASH11_MANUFACTURER_ID   0x1F

Flash 11 description manufacturer and device ID.

Specified manufacturer and device ID of Flash 11 Click driver.

◆ FLASH11_MAX_ADDRESS

#define FLASH11_MAX_ADDRESS   0x3FFFFFul

◆ FLASH11_MIN_ADDRESS

#define FLASH11_MIN_ADDRESS   0x000000

Flash 11 description status register 1 bit assignments.

Specified status register 1 bit assignments of Flash 11 Click driver.

◆ FLASH11_PAGE_SIZE

#define FLASH11_PAGE_SIZE   256

◆ FLASH11_SET_DATA_SAMPLE_EDGE

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

◆ FLASH11_SET_DATA_SAMPLE_MIDDLE

#define FLASH11_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ FLASH11_STATUS1_BP0_BIT_MASK

#define FLASH11_STATUS1_BP0_BIT_MASK   0x04

◆ FLASH11_STATUS1_BP1_BIT_MASK

#define FLASH11_STATUS1_BP1_BIT_MASK   0x08

◆ FLASH11_STATUS1_BP2_BIT_MASK

#define FLASH11_STATUS1_BP2_BIT_MASK   0x10

◆ FLASH11_STATUS1_BP3_BIT_MASK

#define FLASH11_STATUS1_BP3_BIT_MASK   0x20

◆ FLASH11_STATUS1_BP4_BIT_MASK

#define FLASH11_STATUS1_BP4_BIT_MASK   0x40

◆ FLASH11_STATUS1_BSY

#define FLASH11_STATUS1_BSY   0x01

◆ FLASH11_STATUS1_RDY

#define FLASH11_STATUS1_RDY   0x00

◆ FLASH11_STATUS1_SRP0_BIT_MASK

#define FLASH11_STATUS1_SRP0_BIT_MASK   0x80

Flash 11 description status register 1 bit assignments.

Specified status register 1 bit assignments of Flash 11 Click driver.

◆ FLASH11_STATUS1_WEL_DIS

#define FLASH11_STATUS1_WEL_DIS   0x00

◆ FLASH11_STATUS1_WEL_EN

#define FLASH11_STATUS1_WEL_EN   0x02

◆ FLASH11_WRITE_PROTECT_DISABLE

#define FLASH11_WRITE_PROTECT_DISABLE   1

◆ FLASH11_WRITE_PROTECT_ENABLE

#define FLASH11_WRITE_PROTECT_ENABLE   0

Flash 11 description of the write-protection pin logic state.

Specified write-protection pin logic state of Flash 11 Click driver.