- Main Page
- Data Structures
- Files
- Directories

- Data Structures
- Data Fields

# XIsf Struct Reference

`#include <xilisf.h>`

## Data Fields
u8 | IsReady
u16 | BytesPerPage
u16 | PagesPerBlock
u16 | BlocksPerSector
u16 | NumOfSectors
u8 | AddrMode
u16 | DeviceCode
XIsf_Iface * | SpiInstPtr
u32 | SpiSlaveSelect
u8 * | WriteBufPtr
u16 | ByteMask
u8 | RegDone
u8 | IntrMode

## Detailed Description

The following definition specifies the instance structure of the Serial Flash.

## Field Documentation

u8 XIsf::AddrMode

| Type of addressing in Atmel Serial Flash 0 - Default/Normal Addressing Mode 1 - Power-Of-2 Addressing Mode

u16 XIsf::BlocksPerSector

| Number of Blocks per Sector, this is valid for ATMEL devices

u16 XIsf::ByteMask

| Mask used for Address translation in Atmel devices

u16 XIsf::BytesPerPage

| Number of Bytes per Page

u16 XIsf::DeviceCode

| The Serial Flash Device Code

u8 XIsf::IntrMode

| Operating Mode flag Interrupt/Polling

u8 XIsf::IsReady

| Is Device is ready for operation

u16 XIsf::NumOfSectors

| Number of Sectors in Serial Flash

u16 XIsf::PagesPerBlock

| This is Number of Pages per block, for Atmel and it is Number of Pages per sector for Intel/STM/Winbond/Spansion

u8 XIsf::RegDone

| Registration Done flag

XIsf_Iface* XIsf::SpiInstPtr

| SPI Device Instance pointer

u32 XIsf::SpiSlaveSelect

| SPI Slave select for the Serial Flash

u8* XIsf::WriteBufPtr

| Pointer to Write Buffer

The documentation for this struct was generated from the following file:

- xilisf.h