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

Modules | Macros
EBI Exported Constants
NUC472/NUC442 Device Driver » EBI Driver
Collaboration diagram for EBI Exported Constants:

## Modules
| EBI Exported Functions

## 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...

## Detailed Description

## Macro Definition Documentation

## ◆ EBI0_BASE_ADDR

#define EBI0_BASE_ADDR

EBI bank 0 base address , 0x60000000 ~ 0x63FFFFFF.

Definition at line 34 of file ebi.h.

## ◆ EBI0_MAX_SIZE

#define EBI0_MAX_SIZE

EBI bank 0 max. size.

Definition at line 35 of file ebi.h.

## ◆ EBI0_READ_DATA16

#define EBI0_READ_DATA16 | ( |  | Addr | ) |

Read 16-bit data from EBI bank 0.

Definition at line 39 of file ebi.h.

## ◆ EBI0_READ_DATA32

#define EBI0_READ_DATA32 | ( |  | Addr | ) |

Read 32-bit data from EBI bank 0.

Definition at line 41 of file ebi.h.

## ◆ EBI0_READ_DATA8

#define EBI0_READ_DATA8 | ( |  | Addr | ) |

Read 8-bit data from EBI bank 0.

Definition at line 37 of file ebi.h.

## ◆ EBI0_WRITE_DATA16

#define EBI0_WRITE_DATA16 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 16-bit data to EBI bank 0.

Definition at line 40 of file ebi.h.

## ◆ EBI0_WRITE_DATA32

#define EBI0_WRITE_DATA32 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 32-bit data to EBI bank 0.

Definition at line 42 of file ebi.h.

## ◆ EBI0_WRITE_DATA8

#define EBI0_WRITE_DATA8 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 8-bit data to EBI bank 0.

Definition at line 38 of file ebi.h.

## ◆ EBI1_BASE_ADDR

#define EBI1_BASE_ADDR

EBI bank 1 base address , 0x64000000 ~ 0x67FFFFFF.

Definition at line 45 of file ebi.h.

## ◆ EBI1_MAX_SIZE

#define EBI1_MAX_SIZE

EBI bank 1 max. size.

Definition at line 46 of file ebi.h.

## ◆ EBI1_READ_DATA16

#define EBI1_READ_DATA16 | ( |  | Addr | ) |

Read 16-bit data from EBI bank 0.

Definition at line 50 of file ebi.h.

## ◆ EBI1_READ_DATA32

#define EBI1_READ_DATA32 | ( |  | Addr | ) |

Read 32-bit data from EBI bank 0.

Definition at line 52 of file ebi.h.

## ◆ EBI1_READ_DATA8

#define EBI1_READ_DATA8 | ( |  | Addr | ) |

Read 8-bit data from EBI bank 0.

Definition at line 48 of file ebi.h.

## ◆ EBI1_WRITE_DATA16

#define EBI1_WRITE_DATA16 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 16-bit data to EBI bank 0.

Definition at line 51 of file ebi.h.

## ◆ EBI1_WRITE_DATA32

#define EBI1_WRITE_DATA32 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 32-bit data to EBI bank 0.

Definition at line 53 of file ebi.h.

## ◆ EBI1_WRITE_DATA8

#define EBI1_WRITE_DATA8 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 8-bit data to EBI bank 0.

Definition at line 49 of file ebi.h.

## ◆ EBI2_BASE_ADDR

#define EBI2_BASE_ADDR 0x68000000

EBI bank 2 base address , 0x68000000 ~ 0x6BFFFFFF

Definition at line 56 of file ebi.h.

## ◆ EBI2_MAX_SIZE

#define EBI2_MAX_SIZE 0x400000

EBI bank 2 max. size

Definition at line 57 of file ebi.h.

## ◆ EBI2_READ_DATA16

#define EBI2_READ_DATA16 | ( |  | Addr | ) |

Read 16-bit data from EBI bank 0.

Definition at line 61 of file ebi.h.

## ◆ EBI2_READ_DATA32

#define EBI2_READ_DATA32 | ( |  | Addr | ) |

Read 32-bit data from EBI bank 0.

Definition at line 63 of file ebi.h.

## ◆ EBI2_READ_DATA8

#define EBI2_READ_DATA8 | ( |  | Addr | ) |

Read 8-bit data from EBI bank 0.

Definition at line 59 of file ebi.h.

## ◆ EBI2_WRITE_DATA16

#define EBI2_WRITE_DATA16 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 16-bit data to EBI bank 0.

Definition at line 62 of file ebi.h.

## ◆ EBI2_WRITE_DATA32

#define EBI2_WRITE_DATA32 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 32-bit data to EBI bank 0.

Definition at line 64 of file ebi.h.

## ◆ EBI2_WRITE_DATA8

#define EBI2_WRITE_DATA8 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 8-bit data to EBI bank 0.

Definition at line 60 of file ebi.h.

## ◆ EBI3_BASE_ADDR

#define EBI3_BASE_ADDR

EBI bank 3 base address , 0x6C000000 ~ 0x6FFFFFFF.

Definition at line 67 of file ebi.h.

## ◆ EBI3_MAX_SIZE

