| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Macros | Functions
ebi.h File Reference

NUC472/NUC442 EBI driver header file. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | EBI0_BASE_ADDR
| EBI bank 0 base address , 0x60000000 ~ 0x63FFFFFF. More...
#define | EBI0_MAX_SIZE
| EBI bank 0 max. size. More...
#define | EBI0_READ_DATA8(Addr)
| Read 8-bit data from EBI bank 0. More...
#define | EBI0_WRITE_DATA8(Addr, Data)
| Write 8-bit data to EBI bank 0. More...
#define | EBI0_READ_DATA16(Addr)
| Read 16-bit data from EBI bank 0. More...
#define | EBI0_WRITE_DATA16(Addr, Data)
| Write 16-bit data to EBI bank 0. More...
#define | EBI0_READ_DATA32(Addr)
| Read 32-bit data from EBI bank 0. More...
#define | EBI0_WRITE_DATA32(Addr, Data)
| Write 32-bit data to EBI bank 0. More...
#define | EBI1_BASE_ADDR
| EBI bank 1 base address , 0x64000000 ~ 0x67FFFFFF. More...
#define | EBI1_MAX_SIZE
| EBI bank 1 max. size. More...
#define | EBI1_READ_DATA8(Addr)
| Read 8-bit data from EBI bank 0. More...
#define | EBI1_WRITE_DATA8(Addr, Data)
| Write 8-bit data to EBI bank 0. More...
#define | EBI1_READ_DATA16(Addr)
| Read 16-bit data from EBI bank 0. More...
#define | EBI1_WRITE_DATA16(Addr, Data)
| Write 16-bit data to EBI bank 0. More...
#define | EBI1_READ_DATA32(Addr)
| Read 32-bit data from EBI bank 0. More...
#define | EBI1_WRITE_DATA32(Addr, Data)
| Write 32-bit data to EBI bank 0. More...
#define | EBI2_BASE_ADDR 0x68000000
| EBI bank 2 base address , 0x68000000 ~ 0x6BFFFFFF More...
#define | EBI2_MAX_SIZE 0x400000
| EBI bank 2 max. size More...
#define | EBI2_READ_DATA8(Addr)
| Read 8-bit data from EBI bank 0. More...
#define | EBI2_WRITE_DATA8(Addr, Data)
| Write 8-bit data to EBI bank 0. More...
#define | EBI2_READ_DATA16(Addr)
| Read 16-bit data from EBI bank 0. More...
#define | EBI2_WRITE_DATA16(Addr, Data)
| Write 16-bit data to EBI bank 0. More...
#define | EBI2_READ_DATA32(Addr)
| Read 32-bit data from EBI bank 0. More...
#define | EBI2_WRITE_DATA32(Addr, Data)
| Write 32-bit data to EBI bank 0. More...
#define | EBI3_BASE_ADDR
| EBI bank 3 base address , 0x6C000000 ~ 0x6FFFFFFF. More...
#define | EBI3_MAX_SIZE
| EBI bank 3 max. size. More...
#define | EBI3_READ_DATA8(Addr)
| Read 8-bit data from EBI bank 0. More...
#define | EBI3_WRITE_DATA8(Addr, Data)
| Write 8-bit data to EBI bank 0. More...
#define | EBI3_READ_DATA16(Addr)
| Read 16-bit data from EBI bank 0. More...
#define | EBI3_WRITE_DATA16(Addr, Data)
| Write 16-bit data to EBI bank 0. More...
#define | EBI3_READ_DATA32(Addr)
| Read 32-bit data from EBI bank 0. More...
#define | EBI3_WRITE_DATA32(Addr, Data)
| Write 32-bit data to EBI bank 0. More...
#define | EBI_BANK0
| EBI bank 0. More...
#define | EBI_BANK1
| EBI bank 1. More...
#define | EBI_BANK2
| EBI bank 2. More...
#define | EBI_BANK3
| EBI bank 3. More...
#define | EBI_CS_ACTIVE_HIGH
| EBI CS active level is high. More...
#define | EBI_CS_ACTIVE_LOW
| EBI CS active level is low. More...
#define | EBI_BUSWIDTH_8BIT
| EBI bus width is 8-bit. More...
#define | EBI_BUSWIDTH_16BIT
| EBI bus width is 16-bit. More...
#define | EBI_SEPARATEMODE_ENABLE
| Enable EBI separate mode. More...
#define | EBI_SEPARATEMODE_DISABLE
| Disable EBI separate mode. More...
#define | EBI_MCLKDIV_1
| EBI clock is MCLK div 1. More...
#define | EBI_MCLKDIV_2
| EBI clock is MCLK div 2. More...
#define | EBI_MCLKDIV_4
| EBI clock is MCLK div 4. More...
#define | EBI_MCLKDIV_8
| EBI clock is MCLK div 8. More...
#define | EBI_MCLKDIV_16
| EBI clock is MCLK div 16. More...
#define | EBI_MCLKDIV_32
| EBI clock is MCLK div 32. More...
#define | EBI_TIMING_FASTEST
| EBI timing is the fastest. More...
#define | EBI_TIMING_VERYFAST
| EBI timing is very fast More...
#define | EBI_TIMING_FAST
| EBI timing is fast. More...
#define | EBI_TIMING_NORMAL
| EBI timing is normal. More...
#define | EBI_TIMING_SLOW
| EBI timing is slow. More...
#define | EBI_TIMING_VERYSLOW
| EBI timing is very slow. More...
#define | EBI_TIMING_SLOWEST
| EBI timing is the slowest. More...

## Functions
void | EBI_Open (uint32_t u32Bank, uint32_t u32DataWidth, uint32_t u32TimingClass, uint32_t u32BusMode, uint32_t u32CSActiveLevel)
| Initialize EBI for Bank 0~3. More...
void | EBI_Close (uint32_t u32Bank)
| Disable EBI for bank 0~3. More...
void | EBI_SetBusTiming (uint32_t u32Bank, uint32_t u32TimingConfig, uint32_t u32MclkDiv)
| Set EBI bus timings. More...
void | EBI_EnableCrypto (uint32_t u32Bank, uint32_t *u32Key)
| Enable encrypt/decrypt function and set key for EBI bank 0~3. More...
void | EBI_DisbleCrypto (uint32_t u32Bank)
| Disable encrypt/decrypt function for EBI bank 0~3. More...

## Detailed Description

NUC472/NUC442 EBI driver header file.

Version
  V0.10

Revision
  6

Date
  14/09/30 1:12p

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2014 Nuvoton Technology Corp. All rights reserved.

Definition in file ebi.h.