Top-specific Definitions. More...
Go to the source code of this file.
Macros | |
#define | TOP_ENGLISHBREAKFAST_UART0_BASE_ADDR 0x40000000u |
Peripheral base address for uart0 in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_UART1_BASE_ADDR 0x40010000u |
Peripheral base address for uart1 in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_UART1_SIZE_BYTES 0x40u |
Peripheral size for uart1 in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_GPIO_BASE_ADDR 0x40040000u |
Peripheral base address for gpio in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_GPIO_SIZE_BYTES 0x80u |
Peripheral size for gpio in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SPI_DEVICE_BASE_ADDR 0x40050000u |
Peripheral base address for spi_device in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SPI_HOST0_BASE_ADDR 0x40060000u |
Peripheral base address for spi_host0 in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RV_TIMER_BASE_ADDR 0x40100000u |
Peripheral base address for rv_timer in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_USBDEV_BASE_ADDR 0x40320000u |
Peripheral base address for usbdev in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_USBDEV_SIZE_BYTES 0x1000u |
Peripheral size for usbdev in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_PWRMGR_AON_BASE_ADDR 0x40400000u |
Peripheral base address for pwrmgr_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RSTMGR_AON_BASE_ADDR 0x40410000u |
Peripheral base address for rstmgr_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RSTMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for rstmgr_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_CLKMGR_AON_BASE_ADDR 0x40420000u |
Peripheral base address for clkmgr_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_CLKMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for clkmgr_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_PINMUX_AON_BASE_ADDR 0x40460000u |
Peripheral base address for pinmux_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_PINMUX_AON_SIZE_BYTES 0x1000u |
Peripheral size for pinmux_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_AON_TIMER_AON_BASE_ADDR 0x40470000u |
Peripheral base address for aon_timer_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_AST_BASE_ADDR 0x40480000u |
Peripheral base address for ast in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
Peripheral base address for core device on flash_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
Peripheral size for core device on flash_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_BASE_ADDR 0x41008000u |
Peripheral base address for prim device on flash_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_SIZE_BYTES 0x80u |
Peripheral size for prim device on flash_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
Peripheral base address for mem device on flash_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_SIZE_BYTES 0x10000u |
Peripheral size for mem device on flash_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RV_PLIC_BASE_ADDR 0x48000000u |
Peripheral base address for rv_plic in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_AES_BASE_ADDR 0x41100000u |
Peripheral base address for aes in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
Peripheral base address for regs device on sram_ctrl_main in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Peripheral base address for ram device on sram_ctrl_main in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
Peripheral size for ram device on sram_ctrl_main in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
Peripheral base address for regs device on rom_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
Peripheral base address for rom device on rom_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
Peripheral size for rom device on rom_ctrl in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
Peripheral base address for cfg device on rv_core_ibex in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
Peripheral size for cfg device on rv_core_ibex in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_EFLASH_BASE_ADDR 0x20000000u |
Memory base address for eflash in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_EFLASH_SIZE_BYTES 0x10000u |
Memory size for eflash in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RAM_MAIN_BASE_ADDR 0x10000000u |
Memory base address for ram_main in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_RAM_MAIN_SIZE_BYTES 0x20000u |
Memory size for ram_main in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_ROM_BASE_ADDR 0x8000u |
Memory base address for rom in top englishbreakfast. | |
#define | TOP_ENGLISHBREAKFAST_ROM_SIZE_BYTES 0x8000u |
Memory size for rom in top englishbreakfast. | |
#define | PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
#define | NUM_MIO_PADS 47 |
#define | NUM_DIO_PADS 14 |
#define | PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
#define | TOP_ENGLISHBREAKFAST_MMIO_BASE_ADDR 0x40000000u |
MMIO Region. | |
#define | TOP_ENGLISHBREAKFAST_MMIO_SIZE_BYTES 0x10000000u |
Typedefs | |
typedef enum top_englishbreakfast_plic_peripheral | top_englishbreakfast_plic_peripheral_t |
PLIC Interrupt Source Peripheral. | |
typedef enum top_englishbreakfast_plic_irq_id | top_englishbreakfast_plic_irq_id_t |
PLIC Interrupt Source. | |
typedef enum top_englishbreakfast_plic_target | top_englishbreakfast_plic_target_t |
PLIC Interrupt Target. | |
typedef enum top_englishbreakfast_pinmux_peripheral_in | top_englishbreakfast_pinmux_peripheral_in_t |
Pinmux Peripheral Input. | |
typedef enum top_englishbreakfast_pinmux_insel | top_englishbreakfast_pinmux_insel_t |
Pinmux MIO Input Selector. | |
typedef enum top_englishbreakfast_pinmux_mio_out | top_englishbreakfast_pinmux_mio_out_t |
Pinmux MIO Output. | |
typedef enum top_englishbreakfast_pinmux_outsel | top_englishbreakfast_pinmux_outsel_t |
Pinmux Peripheral Output Selector. | |
typedef enum top_englishbreakfast_direct_pads | top_englishbreakfast_direct_pads_t |
Dedicated Pad Selects. | |
typedef enum top_englishbreakfast_muxed_pads | top_englishbreakfast_muxed_pads_t |
Muxed Pad Selects. | |
typedef enum top_englishbreakfast_power_manager_wake_ups | top_englishbreakfast_power_manager_wake_ups_t |
Power Manager Wakeup Signals. | |
typedef enum top_englishbreakfast_reset_manager_sw_resets | top_englishbreakfast_reset_manager_sw_resets_t |
Reset Manager Software Controlled Resets. | |
typedef enum top_englishbreakfast_power_manager_reset_requests | top_englishbreakfast_power_manager_reset_requests_t |
Power Manager Reset Request Signals. | |
typedef enum top_englishbreakfast_gateable_clocks | top_englishbreakfast_gateable_clocks_t |
Clock Manager Software-Controlled ("Gated") Clocks. | |
typedef enum top_englishbreakfast_hintable_clocks | top_englishbreakfast_hintable_clocks_t |
Clock Manager Software-Hinted Clocks. | |
Variables | |
const top_englishbreakfast_plic_peripheral_t | top_englishbreakfast_plic_interrupt_for_peripheral [88] |
PLIC Interrupt Source to Peripheral Map. | |
Top-specific Definitions.
This file contains preprocessor and type definitions for use within the device C/C++ codebase.
These definitions are for information that depends on the top-specific chip configuration, which includes:
Definition in file top_englishbreakfast.h.
#define NUM_DIO_PADS 14 |
Definition at line 621 of file top_englishbreakfast.h.
#define NUM_MIO_PADS 47 |
Definition at line 620 of file top_englishbreakfast.h.
#define PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
Definition at line 616 of file top_englishbreakfast.h.
#define PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
Definition at line 623 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_AES_BASE_ADDR 0x41100000u |
Peripheral base address for aes in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 344 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_AES_BASE_ADDR and TOP_ENGLISHBREAKFAST_AES_BASE_ADDR + TOP_ENGLISHBREAKFAST_AES_SIZE_BYTES
.
Definition at line 354 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_AON_TIMER_AON_BASE_ADDR 0x40470000u |
Peripheral base address for aon_timer_aon in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 236 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_AON_TIMER_AON_BASE_ADDR and TOP_ENGLISHBREAKFAST_AON_TIMER_AON_BASE_ADDR + TOP_ENGLISHBREAKFAST_AON_TIMER_AON_SIZE_BYTES
.
Definition at line 246 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_AST_BASE_ADDR 0x40480000u |
Peripheral base address for ast in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 254 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_AST_BASE_ADDR and TOP_ENGLISHBREAKFAST_AST_BASE_ADDR + TOP_ENGLISHBREAKFAST_AST_SIZE_BYTES
.
Definition at line 264 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_CLKMGR_AON_BASE_ADDR 0x40420000u |
Peripheral base address for clkmgr_aon in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 200 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_CLKMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for clkmgr_aon in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_CLKMGR_AON_BASE_ADDR and TOP_ENGLISHBREAKFAST_CLKMGR_AON_BASE_ADDR + TOP_ENGLISHBREAKFAST_CLKMGR_AON_SIZE_BYTES
.
Definition at line 210 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_EFLASH_BASE_ADDR 0x20000000u |
Memory base address for eflash in top englishbreakfast.
Definition at line 450 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_EFLASH_SIZE_BYTES 0x10000u |
Memory size for eflash in top englishbreakfast.
Definition at line 455 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
Peripheral base address for core device on flash_ctrl in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 272 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
Peripheral size for core device on flash_ctrl in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_BASE_ADDR and TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_BASE_ADDR + TOP_ENGLISHBREAKFAST_FLASH_CTRL_CORE_SIZE_BYTES
.
Definition at line 282 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
Peripheral base address for mem device on flash_ctrl in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 308 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_SIZE_BYTES 0x10000u |
Peripheral size for mem device on flash_ctrl in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_BASE_ADDR and TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_BASE_ADDR + TOP_ENGLISHBREAKFAST_FLASH_CTRL_MEM_SIZE_BYTES
.
Definition at line 318 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_BASE_ADDR 0x41008000u |
Peripheral base address for prim device on flash_ctrl in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 290 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_SIZE_BYTES 0x80u |
Peripheral size for prim device on flash_ctrl in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_BASE_ADDR and TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_BASE_ADDR + TOP_ENGLISHBREAKFAST_FLASH_CTRL_PRIM_SIZE_BYTES
.
Definition at line 300 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_GPIO_BASE_ADDR 0x40040000u |
Peripheral base address for gpio in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 74 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_GPIO_SIZE_BYTES 0x80u |
Peripheral size for gpio in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_GPIO_BASE_ADDR and TOP_ENGLISHBREAKFAST_GPIO_BASE_ADDR + TOP_ENGLISHBREAKFAST_GPIO_SIZE_BYTES
.
Definition at line 84 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_MMIO_BASE_ADDR 0x40000000u |
MMIO Region.
MMIO region excludes any memory that is separate from the module configuration space, i.e. ROM, main SRAM, and flash are excluded but retention SRAM, spi_device memory, or usbdev memory are included.
Definition at line 959 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_MMIO_SIZE_BYTES 0x10000000u |
Definition at line 960 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_PINMUX_AON_BASE_ADDR 0x40460000u |
Peripheral base address for pinmux_aon in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 218 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_PINMUX_AON_SIZE_BYTES 0x1000u |
Peripheral size for pinmux_aon in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_PINMUX_AON_BASE_ADDR and TOP_ENGLISHBREAKFAST_PINMUX_AON_BASE_ADDR + TOP_ENGLISHBREAKFAST_PINMUX_AON_SIZE_BYTES
.
Definition at line 228 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_PWRMGR_AON_BASE_ADDR 0x40400000u |
Peripheral base address for pwrmgr_aon in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 164 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_PWRMGR_AON_BASE_ADDR and TOP_ENGLISHBREAKFAST_PWRMGR_AON_BASE_ADDR + TOP_ENGLISHBREAKFAST_PWRMGR_AON_SIZE_BYTES
.
Definition at line 174 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RAM_MAIN_BASE_ADDR 0x10000000u |
Memory base address for ram_main in top englishbreakfast.
Definition at line 460 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RAM_MAIN_SIZE_BYTES 0x20000u |
Memory size for ram_main in top englishbreakfast.
Definition at line 465 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_ROM_BASE_ADDR 0x8000u |
Memory base address for rom in top englishbreakfast.
Definition at line 470 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
Peripheral base address for regs device on rom_ctrl in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 398 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_BASE_ADDR and TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_BASE_ADDR + TOP_ENGLISHBREAKFAST_ROM_CTRL_REGS_SIZE_BYTES
.
Definition at line 408 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
Peripheral base address for rom device on rom_ctrl in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 416 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
Peripheral size for rom device on rom_ctrl in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_BASE_ADDR and TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_BASE_ADDR + TOP_ENGLISHBREAKFAST_ROM_CTRL_ROM_SIZE_BYTES
.
Definition at line 426 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_ROM_SIZE_BYTES 0x8000u |
Memory size for rom in top englishbreakfast.
Definition at line 475 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RSTMGR_AON_BASE_ADDR 0x40410000u |
Peripheral base address for rstmgr_aon in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 182 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RSTMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for rstmgr_aon in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_RSTMGR_AON_BASE_ADDR and TOP_ENGLISHBREAKFAST_RSTMGR_AON_BASE_ADDR + TOP_ENGLISHBREAKFAST_RSTMGR_AON_SIZE_BYTES
.
Definition at line 192 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
Peripheral base address for cfg device on rv_core_ibex in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 434 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
Peripheral size for cfg device on rv_core_ibex in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_BASE_ADDR and TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_ENGLISHBREAKFAST_RV_CORE_IBEX_CFG_SIZE_BYTES
.
Definition at line 444 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RV_PLIC_BASE_ADDR 0x48000000u |
Peripheral base address for rv_plic in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 326 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_RV_PLIC_BASE_ADDR and TOP_ENGLISHBREAKFAST_RV_PLIC_BASE_ADDR + TOP_ENGLISHBREAKFAST_RV_PLIC_SIZE_BYTES
.
Definition at line 336 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RV_TIMER_BASE_ADDR 0x40100000u |
Peripheral base address for rv_timer in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 128 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_RV_TIMER_BASE_ADDR and TOP_ENGLISHBREAKFAST_RV_TIMER_BASE_ADDR + TOP_ENGLISHBREAKFAST_RV_TIMER_SIZE_BYTES
.
Definition at line 138 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SPI_DEVICE_BASE_ADDR 0x40050000u |
Peripheral base address for spi_device in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 92 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_SPI_DEVICE_BASE_ADDR and TOP_ENGLISHBREAKFAST_SPI_DEVICE_BASE_ADDR + TOP_ENGLISHBREAKFAST_SPI_DEVICE_SIZE_BYTES
.
Definition at line 102 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SPI_HOST0_BASE_ADDR 0x40060000u |
Peripheral base address for spi_host0 in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 110 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_SPI_HOST0_BASE_ADDR and TOP_ENGLISHBREAKFAST_SPI_HOST0_BASE_ADDR + TOP_ENGLISHBREAKFAST_SPI_HOST0_SIZE_BYTES
.
Definition at line 120 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Peripheral base address for ram device on sram_ctrl_main in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 380 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
Peripheral size for ram device on sram_ctrl_main in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_BASE_ADDR and TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_BASE_ADDR + TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_RAM_SIZE_BYTES
.
Definition at line 390 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
Peripheral base address for regs device on sram_ctrl_main in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 362 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_BASE_ADDR and TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_ENGLISHBREAKFAST_SRAM_CTRL_MAIN_REGS_SIZE_BYTES
.
Definition at line 372 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_UART0_BASE_ADDR 0x40000000u |
Peripheral base address for uart0 in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 38 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_UART0_BASE_ADDR and TOP_ENGLISHBREAKFAST_UART0_BASE_ADDR + TOP_ENGLISHBREAKFAST_UART0_SIZE_BYTES
.
Definition at line 48 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_UART1_BASE_ADDR 0x40010000u |
Peripheral base address for uart1 in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 56 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_UART1_SIZE_BYTES 0x40u |
Peripheral size for uart1 in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_UART1_BASE_ADDR and TOP_ENGLISHBREAKFAST_UART1_BASE_ADDR + TOP_ENGLISHBREAKFAST_UART1_SIZE_BYTES
.
Definition at line 66 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_USBDEV_BASE_ADDR 0x40320000u |
Peripheral base address for usbdev in top englishbreakfast.
This should be used with mmio_region_from_addr to access the memory-mapped registers associated with the peripheral (usually via a DIF).
Definition at line 146 of file top_englishbreakfast.h.
#define TOP_ENGLISHBREAKFAST_USBDEV_SIZE_BYTES 0x1000u |
Peripheral size for usbdev in top englishbreakfast.
This is the size (in bytes) of the peripheral's reserved memory area. All memory-mapped registers associated with this peripheral should have an address between TOP_ENGLISHBREAKFAST_USBDEV_BASE_ADDR and TOP_ENGLISHBREAKFAST_USBDEV_BASE_ADDR + TOP_ENGLISHBREAKFAST_USBDEV_SIZE_BYTES
.
Definition at line 156 of file top_englishbreakfast.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Clock Manager Software-Hinted Clocks.
The Software has partial control over these clocks. It can ask them to stop, but the clock manager is in control of whether the clock actually is stopped.
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
Dedicated Pad Selects.
Definition at line 828 of file top_englishbreakfast.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Definition at line 933 of file top_englishbreakfast.h.
Clock Manager Software-Hinted Clocks.
The Software has partial control over these clocks. It can ask them to stop, but the clock manager is in control of whether the clock actually is stopped.
Enumerator | |
---|---|
kTopEnglishbreakfastHintableClocksMainAes | Clock clk_main_aes in group trans. |
Definition at line 947 of file top_englishbreakfast.h.
Muxed Pad Selects.
Definition at line 849 of file top_englishbreakfast.h.
Pinmux MIO Input Selector.
Definition at line 673 of file top_englishbreakfast.h.
Pinmux MIO Output.
Definition at line 729 of file top_englishbreakfast.h.
Pinmux Peripheral Output Selector.
Definition at line 783 of file top_englishbreakfast.h.
Pinmux Peripheral Input.
Definition at line 628 of file top_englishbreakfast.h.
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
Definition at line 504 of file top_englishbreakfast.h.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
Definition at line 484 of file top_englishbreakfast.h.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
Enumerator | |
---|---|
kTopEnglishbreakfastPlicTargetIbex0 | Ibex Core 0. |
Definition at line 611 of file top_englishbreakfast.h.
Power Manager Reset Request Signals.
Definition at line 923 of file top_englishbreakfast.h.
Power Manager Wakeup Signals.
Definition at line 903 of file top_englishbreakfast.h.
Reset Manager Software Controlled Resets.
Definition at line 913 of file top_englishbreakfast.h.
|
extern |
PLIC Interrupt Source to Peripheral Map.
This array is a mapping from top_englishbreakfast_plic_irq_id_t
to top_englishbreakfast_plic_peripheral_t
.
Definition at line 19 of file top_englishbreakfast.c.