#define EBI3_MAX_SIZE

EBI bank 3 max. size.

Definition at line 68 of file ebi.h.

## ◆ EBI3_READ_DATA16

#define EBI3_READ_DATA16 | ( |  | Addr | ) |

Read 16-bit data from EBI bank 0.

Definition at line 72 of file ebi.h.

## ◆ EBI3_READ_DATA32

#define EBI3_READ_DATA32 | ( |  | Addr | ) |

Read 32-bit data from EBI bank 0.

Definition at line 74 of file ebi.h.

## ◆ EBI3_READ_DATA8

#define EBI3_READ_DATA8 | ( |  | Addr | ) |

Read 8-bit data from EBI bank 0.

Definition at line 70 of file ebi.h.

## ◆ EBI3_WRITE_DATA16

#define EBI3_WRITE_DATA16 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 16-bit data to EBI bank 0.

Definition at line 73 of file ebi.h.

## ◆ EBI3_WRITE_DATA32

#define EBI3_WRITE_DATA32 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 32-bit data to EBI bank 0.

Definition at line 75 of file ebi.h.

## ◆ EBI3_WRITE_DATA8

#define EBI3_WRITE_DATA8 | ( |  | Addr,
|  |  | Data
| ) |  |

Write 8-bit data to EBI bank 0.

Definition at line 71 of file ebi.h.

## ◆ EBI_BANK0

#define EBI_BANK0

EBI bank 0.

Definition at line 79 of file ebi.h.

## ◆ EBI_BANK1

#define EBI_BANK1

EBI bank 1.

Definition at line 80 of file ebi.h.

## ◆ EBI_BANK2

#define EBI_BANK2

EBI bank 2.

Definition at line 81 of file ebi.h.

## ◆ EBI_BANK3

#define EBI_BANK3

EBI bank 3.

Definition at line 82 of file ebi.h.

## ◆ EBI_BUSWIDTH_16BIT

#define EBI_BUSWIDTH_16BIT

EBI bus width is 16-bit.

Definition at line 90 of file ebi.h.

## ◆ EBI_BUSWIDTH_8BIT

#define EBI_BUSWIDTH_8BIT

EBI bus width is 8-bit.

Definition at line 89 of file ebi.h.

## ◆ EBI_CS_ACTIVE_HIGH

#define EBI_CS_ACTIVE_HIGH

EBI CS active level is high.

Definition at line 85 of file ebi.h.

## ◆ EBI_CS_ACTIVE_LOW

#define EBI_CS_ACTIVE_LOW

EBI CS active level is low.

Definition at line 86 of file ebi.h.

## ◆ EBI_MCLKDIV_1

#define EBI_MCLKDIV_1

EBI clock is MCLK div 1.

Definition at line 97 of file ebi.h.

## ◆ EBI_MCLKDIV_16

#define EBI_MCLKDIV_16

EBI clock is MCLK div 16.

Definition at line 101 of file ebi.h.

## ◆ EBI_MCLKDIV_2

#define EBI_MCLKDIV_2

EBI clock is MCLK div 2.

Definition at line 98 of file ebi.h.

## ◆ EBI_MCLKDIV_32

#define EBI_MCLKDIV_32

EBI clock is MCLK div 32.

Definition at line 102 of file ebi.h.

## ◆ EBI_MCLKDIV_4

#define EBI_MCLKDIV_4

EBI clock is MCLK div 4.

Definition at line 99 of file ebi.h.

## ◆ EBI_MCLKDIV_8

#define EBI_MCLKDIV_8

EBI clock is MCLK div 8.

Definition at line 100 of file ebi.h.

## ◆ EBI_SEPARATEMODE_DISABLE

#define EBI_SEPARATEMODE_DISABLE

Disable EBI separate mode.

Definition at line 94 of file ebi.h.

## ◆ EBI_SEPARATEMODE_ENABLE

#define EBI_SEPARATEMODE_ENABLE

Enable EBI separate mode.

Definition at line 93 of file ebi.h.

## ◆ EBI_TIMING_FAST

#define EBI_TIMING_FAST

EBI timing is fast.

Definition at line 106 of file ebi.h.

## ◆ EBI_TIMING_FASTEST

#define EBI_TIMING_FASTEST

EBI timing is the fastest.

Definition at line 104 of file ebi.h.

## ◆ EBI_TIMING_NORMAL

#define EBI_TIMING_NORMAL

EBI timing is normal.

Definition at line 107 of file ebi.h.

## ◆ EBI_TIMING_SLOW

#define EBI_TIMING_SLOW

EBI timing is slow.

Definition at line 108 of file ebi.h.

## ◆ EBI_TIMING_SLOWEST

#define EBI_TIMING_SLOWEST

EBI timing is the slowest.

Definition at line 110 of file ebi.h.

## ◆ EBI_TIMING_VERYFAST

#define EBI_TIMING_VERYFAST

EBI timing is very fast

Definition at line 105 of file ebi.h.

## ◆ EBI_TIMING_VERYSLOW

#define EBI_TIMING_VERYSLOW

EBI timing is very slow.

Definition at line 109 of file ebi.h.