flash12 2.1.0.0
Flash 12 Registers Settings

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

Macros

#define FLASH12_MANUFACTURER_ID   0x1F
 Flash 12 description setting.
 
#define FLASH12_DEVICE_ID   0x14
 
#define FLASH12_STATUS1_SRP0   0x80
 Flash 12 status register 1 settings.
 
#define FLASH12_STATUS1_BPSIZE   0x40
 
#define FLASH12_STATUS1_TB   0x20
 
#define FLASH12_STATUS1_WEL   0x02
 
#define FLASH12_STATUS1_BSY   0x01
 
#define FLASH12_MIN_ADDRESS   0x000000ul
 Flash 12 memory address range.
 
#define FLASH12_MAX_ADDRESS   0x07FFFFul
 
#define FLASH12_PAGE_SIZE   256
 
#define FLASH12_CMD_MAX_LEN   8
 
#define FLASH12_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define FLASH12_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Flash 12 Click driver.

Macro Definition Documentation

◆ FLASH12_CMD_MAX_LEN

#define FLASH12_CMD_MAX_LEN   8

◆ FLASH12_DEVICE_ID

#define FLASH12_DEVICE_ID   0x14

◆ FLASH12_MANUFACTURER_ID

#define FLASH12_MANUFACTURER_ID   0x1F

Flash 12 description setting.

Specified setting for description of Flash 12 Click driver.

◆ FLASH12_MAX_ADDRESS

#define FLASH12_MAX_ADDRESS   0x07FFFFul

◆ FLASH12_MIN_ADDRESS

#define FLASH12_MIN_ADDRESS   0x000000ul

Flash 12 memory address range.

Specified memory address range of Flash 12 Click driver.

◆ FLASH12_PAGE_SIZE

#define FLASH12_PAGE_SIZE   256

◆ FLASH12_SET_DATA_SAMPLE_EDGE

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

◆ FLASH12_SET_DATA_SAMPLE_MIDDLE

#define FLASH12_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ FLASH12_STATUS1_BPSIZE

#define FLASH12_STATUS1_BPSIZE   0x40

◆ FLASH12_STATUS1_BSY

#define FLASH12_STATUS1_BSY   0x01

◆ FLASH12_STATUS1_SRP0

#define FLASH12_STATUS1_SRP0   0x80

Flash 12 status register 1 settings.

Specified status register 1 settings of Flash 12 Click driver.

◆ FLASH12_STATUS1_TB

#define FLASH12_STATUS1_TB   0x20

◆ FLASH12_STATUS1_WEL

#define FLASH12_STATUS1_WEL   0x02