flash10 2.1.0.0
Flash 10 Registers Settings

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

Macros

#define FLASH10_STATUS_REG_1   1
 Flash 10 status register numbers.
 
#define FLASH10_STATUS_REG_2   2
 
#define FLASH10_STATUS_REG_3   3
 
#define FLASH10_STATUS_REG_4   4
 
#define FLASH10_STATUS_REG_5   5
 
#define FLASH10_STATUS1_SRP0   0x80
 Flash 10 status register 1 settings.
 
#define FLASH10_STATUS1_BPSIZE   0x40
 
#define FLASH10_STATUS1_TB   0x20
 
#define FLASH10_STATUS1_WEL   0x02
 
#define FLASH10_STATUS1_BSY   0x01
 
#define FLASH10_MIN_ADDRESS   0x000000
 Flash 10 memory address range.
 
#define FLASH10_MAX_ADDRESS   0x3FFFFFul
 
#define FLASH10_PAGE_SIZE   256
 
#define FLASH10_MANUFACTURER_ID   0x1F
 Flash 10 device ID.
 
#define FLASH10_DEVICE_ID   0x47
 
#define FLASH10_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define FLASH10_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Flash 10 Click driver.

Macro Definition Documentation

◆ FLASH10_DEVICE_ID

#define FLASH10_DEVICE_ID   0x47

◆ FLASH10_MANUFACTURER_ID

#define FLASH10_MANUFACTURER_ID   0x1F

Flash 10 device ID.

Specified device ID of Flash 10 Click driver.

◆ FLASH10_MAX_ADDRESS

#define FLASH10_MAX_ADDRESS   0x3FFFFFul

◆ FLASH10_MIN_ADDRESS

#define FLASH10_MIN_ADDRESS   0x000000

Flash 10 memory address range.

Specified memory address range of Flash 10 Click driver.

◆ FLASH10_PAGE_SIZE

#define FLASH10_PAGE_SIZE   256

◆ FLASH10_SET_DATA_SAMPLE_EDGE

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

◆ FLASH10_SET_DATA_SAMPLE_MIDDLE

#define FLASH10_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ FLASH10_STATUS1_BPSIZE

#define FLASH10_STATUS1_BPSIZE   0x40

◆ FLASH10_STATUS1_BSY

#define FLASH10_STATUS1_BSY   0x01

◆ FLASH10_STATUS1_SRP0

#define FLASH10_STATUS1_SRP0   0x80

Flash 10 status register 1 settings.

Specified status register 1 settings of Flash 10 Click driver.

◆ FLASH10_STATUS1_TB

#define FLASH10_STATUS1_TB   0x20

◆ FLASH10_STATUS1_WEL

#define FLASH10_STATUS1_WEL   0x02

◆ FLASH10_STATUS_REG_1

#define FLASH10_STATUS_REG_1   1

Flash 10 status register numbers.

Specified status register numbers of Flash 10 Click driver.

◆ FLASH10_STATUS_REG_2

#define FLASH10_STATUS_REG_2   2

◆ FLASH10_STATUS_REG_3

#define FLASH10_STATUS_REG_3   3

◆ FLASH10_STATUS_REG_4

#define FLASH10_STATUS_REG_4   4

◆ FLASH10_STATUS_REG_5

#define FLASH10_STATUS_REG_5   5