EBI_Init_TypeDef Struct Reference

EBI Initialization structure.

#include <em_ebi.h>

Data Fields

EBI_Mode_TypeDef mode
EBI operation mode, data, and address limits.
EBI_Polarity_TypeDef ardyPolarity
Address Ready pin polarity, active high or low.
EBI_Polarity_TypeDef alePolarity
Address Latch Enable pin polarity, active high or low.
EBI_Polarity_TypeDef wePolarity
Write Enable pin polarity, active high or low.
EBI_Polarity_TypeDef rePolarity
Read Enable pin polarity, active high or low.
EBI_Polarity_TypeDef csPolarity
Chip Select pin polarity, active high or low.
bool ardyEnable
Flag to enable or disable Address Ready support.
bool ardyDisableTimeout
Set to turn off 32 cycle timeout ability.
uint32_t banks
Mask of flags which selects address banks to configure EBI_BANK<0-3>.
uint32_t csLines
Mask of flags which selects chip select lines to configure EBI_CS<0-3>.
uint32_t addrSetupCycles
Number of cycles address is held after Address Latch Enable is asserted.
uint32_t addrHoldCycles
Number of cycles address is driven onto the ADDRDAT bus before ALE is asserted.
uint32_t readSetupCycles
Number of cycles for address setup before REn is asserted.
uint32_t readStrobeCycles
Number of cycles REn is held active.
uint32_t readHoldCycles
Number of cycles CSn is held active after REn is deasserted.
uint32_t writeSetupCycles
Number of cycles for address setup before WEn is asserted.
uint32_t writeStrobeCycles
Number of cycles WEn is held active.
uint32_t writeHoldCycles
Number of cycles CSn is held active after WEn is deasserted.
bool enable
Flag, if EBI should be enabled after configuration.

EBI Initialization structure.

Field Documentation

mode

EBI_Mode_TypeDef EBI_Init_TypeDef::mode

EBI operation mode, data, and address limits.

ardyPolarity

EBI_Polarity_TypeDef EBI_Init_TypeDef::ardyPolarity

Address Ready pin polarity, active high or low.

alePolarity

EBI_Polarity_TypeDef EBI_Init_TypeDef::alePolarity

Address Latch Enable pin polarity, active high or low.

wePolarity

EBI_Polarity_TypeDef EBI_Init_TypeDef::wePolarity

Write Enable pin polarity, active high or low.

rePolarity

EBI_Polarity_TypeDef EBI_Init_TypeDef::rePolarity

Read Enable pin polarity, active high or low.

csPolarity

EBI_Polarity_TypeDef EBI_Init_TypeDef::csPolarity

Chip Select pin polarity, active high or low.

ardyEnable

bool EBI_Init_TypeDef::ardyEnable

Flag to enable or disable Address Ready support.

ardyDisableTimeout

bool EBI_Init_TypeDef::ardyDisableTimeout

Set to turn off 32 cycle timeout ability.

banks

uint32_t EBI_Init_TypeDef::banks

Mask of flags which selects address banks to configure EBI_BANK<0-3>.

csLines

uint32_t EBI_Init_TypeDef::csLines

Mask of flags which selects chip select lines to configure EBI_CS<0-3>.

addrSetupCycles

uint32_t EBI_Init_TypeDef::addrSetupCycles

Number of cycles address is held after Address Latch Enable is asserted.

addrHoldCycles

uint32_t EBI_Init_TypeDef::addrHoldCycles

Number of cycles address is driven onto the ADDRDAT bus before ALE is asserted.

readSetupCycles

uint32_t EBI_Init_TypeDef::readSetupCycles

Number of cycles for address setup before REn is asserted.

readStrobeCycles

uint32_t EBI_Init_TypeDef::readStrobeCycles

Number of cycles REn is held active.

readHoldCycles

uint32_t EBI_Init_TypeDef::readHoldCycles

Number of cycles CSn is held active after REn is deasserted.

writeSetupCycles

uint32_t EBI_Init_TypeDef::writeSetupCycles

Number of cycles for address setup before WEn is asserted.

writeStrobeCycles

uint32_t EBI_Init_TypeDef::writeStrobeCycles

Number of cycles WEn is held active.

writeHoldCycles

uint32_t EBI_Init_TypeDef::writeHoldCycles

Number of cycles CSn is held active after WEn is deasserted.

enable

bool EBI_Init_TypeDef::enable

Flag, if EBI should be enabled after configuration.