OpenOCD
dw_spi_regmap Struct Reference

IP block placement map. More...

Data Fields

uint32_t freq
 Clock frequency. More...
 
uint8_t si_if_owner_offset
 Offset of si_mode bits in ICPU_CFG:SPI_MST. More...
 
target_addr_t simc
 Absolute offset of SIMC register block. More...
 
target_addr_t spi_mst
 Absolute offset of ICPU_CFG:SPI_MST register. 0 if not available. More...
 

Detailed Description

IP block placement map.

Used for dynamic definition of the register map.

IP block is used on different chips and placed in different locations. This structure defines some implementation specific variables.

Definition at line 52 of file dw-spi.c.

Field Documentation

◆ freq

uint32_t dw_spi_regmap::freq

Clock frequency.

Definition at line 53 of file dw-spi.c.

Referenced by dw_spi_ctrl_configure_speed(), and FLASH_BANK_COMMAND_HANDLER().

◆ si_if_owner_offset

uint8_t dw_spi_regmap::si_if_owner_offset

Offset of si_mode bits in ICPU_CFG:SPI_MST.

Definition at line 57 of file dw-spi.c.

Referenced by dw_spi_ctrl_mode(), dw_spi_ctrl_mode_configure(), and FLASH_BANK_COMMAND_HANDLER().

◆ simc

◆ spi_mst

target_addr_t dw_spi_regmap::spi_mst

Absolute offset of ICPU_CFG:SPI_MST register. 0 if not available.

Definition at line 55 of file dw-spi.c.

Referenced by dw_spi_ctrl_mode(), dw_spi_ctrl_mode_configure(), and FLASH_BANK_COMMAND_HANDLER().


The documentation for this struct was generated from the following file: