| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros
SPIM Exported Constants
Standard Driver » SPIM Driver

## Macros
#define | SPIM_DMM_MAP_ADDR
#define | SPIM_DMM_SIZE
#define | SPIM_CCM_ADDR
#define | SPIM_CCM_SIZE
#define | SPIM_CTL0_RW_IN(x)
#define | SPIM_CTL0_BITMODE_SING
#define | SPIM_CTL0_BITMODE_DUAL
#define | SPIM_CTL0_BITMODE_QUAD
#define | SPIM_CTL0_OPMODE_IO
#define | SPIM_CTL0_OPMODE_PAGEWRITE
#define | SPIM_CTL0_OPMODE_PAGEREAD
#define | SPIM_CTL0_OPMODE_DIRECTMAP
#define | CMD_NORMAL_PAGE_PROGRAM
#define | CMD_NORMAL_PAGE_PROGRAM_4B
#define | CMD_QUAD_PAGE_PROGRAM_WINBOND
#define | CMD_QUAD_PAGE_PROGRAM_MXIC
#define | CMD_QUAD_PAGE_PROGRAM_EON
#define | CMD_DMA_NORMAL_READ
#define | CMD_DMA_FAST_READ
#define | CMD_DMA_NORMAL_DUAL_READ
#define | CMD_DMA_FAST_READ_DUAL_OUTPUT
#define | CMD_DMA_FAST_READ_QUAD_OUTPUT
#define | CMD_DMA_FAST_DUAL_READ
#define | CMD_DMA_NORMAL_QUAD_READ
#define | CMD_DMA_FAST_QUAD_READ

## Detailed Description

## Macro Definition Documentation

## ◆ CMD_DMA_FAST_DUAL_READ

#define CMD_DMA_FAST_DUAL_READ

SPIM_CTL0: Fast Read Dual Output (Page Read Mode Use)

Definition at line 63 of file spim.h.

## ◆ CMD_DMA_FAST_QUAD_READ

#define CMD_DMA_FAST_QUAD_READ

SPIM_CTL0: Fast Read Quad I/O (Page Read Mode Use)

Definition at line 65 of file spim.h.

## ◆ CMD_DMA_FAST_READ

#define CMD_DMA_FAST_READ

SPIM_CTL0: Fast Read (Page Read Mode Use)

Definition at line 59 of file spim.h.

## ◆ CMD_DMA_FAST_READ_DUAL_OUTPUT

#define CMD_DMA_FAST_READ_DUAL_OUTPUT

SPIM_CTL0: Fast Read Dual Output (Page Read Mode Use)

Definition at line 61 of file spim.h.

## ◆ CMD_DMA_FAST_READ_QUAD_OUTPUT

#define CMD_DMA_FAST_READ_QUAD_OUTPUT

SPIM_CTL0: Fast Read Dual Output (Page Read Mode Use)

Definition at line 62 of file spim.h.

## ◆ CMD_DMA_NORMAL_DUAL_READ

#define CMD_DMA_NORMAL_DUAL_READ

SPIM_CTL0: Fast Read Dual Output (Page Read Mode Use)

Definition at line 60 of file spim.h.

## ◆ CMD_DMA_NORMAL_QUAD_READ

#define CMD_DMA_NORMAL_QUAD_READ

SPIM_CTL0: Fast Read Quad I/O (Page Read Mode Use)

Definition at line 64 of file spim.h.

## ◆ CMD_DMA_NORMAL_READ

#define CMD_DMA_NORMAL_READ

SPIM_CTL0: Read Data (Page Read Mode Use)

Definition at line 58 of file spim.h.

## ◆ CMD_NORMAL_PAGE_PROGRAM

#define CMD_NORMAL_PAGE_PROGRAM

SPIM_CTL0: Page Program (Page Write Mode Use)

Definition at line 52 of file spim.h.

## ◆ CMD_NORMAL_PAGE_PROGRAM_4B

#define CMD_NORMAL_PAGE_PROGRAM_4B

SPIM_CTL0: Page Program (Page Write Mode Use)

Definition at line 53 of file spim.h.

## ◆ CMD_QUAD_PAGE_PROGRAM_EON

#define CMD_QUAD_PAGE_PROGRAM_EON

SPIM_CTL0: Quad Page Program (for EON) (Page Write Mode Use)

Definition at line 56 of file spim.h.

## ◆ CMD_QUAD_PAGE_PROGRAM_MXIC

#define CMD_QUAD_PAGE_PROGRAM_MXIC

SPIM_CTL0: Quad Page program (for MXIC) (Page Write Mode Use)

Definition at line 55 of file spim.h.

## ◆ CMD_QUAD_PAGE_PROGRAM_WINBOND

#define CMD_QUAD_PAGE_PROGRAM_WINBOND

SPIM_CTL0: Quad Page program (for Winbond) (Page Write Mode Use)

Definition at line 54 of file spim.h.

## ◆ SPIM_CCM_ADDR

#define SPIM_CCM_ADDR

CCM mode memory map base address

Definition at line 37 of file spim.h.

## ◆ SPIM_CCM_SIZE

#define SPIM_CCM_SIZE

CCM mode memory size

Definition at line 38 of file spim.h.

## ◆ SPIM_CTL0_BITMODE_DUAL

#define SPIM_CTL0_BITMODE_DUAL

SPIM_CTL0: Two bits mode (SPI Interface including D0, D1, HOLD, WP)

Definition at line 45 of file spim.h.

## ◆ SPIM_CTL0_BITMODE_QUAD

#define SPIM_CTL0_BITMODE_QUAD

SPIM_CTL0: Four bits mode (SPI Interface including D0, D1, D2, D3)

Definition at line 46 of file spim.h.

## ◆ SPIM_CTL0_BITMODE_SING

#define SPIM_CTL0_BITMODE_SING

SPIM_CTL0: One bit mode (SPI Interface including DO, DI, HOLD, WP)

Definition at line 44 of file spim.h.

## ◆ SPIM_CTL0_OPMODE_DIRECTMAP

#define SPIM_CTL0_OPMODE_DIRECTMAP

SPIM_CTL0: Direct Map Mode

Definition at line 50 of file spim.h.

## ◆ SPIM_CTL0_OPMODE_IO

#define SPIM_CTL0_OPMODE_IO

SPIM_CTL0: I/O Mode

Definition at line 47 of file spim.h.

## ◆ SPIM_CTL0_OPMODE_PAGEREAD

#define SPIM_CTL0_OPMODE_PAGEREAD

SPIM_CTL0: Page Read Mode

Definition at line 49 of file spim.h.

## ◆ SPIM_CTL0_OPMODE_PAGEWRITE

#define SPIM_CTL0_OPMODE_PAGEWRITE

SPIM_CTL0: Page Write Mode

Definition at line 48 of file spim.h.

## ◆ SPIM_CTL0_RW_IN

#define SPIM_CTL0_RW_IN | ( |  | x | ) |

SPIM_CTL0: SPI Interface Direction Select

Definition at line 43 of file spim.h.

## ◆ SPIM_DMM_MAP_ADDR

#define SPIM_DMM_MAP_ADDR

DMM mode memory map base address

Definition at line 35 of file spim.h.

## ◆ SPIM_DMM_SIZE

#define SPIM_DMM_SIZE

DMM mode memory mapping size

Definition at line 36 of file spim.h.