|
Pavona Software APIs
|
Top-specific Definitions. More...
Go to the source code of this file.
Macros | |
| #define | TOP_EGRET_UART0_BASE_ADDR 0x40000000u |
| Peripheral base address for uart0 in top egret. | |
| #define | TOP_EGRET_UART0_SIZE_BYTES 0x40u |
| Peripheral size for uart0 in top egret. | |
| #define | TOP_EGRET_UART1_BASE_ADDR 0x40010000u |
| Peripheral base address for uart1 in top egret. | |
| #define | TOP_EGRET_UART1_SIZE_BYTES 0x40u |
| Peripheral size for uart1 in top egret. | |
| #define | TOP_EGRET_UART2_BASE_ADDR 0x40020000u |
| Peripheral base address for uart2 in top egret. | |
| #define | TOP_EGRET_UART2_SIZE_BYTES 0x40u |
| Peripheral size for uart2 in top egret. | |
| #define | TOP_EGRET_UART3_BASE_ADDR 0x40030000u |
| Peripheral base address for uart3 in top egret. | |
| #define | TOP_EGRET_UART3_SIZE_BYTES 0x40u |
| Peripheral size for uart3 in top egret. | |
| #define | TOP_EGRET_GPIO_BASE_ADDR 0x40040000u |
| Peripheral base address for gpio in top egret. | |
| #define | TOP_EGRET_GPIO_SIZE_BYTES 0x80u |
| Peripheral size for gpio in top egret. | |
| #define | TOP_EGRET_SPI_DEVICE_BASE_ADDR 0x40050000u |
| Peripheral base address for spi_device in top egret. | |
| #define | TOP_EGRET_SPI_DEVICE_SIZE_BYTES 0x2000u |
| Peripheral size for spi_device in top egret. | |
| #define | TOP_EGRET_I2C0_BASE_ADDR 0x40080000u |
| Peripheral base address for i2c0 in top egret. | |
| #define | TOP_EGRET_I2C0_SIZE_BYTES 0x80u |
| Peripheral size for i2c0 in top egret. | |
| #define | TOP_EGRET_I2C1_BASE_ADDR 0x40090000u |
| Peripheral base address for i2c1 in top egret. | |
| #define | TOP_EGRET_I2C1_SIZE_BYTES 0x80u |
| Peripheral size for i2c1 in top egret. | |
| #define | TOP_EGRET_I2C2_BASE_ADDR 0x400A0000u |
| Peripheral base address for i2c2 in top egret. | |
| #define | TOP_EGRET_I2C2_SIZE_BYTES 0x80u |
| Peripheral size for i2c2 in top egret. | |
| #define | TOP_EGRET_PATTGEN_BASE_ADDR 0x400E0000u |
| Peripheral base address for pattgen in top egret. | |
| #define | TOP_EGRET_PATTGEN_SIZE_BYTES 0x40u |
| Peripheral size for pattgen in top egret. | |
| #define | TOP_EGRET_RV_TIMER_BASE_ADDR 0x40100000u |
| Peripheral base address for rv_timer in top egret. | |
| #define | TOP_EGRET_RV_TIMER_SIZE_BYTES 0x200u |
| Peripheral size for rv_timer in top egret. | |
| #define | TOP_EGRET_OTP_CTRL_CORE_BASE_ADDR 0x40130000u |
| Peripheral base address for core device on otp_ctrl in top egret. | |
| #define | TOP_EGRET_OTP_CTRL_CORE_SIZE_BYTES 0x1000u |
| Peripheral size for core device on otp_ctrl in top egret. | |
| #define | TOP_EGRET_OTP_MACRO_PRIM_BASE_ADDR 0x40138000u |
| Peripheral base address for prim device on otp_macro in top egret. | |
| #define | TOP_EGRET_OTP_MACRO_PRIM_SIZE_BYTES 0x20u |
| Peripheral size for prim device on otp_macro in top egret. | |
| #define | TOP_EGRET_LC_CTRL_REGS_BASE_ADDR 0x40140000u |
| Peripheral base address for regs device on lc_ctrl in top egret. | |
| #define | TOP_EGRET_LC_CTRL_REGS_SIZE_BYTES 0x100u |
| Peripheral size for regs device on lc_ctrl in top egret. | |
| #define | TOP_EGRET_LC_CTRL_DMI_BASE_ADDR 0x0u |
| Peripheral base address for dmi device on lc_ctrl in top egret. | |
| #define | TOP_EGRET_LC_CTRL_DMI_SIZE_BYTES 0x1000u |
| Peripheral size for dmi device on lc_ctrl in top egret. | |
| #define | TOP_EGRET_ALERT_HANDLER_BASE_ADDR 0x40150000u |
| Peripheral base address for alert_handler in top egret. | |
| #define | TOP_EGRET_ALERT_HANDLER_SIZE_BYTES 0x800u |
| Peripheral size for alert_handler in top egret. | |
| #define | TOP_EGRET_SPI_HOST0_BASE_ADDR 0x40300000u |
| Peripheral base address for spi_host0 in top egret. | |
| #define | TOP_EGRET_SPI_HOST0_SIZE_BYTES 0x40u |
| Peripheral size for spi_host0 in top egret. | |
| #define | TOP_EGRET_SPI_HOST1_BASE_ADDR 0x40310000u |
| Peripheral base address for spi_host1 in top egret. | |
| #define | TOP_EGRET_SPI_HOST1_SIZE_BYTES 0x40u |
| Peripheral size for spi_host1 in top egret. | |
| #define | TOP_EGRET_USBDEV_BASE_ADDR 0x40320000u |
| Peripheral base address for usbdev in top egret. | |
| #define | TOP_EGRET_USBDEV_SIZE_BYTES 0x1000u |
| Peripheral size for usbdev in top egret. | |
| #define | TOP_EGRET_PWRMGR_AON_BASE_ADDR 0x40400000u |
| Peripheral base address for pwrmgr_aon in top egret. | |
| #define | TOP_EGRET_PWRMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for pwrmgr_aon in top egret. | |
| #define | TOP_EGRET_RSTMGR_AON_BASE_ADDR 0x40410000u |
| Peripheral base address for rstmgr_aon in top egret. | |
| #define | TOP_EGRET_RSTMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for rstmgr_aon in top egret. | |
| #define | TOP_EGRET_CLKMGR_AON_BASE_ADDR 0x40420000u |
| Peripheral base address for clkmgr_aon in top egret. | |
| #define | TOP_EGRET_CLKMGR_AON_SIZE_BYTES 0x80u |
| Peripheral size for clkmgr_aon in top egret. | |
| #define | TOP_EGRET_SYSRST_CTRL_AON_BASE_ADDR 0x40430000u |
| Peripheral base address for sysrst_ctrl_aon in top egret. | |
| #define | TOP_EGRET_SYSRST_CTRL_AON_SIZE_BYTES 0x100u |
| Peripheral size for sysrst_ctrl_aon in top egret. | |
| #define | TOP_EGRET_ADC_CTRL_AON_BASE_ADDR 0x40440000u |
| Peripheral base address for adc_ctrl_aon in top egret. | |
| #define | TOP_EGRET_ADC_CTRL_AON_SIZE_BYTES 0x80u |
| Peripheral size for adc_ctrl_aon in top egret. | |
| #define | TOP_EGRET_PWM_AON_BASE_ADDR 0x40450000u |
| Peripheral base address for pwm_aon in top egret. | |
| #define | TOP_EGRET_PWM_AON_SIZE_BYTES 0x80u |
| Peripheral size for pwm_aon in top egret. | |
| #define | TOP_EGRET_PINMUX_AON_BASE_ADDR 0x40460000u |
| Peripheral base address for pinmux_aon in top egret. | |
| #define | TOP_EGRET_PINMUX_AON_SIZE_BYTES 0x1000u |
| Peripheral size for pinmux_aon in top egret. | |
| #define | TOP_EGRET_AON_TIMER_AON_BASE_ADDR 0x40470000u |
| Peripheral base address for aon_timer_aon in top egret. | |
| #define | TOP_EGRET_AON_TIMER_AON_SIZE_BYTES 0x40u |
| Peripheral size for aon_timer_aon in top egret. | |
| #define | TOP_EGRET_AST_BASE_ADDR 0x40480000u |
| Peripheral base address for ast in top egret. | |
| #define | TOP_EGRET_AST_SIZE_BYTES 0x400u |
| Peripheral size for ast in top egret. | |
| #define | TOP_EGRET_SENSOR_CTRL_AON_BASE_ADDR 0x40490000u |
| Peripheral base address for sensor_ctrl_aon in top egret. | |
| #define | TOP_EGRET_SENSOR_CTRL_AON_SIZE_BYTES 0x80u |
| Peripheral size for sensor_ctrl_aon in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x40500000u |
| Peripheral base address for regs device on sram_ctrl_ret_aon in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40u |
| Peripheral size for regs device on sram_ctrl_ret_aon in top egret. | |
| #define | TOP_EGRET_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
| Peripheral base address for core device on flash_ctrl in top egret. | |
| #define | TOP_EGRET_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
| Peripheral size for core device on flash_ctrl in top egret. | |
| #define | TOP_EGRET_FLASH_MACRO_WRAPPER_BASE_ADDR 0x41008000u |
| Peripheral base address for flash_macro_wrapper in top egret. | |
| #define | TOP_EGRET_FLASH_MACRO_WRAPPER_SIZE_BYTES 0x80u |
| Peripheral size for flash_macro_wrapper in top egret. | |
| #define | TOP_EGRET_RV_DM_REGS_BASE_ADDR 0x41200000u |
| Peripheral base address for regs device on rv_dm in top egret. | |
| #define | TOP_EGRET_RV_DM_REGS_SIZE_BYTES 0x10u |
| Peripheral size for regs device on rv_dm in top egret. | |
| #define | TOP_EGRET_RV_DM_MEM_BASE_ADDR 0x10000u |
| Peripheral base address for mem device on rv_dm in top egret. | |
| #define | TOP_EGRET_RV_DM_MEM_SIZE_BYTES 0x1000u |
| Peripheral size for mem device on rv_dm in top egret. | |
| #define | TOP_EGRET_RV_DM_DBG_BASE_ADDR 0x1000u |
| Peripheral base address for dbg device on rv_dm in top egret. | |
| #define | TOP_EGRET_RV_DM_DBG_SIZE_BYTES 0x200u |
| Peripheral size for dbg device on rv_dm in top egret. | |
| #define | TOP_EGRET_RV_PLIC_BASE_ADDR 0x48000000u |
| Peripheral base address for rv_plic in top egret. | |
| #define | TOP_EGRET_RV_PLIC_SIZE_BYTES 0x8000000u |
| Peripheral size for rv_plic in top egret. | |
| #define | TOP_EGRET_ACC_BASE_ADDR 0x41300000u |
| Peripheral base address for acc in top egret. | |
| #define | TOP_EGRET_ACC_SIZE_BYTES 0x20000u |
| Peripheral size for acc in top egret. | |
| #define | TOP_EGRET_AES_BASE_ADDR 0x41100000u |
| Peripheral base address for aes in top egret. | |
| #define | TOP_EGRET_AES_SIZE_BYTES 0x100u |
| Peripheral size for aes in top egret. | |
| #define | TOP_EGRET_HMAC_BASE_ADDR 0x41110000u |
| Peripheral base address for hmac in top egret. | |
| #define | TOP_EGRET_HMAC_SIZE_BYTES 0x2000u |
| Peripheral size for hmac in top egret. | |
| #define | TOP_EGRET_KMAC_BASE_ADDR 0x41120000u |
| Peripheral base address for kmac in top egret. | |
| #define | TOP_EGRET_KMAC_SIZE_BYTES 0x1000u |
| Peripheral size for kmac in top egret. | |
| #define | TOP_EGRET_KEYMGR_BASE_ADDR 0x41140000u |
| Peripheral base address for keymgr in top egret. | |
| #define | TOP_EGRET_KEYMGR_SIZE_BYTES 0x100u |
| Peripheral size for keymgr in top egret. | |
| #define | TOP_EGRET_CSRNG_BASE_ADDR 0x41150000u |
| Peripheral base address for csrng in top egret. | |
| #define | TOP_EGRET_CSRNG_SIZE_BYTES 0x80u |
| Peripheral size for csrng in top egret. | |
| #define | TOP_EGRET_ENTROPY_SRC_BASE_ADDR 0x41160000u |
| Peripheral base address for entropy_src in top egret. | |
| #define | TOP_EGRET_ENTROPY_SRC_SIZE_BYTES 0x100u |
| Peripheral size for entropy_src in top egret. | |
| #define | TOP_EGRET_EDN0_BASE_ADDR 0x41170000u |
| Peripheral base address for edn0 in top egret. | |
| #define | TOP_EGRET_EDN0_SIZE_BYTES 0x80u |
| Peripheral size for edn0 in top egret. | |
| #define | TOP_EGRET_EDN1_BASE_ADDR 0x41180000u |
| Peripheral base address for edn1 in top egret. | |
| #define | TOP_EGRET_EDN1_SIZE_BYTES 0x80u |
| Peripheral size for edn1 in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
| Peripheral base address for regs device on sram_ctrl_main in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
| Peripheral size for regs device on sram_ctrl_main in top egret. | |
| #define | TOP_EGRET_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
| Peripheral base address for regs device on rom_ctrl in top egret. | |
| #define | TOP_EGRET_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
| Peripheral size for regs device on rom_ctrl in top egret. | |
| #define | TOP_EGRET_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
| Peripheral base address for cfg device on rv_core_ibex in top egret. | |
| #define | TOP_EGRET_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
| Peripheral size for cfg device on rv_core_ibex in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x40600000u |
| Memory base address for ram memory on sram_ctrl_ret_aon in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000u |
| Memory size for ram memory on sram_ctrl_ret_aon in top egret. | |
| #define | TOP_EGRET_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
| Memory base address for mem memory on flash_ctrl in top egret. | |
| #define | TOP_EGRET_FLASH_CTRL_MEM_SIZE_BYTES 0x100000u |
| Memory size for mem memory on flash_ctrl in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
| Memory base address for ram memory on sram_ctrl_main in top egret. | |
| #define | TOP_EGRET_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
| Memory size for ram memory on sram_ctrl_main in top egret. | |
| #define | TOP_EGRET_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
| Memory base address for rom memory on rom_ctrl in top egret. | |
| #define | TOP_EGRET_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
| Memory size for rom memory on rom_ctrl in top egret. | |
| #define | PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
| #define | NUM_MIO_PADS 47 |
| #define | NUM_DIO_PADS 16 |
| #define | PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
| #define | TOP_EGRET_MMIO_BASE_ADDR 0x40000000u |
| MMIO Region. | |
| #define | TOP_EGRET_MMIO_SIZE_BYTES 0x10000000u |
Typedefs | |
| typedef enum top_egret_plic_peripheral | top_egret_plic_peripheral_t |
| PLIC Interrupt Source Peripheral. | |
| typedef enum top_egret_plic_irq_id | top_egret_plic_irq_id_t |
| PLIC Interrupt Source. | |
| typedef enum top_egret_plic_target | top_egret_plic_target_t |
| PLIC Interrupt Target. | |
| typedef enum top_egret_alert_peripheral | top_egret_alert_peripheral_t |
| Alert Handler Source Peripheral. | |
| typedef enum top_egret_alert_id | top_egret_alert_id_t |
| Alert Handler Alert Source. | |
| typedef enum top_egret_pinmux_peripheral_in | top_egret_pinmux_peripheral_in_t |
| Pinmux Peripheral Input. | |
| typedef enum top_egret_pinmux_insel | top_egret_pinmux_insel_t |
| Pinmux MIO Input Selector. | |
| typedef enum top_egret_pinmux_mio_out | top_egret_pinmux_mio_out_t |
| Pinmux MIO Output. | |
| typedef enum top_egret_pinmux_outsel | top_egret_pinmux_outsel_t |
| Pinmux Peripheral Output Selector. | |
| typedef enum top_egret_direct_pads | top_egret_direct_pads_t |
| Dedicated Pad Selects. | |
| typedef enum top_egret_muxed_pads | top_egret_muxed_pads_t |
| Muxed Pad Selects. | |
| typedef enum top_egret_power_manager_wake_ups | top_egret_power_manager_wake_ups_t |
| Power Manager Wakeup Signals. | |
| typedef enum top_egret_reset_manager_sw_resets | top_egret_reset_manager_sw_resets_t |
| Reset Manager Software Controlled Resets. | |
| typedef enum top_egret_power_manager_reset_requests | top_egret_power_manager_reset_requests_t |
| Power Manager Reset Request Signals. | |
| typedef enum top_egret_gateable_clocks | top_egret_gateable_clocks_t |
| Clock Manager Software-Controlled ("Gated") Clocks. | |
| typedef enum top_egret_hintable_clocks | top_egret_hintable_clocks_t |
| Clock Manager Software-Hinted Clocks. | |
Variables | |
| const top_egret_plic_peripheral_t | top_egret_plic_interrupt_for_peripheral [186] |
| PLIC Interrupt Source to Peripheral Map. | |
| const top_egret_alert_peripheral_t | top_egret_alert_for_peripheral [65] |
| Alert Handler Alert 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_egret.h.
| #define NUM_DIO_PADS 16 |
Definition at line 1338 of file top_egret.h.
| #define NUM_MIO_PADS 47 |
Definition at line 1337 of file top_egret.h.
| #define PINMUX_MIO_PERIPH_INSEL_IDX_OFFSET 2 |
Definition at line 1333 of file top_egret.h.
| #define PINMUX_PERIPH_OUTSEL_IDX_OFFSET 3 |
Definition at line 1340 of file top_egret.h.
| #define TOP_EGRET_ACC_BASE_ADDR 0x41300000u |
Peripheral base address for acc in top egret.
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 687 of file top_egret.h.
| #define TOP_EGRET_ACC_SIZE_BYTES 0x20000u |
Peripheral size for acc in top egret.
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_EGRET_ACC_BASE_ADDR and TOP_EGRET_ACC_BASE_ADDR + TOP_EGRET_ACC_SIZE_BYTES.
Definition at line 697 of file top_egret.h.
| #define TOP_EGRET_ADC_CTRL_AON_BASE_ADDR 0x40440000u |
Peripheral base address for adc_ctrl_aon in top egret.
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 453 of file top_egret.h.
| #define TOP_EGRET_ADC_CTRL_AON_SIZE_BYTES 0x80u |
Peripheral size for adc_ctrl_aon in top egret.
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_EGRET_ADC_CTRL_AON_BASE_ADDR and TOP_EGRET_ADC_CTRL_AON_BASE_ADDR + TOP_EGRET_ADC_CTRL_AON_SIZE_BYTES.
Definition at line 463 of file top_egret.h.
| #define TOP_EGRET_AES_BASE_ADDR 0x41100000u |
Peripheral base address for aes in top egret.
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 705 of file top_egret.h.
| #define TOP_EGRET_AES_SIZE_BYTES 0x100u |
Peripheral size for aes in top egret.
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_EGRET_AES_BASE_ADDR and TOP_EGRET_AES_BASE_ADDR + TOP_EGRET_AES_SIZE_BYTES.
Definition at line 715 of file top_egret.h.
| #define TOP_EGRET_ALERT_HANDLER_BASE_ADDR 0x40150000u |
Peripheral base address for alert_handler in top egret.
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 309 of file top_egret.h.
| #define TOP_EGRET_ALERT_HANDLER_SIZE_BYTES 0x800u |
Peripheral size for alert_handler in top egret.
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_EGRET_ALERT_HANDLER_BASE_ADDR and TOP_EGRET_ALERT_HANDLER_BASE_ADDR + TOP_EGRET_ALERT_HANDLER_SIZE_BYTES.
Definition at line 319 of file top_egret.h.
| #define TOP_EGRET_AON_TIMER_AON_BASE_ADDR 0x40470000u |
Peripheral base address for aon_timer_aon in top egret.
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 507 of file top_egret.h.
| #define TOP_EGRET_AON_TIMER_AON_SIZE_BYTES 0x40u |
Peripheral size for aon_timer_aon in top egret.
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_EGRET_AON_TIMER_AON_BASE_ADDR and TOP_EGRET_AON_TIMER_AON_BASE_ADDR + TOP_EGRET_AON_TIMER_AON_SIZE_BYTES.
Definition at line 517 of file top_egret.h.
| #define TOP_EGRET_AST_BASE_ADDR 0x40480000u |
Peripheral base address for ast in top egret.
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 525 of file top_egret.h.
| #define TOP_EGRET_AST_SIZE_BYTES 0x400u |
Peripheral size for ast in top egret.
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_EGRET_AST_BASE_ADDR and TOP_EGRET_AST_BASE_ADDR + TOP_EGRET_AST_SIZE_BYTES.
Definition at line 535 of file top_egret.h.
| #define TOP_EGRET_CLKMGR_AON_BASE_ADDR 0x40420000u |
Peripheral base address for clkmgr_aon in top egret.
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 417 of file top_egret.h.
| #define TOP_EGRET_CLKMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for clkmgr_aon in top egret.
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_EGRET_CLKMGR_AON_BASE_ADDR and TOP_EGRET_CLKMGR_AON_BASE_ADDR + TOP_EGRET_CLKMGR_AON_SIZE_BYTES.
Definition at line 427 of file top_egret.h.
| #define TOP_EGRET_CSRNG_BASE_ADDR 0x41150000u |
Peripheral base address for csrng in top egret.
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 777 of file top_egret.h.
| #define TOP_EGRET_CSRNG_SIZE_BYTES 0x80u |
Peripheral size for csrng in top egret.
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_EGRET_CSRNG_BASE_ADDR and TOP_EGRET_CSRNG_BASE_ADDR + TOP_EGRET_CSRNG_SIZE_BYTES.
Definition at line 787 of file top_egret.h.
| #define TOP_EGRET_EDN0_BASE_ADDR 0x41170000u |
Peripheral base address for edn0 in top egret.
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 813 of file top_egret.h.
| #define TOP_EGRET_EDN0_SIZE_BYTES 0x80u |
Peripheral size for edn0 in top egret.
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_EGRET_EDN0_BASE_ADDR and TOP_EGRET_EDN0_BASE_ADDR + TOP_EGRET_EDN0_SIZE_BYTES.
Definition at line 823 of file top_egret.h.
| #define TOP_EGRET_EDN1_BASE_ADDR 0x41180000u |
Peripheral base address for edn1 in top egret.
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 831 of file top_egret.h.
| #define TOP_EGRET_EDN1_SIZE_BYTES 0x80u |
Peripheral size for edn1 in top egret.
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_EGRET_EDN1_BASE_ADDR and TOP_EGRET_EDN1_BASE_ADDR + TOP_EGRET_EDN1_SIZE_BYTES.
Definition at line 841 of file top_egret.h.
| #define TOP_EGRET_ENTROPY_SRC_BASE_ADDR 0x41160000u |
Peripheral base address for entropy_src in top egret.
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 795 of file top_egret.h.
| #define TOP_EGRET_ENTROPY_SRC_SIZE_BYTES 0x100u |
Peripheral size for entropy_src in top egret.
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_EGRET_ENTROPY_SRC_BASE_ADDR and TOP_EGRET_ENTROPY_SRC_BASE_ADDR + TOP_EGRET_ENTROPY_SRC_SIZE_BYTES.
Definition at line 805 of file top_egret.h.
| #define TOP_EGRET_FLASH_CTRL_CORE_BASE_ADDR 0x41000000u |
Peripheral base address for core device on flash_ctrl in top egret.
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 579 of file top_egret.h.
| #define TOP_EGRET_FLASH_CTRL_CORE_SIZE_BYTES 0x200u |
Peripheral size for core device on flash_ctrl in top egret.
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_EGRET_FLASH_CTRL_CORE_BASE_ADDR and TOP_EGRET_FLASH_CTRL_CORE_BASE_ADDR + TOP_EGRET_FLASH_CTRL_CORE_SIZE_BYTES.
Definition at line 589 of file top_egret.h.
| #define TOP_EGRET_FLASH_CTRL_MEM_BASE_ADDR 0x20000000u |
Memory base address for mem memory on flash_ctrl in top egret.
Definition at line 911 of file top_egret.h.
| #define TOP_EGRET_FLASH_CTRL_MEM_SIZE_BYTES 0x100000u |
Memory size for mem memory on flash_ctrl in top egret.
Definition at line 916 of file top_egret.h.
| #define TOP_EGRET_FLASH_MACRO_WRAPPER_BASE_ADDR 0x41008000u |
Peripheral base address for flash_macro_wrapper in top egret.
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 597 of file top_egret.h.
| #define TOP_EGRET_FLASH_MACRO_WRAPPER_SIZE_BYTES 0x80u |
Peripheral size for flash_macro_wrapper in top egret.
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_EGRET_FLASH_MACRO_WRAPPER_BASE_ADDR and TOP_EGRET_FLASH_MACRO_WRAPPER_BASE_ADDR + TOP_EGRET_FLASH_MACRO_WRAPPER_SIZE_BYTES.
Definition at line 607 of file top_egret.h.
| #define TOP_EGRET_GPIO_BASE_ADDR 0x40040000u |
Peripheral base address for gpio in top egret.
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 111 of file top_egret.h.
| #define TOP_EGRET_GPIO_SIZE_BYTES 0x80u |
Peripheral size for gpio in top egret.
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_EGRET_GPIO_BASE_ADDR and TOP_EGRET_GPIO_BASE_ADDR + TOP_EGRET_GPIO_SIZE_BYTES.
Definition at line 121 of file top_egret.h.
| #define TOP_EGRET_HMAC_BASE_ADDR 0x41110000u |
Peripheral base address for hmac in top egret.
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 723 of file top_egret.h.
| #define TOP_EGRET_HMAC_SIZE_BYTES 0x2000u |
Peripheral size for hmac in top egret.
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_EGRET_HMAC_BASE_ADDR and TOP_EGRET_HMAC_BASE_ADDR + TOP_EGRET_HMAC_SIZE_BYTES.
Definition at line 733 of file top_egret.h.
| #define TOP_EGRET_I2C0_BASE_ADDR 0x40080000u |
Peripheral base address for i2c0 in top egret.
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 147 of file top_egret.h.
| #define TOP_EGRET_I2C0_SIZE_BYTES 0x80u |
Peripheral size for i2c0 in top egret.
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_EGRET_I2C0_BASE_ADDR and TOP_EGRET_I2C0_BASE_ADDR + TOP_EGRET_I2C0_SIZE_BYTES.
Definition at line 157 of file top_egret.h.
| #define TOP_EGRET_I2C1_BASE_ADDR 0x40090000u |
Peripheral base address for i2c1 in top egret.
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 165 of file top_egret.h.
| #define TOP_EGRET_I2C1_SIZE_BYTES 0x80u |
Peripheral size for i2c1 in top egret.
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_EGRET_I2C1_BASE_ADDR and TOP_EGRET_I2C1_BASE_ADDR + TOP_EGRET_I2C1_SIZE_BYTES.
Definition at line 175 of file top_egret.h.
| #define TOP_EGRET_I2C2_BASE_ADDR 0x400A0000u |
Peripheral base address for i2c2 in top egret.
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 183 of file top_egret.h.
| #define TOP_EGRET_I2C2_SIZE_BYTES 0x80u |
Peripheral size for i2c2 in top egret.
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_EGRET_I2C2_BASE_ADDR and TOP_EGRET_I2C2_BASE_ADDR + TOP_EGRET_I2C2_SIZE_BYTES.
Definition at line 193 of file top_egret.h.
| #define TOP_EGRET_KEYMGR_BASE_ADDR 0x41140000u |
Peripheral base address for keymgr in top egret.
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 759 of file top_egret.h.
| #define TOP_EGRET_KEYMGR_SIZE_BYTES 0x100u |
Peripheral size for keymgr in top egret.
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_EGRET_KEYMGR_BASE_ADDR and TOP_EGRET_KEYMGR_BASE_ADDR + TOP_EGRET_KEYMGR_SIZE_BYTES.
Definition at line 769 of file top_egret.h.
| #define TOP_EGRET_KMAC_BASE_ADDR 0x41120000u |
Peripheral base address for kmac in top egret.
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 741 of file top_egret.h.
| #define TOP_EGRET_KMAC_SIZE_BYTES 0x1000u |
Peripheral size for kmac in top egret.
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_EGRET_KMAC_BASE_ADDR and TOP_EGRET_KMAC_BASE_ADDR + TOP_EGRET_KMAC_SIZE_BYTES.
Definition at line 751 of file top_egret.h.
| #define TOP_EGRET_LC_CTRL_DMI_BASE_ADDR 0x0u |
Peripheral base address for dmi device on lc_ctrl in top egret.
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 291 of file top_egret.h.
| #define TOP_EGRET_LC_CTRL_DMI_SIZE_BYTES 0x1000u |
Peripheral size for dmi device on lc_ctrl in top egret.
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_EGRET_LC_CTRL_DMI_BASE_ADDR and TOP_EGRET_LC_CTRL_DMI_BASE_ADDR + TOP_EGRET_LC_CTRL_DMI_SIZE_BYTES.
Definition at line 301 of file top_egret.h.
| #define TOP_EGRET_LC_CTRL_REGS_BASE_ADDR 0x40140000u |
Peripheral base address for regs device on lc_ctrl in top egret.
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 273 of file top_egret.h.
| #define TOP_EGRET_LC_CTRL_REGS_SIZE_BYTES 0x100u |
Peripheral size for regs device on lc_ctrl in top egret.
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_EGRET_LC_CTRL_REGS_BASE_ADDR and TOP_EGRET_LC_CTRL_REGS_BASE_ADDR + TOP_EGRET_LC_CTRL_REGS_SIZE_BYTES.
Definition at line 283 of file top_egret.h.
| #define TOP_EGRET_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 1749 of file top_egret.h.
| #define TOP_EGRET_MMIO_SIZE_BYTES 0x10000000u |
Definition at line 1750 of file top_egret.h.
| #define TOP_EGRET_OTP_CTRL_CORE_BASE_ADDR 0x40130000u |
Peripheral base address for core device on otp_ctrl in top egret.
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 237 of file top_egret.h.
| #define TOP_EGRET_OTP_CTRL_CORE_SIZE_BYTES 0x1000u |
Peripheral size for core device on otp_ctrl in top egret.
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_EGRET_OTP_CTRL_CORE_BASE_ADDR and TOP_EGRET_OTP_CTRL_CORE_BASE_ADDR + TOP_EGRET_OTP_CTRL_CORE_SIZE_BYTES.
Definition at line 247 of file top_egret.h.
| #define TOP_EGRET_OTP_MACRO_PRIM_BASE_ADDR 0x40138000u |
Peripheral base address for prim device on otp_macro in top egret.
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 255 of file top_egret.h.
| #define TOP_EGRET_OTP_MACRO_PRIM_SIZE_BYTES 0x20u |
Peripheral size for prim device on otp_macro in top egret.
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_EGRET_OTP_MACRO_PRIM_BASE_ADDR and TOP_EGRET_OTP_MACRO_PRIM_BASE_ADDR + TOP_EGRET_OTP_MACRO_PRIM_SIZE_BYTES.
Definition at line 265 of file top_egret.h.
| #define TOP_EGRET_PATTGEN_BASE_ADDR 0x400E0000u |
Peripheral base address for pattgen in top egret.
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 201 of file top_egret.h.
| #define TOP_EGRET_PATTGEN_SIZE_BYTES 0x40u |
Peripheral size for pattgen in top egret.
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_EGRET_PATTGEN_BASE_ADDR and TOP_EGRET_PATTGEN_BASE_ADDR + TOP_EGRET_PATTGEN_SIZE_BYTES.
Definition at line 211 of file top_egret.h.
| #define TOP_EGRET_PINMUX_AON_BASE_ADDR 0x40460000u |
Peripheral base address for pinmux_aon in top egret.
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 489 of file top_egret.h.
| #define TOP_EGRET_PINMUX_AON_SIZE_BYTES 0x1000u |
Peripheral size for pinmux_aon in top egret.
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_EGRET_PINMUX_AON_BASE_ADDR and TOP_EGRET_PINMUX_AON_BASE_ADDR + TOP_EGRET_PINMUX_AON_SIZE_BYTES.
Definition at line 499 of file top_egret.h.
| #define TOP_EGRET_PWM_AON_BASE_ADDR 0x40450000u |
Peripheral base address for pwm_aon in top egret.
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 471 of file top_egret.h.
| #define TOP_EGRET_PWM_AON_SIZE_BYTES 0x80u |
Peripheral size for pwm_aon in top egret.
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_EGRET_PWM_AON_BASE_ADDR and TOP_EGRET_PWM_AON_BASE_ADDR + TOP_EGRET_PWM_AON_SIZE_BYTES.
Definition at line 481 of file top_egret.h.
| #define TOP_EGRET_PWRMGR_AON_BASE_ADDR 0x40400000u |
Peripheral base address for pwrmgr_aon in top egret.
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 381 of file top_egret.h.
| #define TOP_EGRET_PWRMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for pwrmgr_aon in top egret.
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_EGRET_PWRMGR_AON_BASE_ADDR and TOP_EGRET_PWRMGR_AON_BASE_ADDR + TOP_EGRET_PWRMGR_AON_SIZE_BYTES.
Definition at line 391 of file top_egret.h.
| #define TOP_EGRET_ROM_CTRL_REGS_BASE_ADDR 0x411E0000u |
Peripheral base address for regs device on rom_ctrl in top egret.
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 867 of file top_egret.h.
| #define TOP_EGRET_ROM_CTRL_REGS_SIZE_BYTES 0x80u |
Peripheral size for regs device on rom_ctrl in top egret.
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_EGRET_ROM_CTRL_REGS_BASE_ADDR and TOP_EGRET_ROM_CTRL_REGS_BASE_ADDR + TOP_EGRET_ROM_CTRL_REGS_SIZE_BYTES.
Definition at line 877 of file top_egret.h.
| #define TOP_EGRET_ROM_CTRL_ROM_BASE_ADDR 0x8000u |
Memory base address for rom memory on rom_ctrl in top egret.
Definition at line 931 of file top_egret.h.
| #define TOP_EGRET_ROM_CTRL_ROM_SIZE_BYTES 0x8000u |
Memory size for rom memory on rom_ctrl in top egret.
Definition at line 936 of file top_egret.h.
| #define TOP_EGRET_RSTMGR_AON_BASE_ADDR 0x40410000u |
Peripheral base address for rstmgr_aon in top egret.
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 399 of file top_egret.h.
| #define TOP_EGRET_RSTMGR_AON_SIZE_BYTES 0x80u |
Peripheral size for rstmgr_aon in top egret.
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_EGRET_RSTMGR_AON_BASE_ADDR and TOP_EGRET_RSTMGR_AON_BASE_ADDR + TOP_EGRET_RSTMGR_AON_SIZE_BYTES.
Definition at line 409 of file top_egret.h.
| #define TOP_EGRET_RV_CORE_IBEX_CFG_BASE_ADDR 0x411F0000u |
Peripheral base address for cfg device on rv_core_ibex in top egret.
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 885 of file top_egret.h.
| #define TOP_EGRET_RV_CORE_IBEX_CFG_SIZE_BYTES 0x100u |
Peripheral size for cfg device on rv_core_ibex in top egret.
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_EGRET_RV_CORE_IBEX_CFG_BASE_ADDR and TOP_EGRET_RV_CORE_IBEX_CFG_BASE_ADDR + TOP_EGRET_RV_CORE_IBEX_CFG_SIZE_BYTES.
Definition at line 895 of file top_egret.h.
| #define TOP_EGRET_RV_DM_DBG_BASE_ADDR 0x1000u |
Peripheral base address for dbg device on rv_dm in top egret.
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 651 of file top_egret.h.
| #define TOP_EGRET_RV_DM_DBG_SIZE_BYTES 0x200u |
Peripheral size for dbg device on rv_dm in top egret.
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_EGRET_RV_DM_DBG_BASE_ADDR and TOP_EGRET_RV_DM_DBG_BASE_ADDR + TOP_EGRET_RV_DM_DBG_SIZE_BYTES.
Definition at line 661 of file top_egret.h.
| #define TOP_EGRET_RV_DM_MEM_BASE_ADDR 0x10000u |
Peripheral base address for mem device on rv_dm in top egret.
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 633 of file top_egret.h.
| #define TOP_EGRET_RV_DM_MEM_SIZE_BYTES 0x1000u |
Peripheral size for mem device on rv_dm in top egret.
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_EGRET_RV_DM_MEM_BASE_ADDR and TOP_EGRET_RV_DM_MEM_BASE_ADDR + TOP_EGRET_RV_DM_MEM_SIZE_BYTES.
Definition at line 643 of file top_egret.h.
| #define TOP_EGRET_RV_DM_REGS_BASE_ADDR 0x41200000u |
Peripheral base address for regs device on rv_dm in top egret.
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 615 of file top_egret.h.
| #define TOP_EGRET_RV_DM_REGS_SIZE_BYTES 0x10u |
Peripheral size for regs device on rv_dm in top egret.
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_EGRET_RV_DM_REGS_BASE_ADDR and TOP_EGRET_RV_DM_REGS_BASE_ADDR + TOP_EGRET_RV_DM_REGS_SIZE_BYTES.
Definition at line 625 of file top_egret.h.
| #define TOP_EGRET_RV_PLIC_BASE_ADDR 0x48000000u |
Peripheral base address for rv_plic in top egret.
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 669 of file top_egret.h.
| #define TOP_EGRET_RV_PLIC_SIZE_BYTES 0x8000000u |
Peripheral size for rv_plic in top egret.
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_EGRET_RV_PLIC_BASE_ADDR and TOP_EGRET_RV_PLIC_BASE_ADDR + TOP_EGRET_RV_PLIC_SIZE_BYTES.
Definition at line 679 of file top_egret.h.
| #define TOP_EGRET_RV_TIMER_BASE_ADDR 0x40100000u |
Peripheral base address for rv_timer in top egret.
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 219 of file top_egret.h.
| #define TOP_EGRET_RV_TIMER_SIZE_BYTES 0x200u |
Peripheral size for rv_timer in top egret.
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_EGRET_RV_TIMER_BASE_ADDR and TOP_EGRET_RV_TIMER_BASE_ADDR + TOP_EGRET_RV_TIMER_SIZE_BYTES.
Definition at line 229 of file top_egret.h.
| #define TOP_EGRET_SENSOR_CTRL_AON_BASE_ADDR 0x40490000u |
Peripheral base address for sensor_ctrl_aon in top egret.
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 543 of file top_egret.h.
| #define TOP_EGRET_SENSOR_CTRL_AON_SIZE_BYTES 0x80u |
Peripheral size for sensor_ctrl_aon in top egret.
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_EGRET_SENSOR_CTRL_AON_BASE_ADDR and TOP_EGRET_SENSOR_CTRL_AON_BASE_ADDR + TOP_EGRET_SENSOR_CTRL_AON_SIZE_BYTES.
Definition at line 553 of file top_egret.h.
| #define TOP_EGRET_SPI_DEVICE_BASE_ADDR 0x40050000u |
Peripheral base address for spi_device in top egret.
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 129 of file top_egret.h.
| #define TOP_EGRET_SPI_DEVICE_SIZE_BYTES 0x2000u |
Peripheral size for spi_device in top egret.
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_EGRET_SPI_DEVICE_BASE_ADDR and TOP_EGRET_SPI_DEVICE_BASE_ADDR + TOP_EGRET_SPI_DEVICE_SIZE_BYTES.
Definition at line 139 of file top_egret.h.
| #define TOP_EGRET_SPI_HOST0_BASE_ADDR 0x40300000u |
Peripheral base address for spi_host0 in top egret.
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 327 of file top_egret.h.
| #define TOP_EGRET_SPI_HOST0_SIZE_BYTES 0x40u |
Peripheral size for spi_host0 in top egret.
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_EGRET_SPI_HOST0_BASE_ADDR and TOP_EGRET_SPI_HOST0_BASE_ADDR + TOP_EGRET_SPI_HOST0_SIZE_BYTES.
Definition at line 337 of file top_egret.h.
| #define TOP_EGRET_SPI_HOST1_BASE_ADDR 0x40310000u |
Peripheral base address for spi_host1 in top egret.
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 345 of file top_egret.h.
| #define TOP_EGRET_SPI_HOST1_SIZE_BYTES 0x40u |
Peripheral size for spi_host1 in top egret.
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_EGRET_SPI_HOST1_BASE_ADDR and TOP_EGRET_SPI_HOST1_BASE_ADDR + TOP_EGRET_SPI_HOST1_SIZE_BYTES.
Definition at line 355 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_MAIN_RAM_BASE_ADDR 0x10000000u |
Memory base address for ram memory on sram_ctrl_main in top egret.
Definition at line 921 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_MAIN_RAM_SIZE_BYTES 0x20000u |
Memory size for ram memory on sram_ctrl_main in top egret.
Definition at line 926 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_MAIN_REGS_BASE_ADDR 0x411C0000u |
Peripheral base address for regs device on sram_ctrl_main in top egret.
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 849 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_MAIN_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_main in top egret.
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_EGRET_SRAM_CTRL_MAIN_REGS_BASE_ADDR and TOP_EGRET_SRAM_CTRL_MAIN_REGS_BASE_ADDR + TOP_EGRET_SRAM_CTRL_MAIN_REGS_SIZE_BYTES.
Definition at line 859 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_RET_AON_RAM_BASE_ADDR 0x40600000u |
Memory base address for ram memory on sram_ctrl_ret_aon in top egret.
Definition at line 901 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_RET_AON_RAM_SIZE_BYTES 0x1000u |
Memory size for ram memory on sram_ctrl_ret_aon in top egret.
Definition at line 906 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_RET_AON_REGS_BASE_ADDR 0x40500000u |
Peripheral base address for regs device on sram_ctrl_ret_aon in top egret.
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 561 of file top_egret.h.
| #define TOP_EGRET_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES 0x40u |
Peripheral size for regs device on sram_ctrl_ret_aon in top egret.
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_EGRET_SRAM_CTRL_RET_AON_REGS_BASE_ADDR and TOP_EGRET_SRAM_CTRL_RET_AON_REGS_BASE_ADDR + TOP_EGRET_SRAM_CTRL_RET_AON_REGS_SIZE_BYTES.
Definition at line 571 of file top_egret.h.
| #define TOP_EGRET_SYSRST_CTRL_AON_BASE_ADDR 0x40430000u |
Peripheral base address for sysrst_ctrl_aon in top egret.
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 435 of file top_egret.h.
| #define TOP_EGRET_SYSRST_CTRL_AON_SIZE_BYTES 0x100u |
Peripheral size for sysrst_ctrl_aon in top egret.
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_EGRET_SYSRST_CTRL_AON_BASE_ADDR and TOP_EGRET_SYSRST_CTRL_AON_BASE_ADDR + TOP_EGRET_SYSRST_CTRL_AON_SIZE_BYTES.
Definition at line 445 of file top_egret.h.
| #define TOP_EGRET_UART0_BASE_ADDR 0x40000000u |
Peripheral base address for uart0 in top egret.
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 39 of file top_egret.h.
| #define TOP_EGRET_UART0_SIZE_BYTES 0x40u |
Peripheral size for uart0 in top egret.
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_EGRET_UART0_BASE_ADDR and TOP_EGRET_UART0_BASE_ADDR + TOP_EGRET_UART0_SIZE_BYTES.
Definition at line 49 of file top_egret.h.
| #define TOP_EGRET_UART1_BASE_ADDR 0x40010000u |
Peripheral base address for uart1 in top egret.
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 57 of file top_egret.h.
| #define TOP_EGRET_UART1_SIZE_BYTES 0x40u |
Peripheral size for uart1 in top egret.
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_EGRET_UART1_BASE_ADDR and TOP_EGRET_UART1_BASE_ADDR + TOP_EGRET_UART1_SIZE_BYTES.
Definition at line 67 of file top_egret.h.
| #define TOP_EGRET_UART2_BASE_ADDR 0x40020000u |
Peripheral base address for uart2 in top egret.
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 75 of file top_egret.h.
| #define TOP_EGRET_UART2_SIZE_BYTES 0x40u |
Peripheral size for uart2 in top egret.
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_EGRET_UART2_BASE_ADDR and TOP_EGRET_UART2_BASE_ADDR + TOP_EGRET_UART2_SIZE_BYTES.
Definition at line 85 of file top_egret.h.
| #define TOP_EGRET_UART3_BASE_ADDR 0x40030000u |
Peripheral base address for uart3 in top egret.
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 93 of file top_egret.h.
| #define TOP_EGRET_UART3_SIZE_BYTES 0x40u |
Peripheral size for uart3 in top egret.
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_EGRET_UART3_BASE_ADDR and TOP_EGRET_UART3_BASE_ADDR + TOP_EGRET_UART3_SIZE_BYTES.
Definition at line 103 of file top_egret.h.
| #define TOP_EGRET_USBDEV_BASE_ADDR 0x40320000u |
Peripheral base address for usbdev in top egret.
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 363 of file top_egret.h.
| #define TOP_EGRET_USBDEV_SIZE_BYTES 0x1000u |
Peripheral size for usbdev in top egret.
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_EGRET_USBDEV_BASE_ADDR and TOP_EGRET_USBDEV_BASE_ADDR + TOP_EGRET_USBDEV_SIZE_BYTES.
Definition at line 373 of file top_egret.h.
| typedef enum top_egret_alert_id top_egret_alert_id_t |
Alert Handler Alert Source.
Enumeration of all Alert Handler Alert Sources. The alert sources belonging to the same peripheral are guaranteed to be consecutive.
| typedef enum top_egret_alert_peripheral top_egret_alert_peripheral_t |
Alert Handler Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding alert.
| typedef enum top_egret_gateable_clocks top_egret_gateable_clocks_t |
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
| typedef enum top_egret_hintable_clocks top_egret_hintable_clocks_t |
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.
| typedef enum top_egret_plic_irq_id top_egret_plic_irq_id_t |
PLIC Interrupt Source.
Enumeration of all PLIC interrupt sources. The interrupt sources belonging to the same peripheral are guaranteed to be consecutive.
| typedef enum top_egret_plic_peripheral top_egret_plic_peripheral_t |
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
| typedef enum top_egret_plic_target top_egret_plic_target_t |
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
| enum top_egret_alert_id |
Alert Handler Alert Source.
Enumeration of all Alert Handler Alert Sources. The alert sources belonging to the same peripheral are guaranteed to be consecutive.
Definition at line 1255 of file top_egret.h.
Alert Handler Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding alert.
Definition at line 1203 of file top_egret.h.
Dedicated Pad Selects.
Definition at line 1604 of file top_egret.h.
Clock Manager Software-Controlled ("Gated") Clocks.
The Software has full control over these clocks.
Definition at line 1720 of file top_egret.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.
Definition at line 1734 of file top_egret.h.
| enum top_egret_muxed_pads |
Muxed Pad Selects.
Definition at line 1627 of file top_egret.h.
Pinmux MIO Input Selector.
Definition at line 1409 of file top_egret.h.
Pinmux MIO Output.
Definition at line 1465 of file top_egret.h.
Pinmux Peripheral Output Selector.
Definition at line 1519 of file top_egret.h.
Pinmux Peripheral Input.
Definition at line 1345 of file top_egret.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 986 of file top_egret.h.
PLIC Interrupt Source Peripheral.
Enumeration used to determine which peripheral asserted the corresponding interrupt.
Definition at line 945 of file top_egret.h.
PLIC Interrupt Target.
Enumeration used to determine which set of IE, CC, threshold registers to access for a given interrupt target.
| Enumerator | |
|---|---|
| kTopEgretPlicTargetIbex0 | Ibex Core 0. |
Definition at line 1191 of file top_egret.h.
Power Manager Reset Request Signals.
Definition at line 1709 of file top_egret.h.
Power Manager Wakeup Signals.
Definition at line 1681 of file top_egret.h.
Reset Manager Software Controlled Resets.
Definition at line 1694 of file top_egret.h.
|
extern |
Alert Handler Alert Source to Peripheral Map.
This array is a mapping from top_egret_alert_id_t to top_egret_alert_peripheral_t.
Definition at line 19 of file top_egret.c.
|
extern |
PLIC Interrupt Source to Peripheral Map.
This array is a mapping from top_egret_plic_irq_id_t to top_egret_plic_peripheral_t.
Definition at line 94 of file top_egret.c.