eeprom9 2.1.0.0
EEPROM 9 Registers Settings

Settings for registers of EEPROM 9 Click driver. More...

Macros

#define EEPROM9_HOLD_DISABLE   0x00
 EEPROM 9 description setting.
 
#define EEPROM9_HOLD_ENABLE   0x01
 
#define EEPROM9_WRITE_PROTECT_DISABLE   0x00
 
#define EEPROM9_WRITE_PROTECT_ENABLE   0x01
 
#define EEPROM9_WRITE_ENABLE   0x00
 
#define EEPROM9_WRITE_DISABLE   0x01
 
#define EEPROM9_SRWD_MASK   0x80
 EEPROM 9 Status register setting.
 
#define EEPROM9_TB_MASK   0x40
 
#define EEPROM9_BP2_MASK   0x10
 
#define EEPROM9_BP1_MASK   0x08
 
#define EEPROM9_BP0_MASK   0x04
 
#define EEPROM9_WEL_MASK   0x02
 
#define EEPROM9_WIP_MASK   0x01
 
#define EEPROM9_ST_MANUFACTURER_CODE   0x20
 EEPROM 9 Manufacturer code.
 
#define EEPROM9_MEMORY_ADDR_START   0x00000000ul
 EEPROM 9 Memory address.
 
#define EEPROM9_MEMORY_ADDR_END   0x003FFFFFul
 
#define EEPROM9_CMD_WREN   0x06
 EEPROM 9 Commands.
 
#define EEPROM9_CMD_WRDI   0x04
 
#define EEPROM9_CMD_RDSR   0x05
 
#define EEPROM9_CMD_WRSR   0x01
 
#define EEPROM9_CMD_READ   0x03
 
#define EEPROM9_CMD_FREAD   0x0B
 
#define EEPROM9_CMD_FDREAD   0x3B
 
#define EEPROM9_CMD_FQREAD   0x6B
 
#define EEPROM9_CMD_PGWR   0x02
 
#define EEPROM9_CMD_PGPR   0x0A
 
#define EEPROM9_CMD_PGER   0xDB
 
#define EEPROM9_CMD_SCER   0x20
 
#define EEPROM9_CMD_BKER   0xD8
 
#define EEPROM9_CMD_CHER   0xC7
 
#define EEPROM9_CMD_RDID   0x83
 
#define EEPROM9_CMD_FRDID   0x8B
 
#define EEPROM9_CMD_WRID   0x82
 
#define EEPROM9_CMD_DPD   0xB9
 
#define EEPROM9_CMD_RDPD   0xAB
 
#define EEPROM9_CMD_JEDPC   0x9F
 
#define EEPROM9_CMD_RDCR   0x15
 
#define EEPROM9_CMD_RDVR   0x85
 
#define EEPROM9_CMD_WRVR   0x81
 
#define EEPROM9_CMD_CLRSF   0x50
 
#define EEPROM9_CMD_RDSFDP   0x5A
 
#define EEPROM9_CMD_RSTEN   0x66
 
#define EEPROM9_CMD_RESET   0x99
 
#define EEPROM9_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define EEPROM9_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of EEPROM 9 Click driver.

Macro Definition Documentation

◆ EEPROM9_BP0_MASK

#define EEPROM9_BP0_MASK   0x04

◆ EEPROM9_BP1_MASK

#define EEPROM9_BP1_MASK   0x08

◆ EEPROM9_BP2_MASK

#define EEPROM9_BP2_MASK   0x10

◆ EEPROM9_CMD_BKER

#define EEPROM9_CMD_BKER   0xD8

◆ EEPROM9_CMD_CHER

#define EEPROM9_CMD_CHER   0xC7

◆ EEPROM9_CMD_CLRSF

#define EEPROM9_CMD_CLRSF   0x50

◆ EEPROM9_CMD_DPD

#define EEPROM9_CMD_DPD   0xB9

◆ EEPROM9_CMD_FDREAD

#define EEPROM9_CMD_FDREAD   0x3B

◆ EEPROM9_CMD_FQREAD

#define EEPROM9_CMD_FQREAD   0x6B

◆ EEPROM9_CMD_FRDID

#define EEPROM9_CMD_FRDID   0x8B

