Dataflow Runtime API  3.1.1.0
Enumerations | Functions
SystemPeripherals_GPMC.h File Reference
#include <Imt.Base.Core.Platform/Platform.h>

Enumerations

enum  GpmcChipSelect {
  GpmcChipSelect_0 = 0U , GpmcChipSelect_1 = 1U , GpmcChipSelect_2 = 2U , GpmcChipSelect_3 = 3U ,
  GpmcChipSelect_4 = 4U , GpmcChipSelect_5 = 5U , GpmcChipSelect_6 = 6U
}
 General-purpose memory controller (GPMC) More...
 

Functions

void GPMC_Init (const uint32_t valueGpmcConfigRegister)
 Initializes the GPMC. More...
 
void GPMC_SetConfigForChipSelect (const GpmcChipSelect chipSelect, const uint32_t valueGpmcConfig1Register, const uint32_t valueGpmcConfig2Register, const uint32_t valueGpmcConfig3Register, const uint32_t valueGpmcConfig4Register, const uint32_t valueGpmcConfig5Register, const uint32_t valueGpmcConfig6Register, const uint32_t valueGpmcConfig7Register)
 Sets the configuration register for the specified chip select. More...
 

Enumeration Type Documentation

◆ GpmcChipSelect

General-purpose memory controller (GPMC)

Enumeration of the available GPMC module chip selects

Enumerator
GpmcChipSelect_0 
GpmcChipSelect_1 
GpmcChipSelect_2 
GpmcChipSelect_3 
GpmcChipSelect_4 
GpmcChipSelect_5 
GpmcChipSelect_6 

Function Documentation

◆ GPMC_Init()

void GPMC_Init ( const uint32_t  valueGpmcConfigRegister)

Initializes the GPMC.

Parameters
valueGpmcConfigRegisterThe value to write to the general GPMC config register.

◆ GPMC_SetConfigForChipSelect()

void GPMC_SetConfigForChipSelect ( const GpmcChipSelect  chipSelect,
const uint32_t  valueGpmcConfig1Register,
const uint32_t  valueGpmcConfig2Register,
const uint32_t  valueGpmcConfig3Register,
const uint32_t  valueGpmcConfig4Register,
const uint32_t  valueGpmcConfig5Register,
const uint32_t  valueGpmcConfig6Register,
const uint32_t  valueGpmcConfig7Register 
)

Sets the configuration register for the specified chip select.

Parameters
chipSelectThe index of the chip select.
valueGpmcConfig1RegisterThe value to write to the specific GPMC config 1 register of the given chip select.
valueGpmcConfig2RegisterThe value to write to the specific GPMC config 2 register of the given chip select.
valueGpmcConfig3RegisterThe value to write to the specific GPMC config 3 register of the given chip select.
valueGpmcConfig4RegisterThe value to write to the specific GPMC config 4 register of the given chip select.
valueGpmcConfig5RegisterThe value to write to the specific GPMC config 5 register of the given chip select.
valueGpmcConfig6RegisterThe value to write to the specific GPMC config 6 register of the given chip select.
valueGpmcConfig7RegisterThe value to write to the specific GPMC config 7 register of the given chip select.