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

Macros | Functions
ebi.h File Reference

M480 series External Bus Interface(EBI) driver header file. More...

Go to the source code of this file.

## Macros
#define | EBI_BANK0_BASE_ADDR
#define | EBI_BANK1_BASE_ADDR
#define | EBI_BANK2_BASE_ADDR
#define | EBI_MAX_SIZE
#define | EBI_BANK0
#define | EBI_BANK1
#define | EBI_BANK2
#define | EBI_BUSWIDTH_8BIT
#define | EBI_BUSWIDTH_16BIT
#define | EBI_CS_ACTIVE_LOW
#define | EBI_CS_ACTIVE_HIGH
#define | EBI_MCLKDIV_1
#define | EBI_MCLKDIV_2
#define | EBI_MCLKDIV_4
#define | EBI_MCLKDIV_8
#define | EBI_MCLKDIV_16
#define | EBI_MCLKDIV_32
#define | EBI_MCLKDIV_64
#define | EBI_MCLKDIV_128
#define | EBI_TIMING_FASTEST
#define | EBI_TIMING_VERYFAST
#define | EBI_TIMING_FAST
#define | EBI_TIMING_NORMAL
#define | EBI_TIMING_SLOW
#define | EBI_TIMING_VERYSLOW
#define | EBI_TIMING_SLOWEST
#define | EBI_OPMODE_NORMAL
#define | EBI_OPMODE_CACCESS
#define | EBI_OPMODE_ADSEPARATE
#define | EBI0_READ_DATA8(u32Addr)
| Read 8-bit data on EBI bank0. More...
#define | EBI0_WRITE_DATA8(u32Addr, u32Data)
| Write 8-bit data to EBI bank0. More...
#define | EBI0_READ_DATA16(u32Addr)
| Read 16-bit data on EBI bank0. More...
#define | EBI0_WRITE_DATA16(u32Addr, u32Data)
| Write 16-bit data to EBI bank0. More...
#define | EBI0_READ_DATA32(u32Addr)
| Read 32-bit data on EBI bank0. More...
#define | EBI0_WRITE_DATA32(u32Addr, u32Data)
| Write 32-bit data to EBI bank0. More...
#define | EBI1_READ_DATA8(u32Addr)
| Read 8-bit data on EBI bank1. More...
#define | EBI1_WRITE_DATA8(u32Addr, u32Data)
| Write 8-bit data to EBI bank1. More...
#define | EBI1_READ_DATA16(u32Addr)
| Read 16-bit data on EBI bank1. More...
#define | EBI1_WRITE_DATA16(u32Addr, u32Data)
| Write 16-bit data to EBI bank1. More...
#define | EBI1_READ_DATA32(u32Addr)
| Read 32-bit data on EBI bank1. More...
#define | EBI1_WRITE_DATA32(u32Addr, u32Data)
| Write 32-bit data to EBI bank1. More...
#define | EBI2_READ_DATA8(u32Addr)
| Read 8-bit data on EBI bank2. More...
#define | EBI2_WRITE_DATA8(u32Addr, u32Data)
| Write 8-bit data to EBI bank2. More...
#define | EBI2_READ_DATA16(u32Addr)
| Read 16-bit data on EBI bank2. More...
#define | EBI2_WRITE_DATA16(u32Addr, u32Data)
| Write 16-bit data to EBI bank2. More...
#define | EBI2_READ_DATA32(u32Addr)
| Read 32-bit data on EBI bank2. More...
#define | EBI2_WRITE_DATA32(u32Addr, u32Data)
| Write 32-bit data to EBI bank2. More...
#define | EBI_ENABLE_WRITE_BUFFER()
| Enable EBI Write Buffer. More...
#define | EBI_DISABLE_WRITE_BUFFER()
| Disable EBI Write Buffer. More...

## Functions
void | EBI_Open (uint32_t u32Bank, uint32_t u32DataWidth, uint32_t u32TimingClass, uint32_t u32BusMode, uint32_t u32CSActiveLevel)
| Initialize EBI for specify Bank. More...
void | EBI_Close (uint32_t u32Bank)
| Disable EBI on specify Bank. More...
void | EBI_SetBusTiming (uint32_t u32Bank, uint32_t u32TimingConfig, uint32_t u32MclkDiv)
| Set EBI Bus Timing for specify Bank. More...

## Detailed Description

M480 series External Bus Interface(EBI) driver header file.

Version
  V3.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2016-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file ebi.h.