◆ EEPROM9_CMD_FREAD

#define EEPROM9_CMD_FREAD   0x0B

◆ EEPROM9_CMD_JEDPC

#define EEPROM9_CMD_JEDPC   0x9F

◆ EEPROM9_CMD_PGER

#define EEPROM9_CMD_PGER   0xDB

◆ EEPROM9_CMD_PGPR

#define EEPROM9_CMD_PGPR   0x0A

◆ EEPROM9_CMD_PGWR

#define EEPROM9_CMD_PGWR   0x02

◆ EEPROM9_CMD_RDCR

#define EEPROM9_CMD_RDCR   0x15

◆ EEPROM9_CMD_RDID

#define EEPROM9_CMD_RDID   0x83

◆ EEPROM9_CMD_RDPD

#define EEPROM9_CMD_RDPD   0xAB

◆ EEPROM9_CMD_RDSFDP

#define EEPROM9_CMD_RDSFDP   0x5A

◆ EEPROM9_CMD_RDSR

#define EEPROM9_CMD_RDSR   0x05

◆ EEPROM9_CMD_RDVR

#define EEPROM9_CMD_RDVR   0x85

◆ EEPROM9_CMD_READ

#define EEPROM9_CMD_READ   0x03

◆ EEPROM9_CMD_RESET

#define EEPROM9_CMD_RESET   0x99

◆ EEPROM9_CMD_RSTEN

#define EEPROM9_CMD_RSTEN   0x66

◆ EEPROM9_CMD_SCER

#define EEPROM9_CMD_SCER   0x20

◆ EEPROM9_CMD_WRDI

#define EEPROM9_CMD_WRDI   0x04

◆ EEPROM9_CMD_WREN

#define EEPROM9_CMD_WREN   0x06

EEPROM 9 Commands.

Specified commands for description of EEPROM 9 Click driver.

◆ EEPROM9_CMD_WRID

#define EEPROM9_CMD_WRID   0x82

◆ EEPROM9_CMD_WRSR

#define EEPROM9_CMD_WRSR   0x01

◆ EEPROM9_CMD_WRVR

#define EEPROM9_CMD_WRVR   0x81

◆ EEPROM9_HOLD_DISABLE

#define EEPROM9_HOLD_DISABLE   0x00

EEPROM 9 description setting.

Specified setting for description of EEPROM 9 Click driver.

◆ EEPROM9_HOLD_ENABLE

#define EEPROM9_HOLD_ENABLE   0x01

◆ EEPROM9_MEMORY_ADDR_END

#define EEPROM9_MEMORY_ADDR_END   0x003FFFFFul

◆ EEPROM9_MEMORY_ADDR_START

#define EEPROM9_MEMORY_ADDR_START   0x00000000ul

EEPROM 9 Memory address.

Specified memory addresses of EEPROM 9 Click driver.

◆ EEPROM9_SET_DATA_SAMPLE_EDGE

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

◆ EEPROM9_SET_DATA_SAMPLE_MIDDLE

#define EEPROM9_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ EEPROM9_SRWD_MASK

#define EEPROM9_SRWD_MASK   0x80

EEPROM 9 Status register setting.

Specified status register settinge of EEPROM 9 Click driver.

◆ EEPROM9_ST_MANUFACTURER_CODE

#define EEPROM9_ST_MANUFACTURER_CODE   0x20

EEPROM 9 Manufacturer code.

Specified Manufacturer code of EEPROM 9 Click driver.

◆ EEPROM9_TB_MASK

#define EEPROM9_TB_MASK   0x40

◆ EEPROM9_WEL_MASK

#define EEPROM9_WEL_MASK   0x02

◆ EEPROM9_WIP_MASK

#define EEPROM9_WIP_MASK   0x01

◆ EEPROM9_WRITE_DISABLE

#define EEPROM9_WRITE_DISABLE   0x01

◆ EEPROM9_WRITE_ENABLE

#define EEPROM9_WRITE_ENABLE   0x00

◆ EEPROM9_WRITE_PROTECT_DISABLE

#define EEPROM9_WRITE_PROTECT_DISABLE   0x00

◆ EEPROM9_WRITE_PROTECT_ENABLE

#define EEPROM9_WRITE_PROTECT_ENABLE   0x01