![]() |
NMSIS-Core
Version 1.4.0
NMSIS-Core support for Nuclei processor-based devices
|
Type definitions and defines for system timer registers. More...
Data Structures | |
struct | SysTimer_Type |
Structure type to access the System Timer (SysTimer). More... | |
Macros | |
#define | SysTimer_MTIMECTL_TIMESTOP_Pos 0U |
SysTick Timer MTIMECTL: TIMESTOP bit Position. More... | |
#define | SysTimer_MTIMECTL_TIMESTOP_Msk (1UL << SysTimer_MTIMECTL_TIMESTOP_Pos) |
SysTick Timer MTIMECTL: TIMESTOP Mask. More... | |
#define | SysTimer_MTIMECTL_CMPCLREN_Pos 1U |
SysTick Timer MTIMECTL: CMPCLREN bit Position. More... | |
#define | SysTimer_MTIMECTL_CMPCLREN_Msk (1UL << SysTimer_MTIMECTL_CMPCLREN_Pos) |
SysTick Timer MTIMECTL: CMPCLREN Mask. More... | |
#define | SysTimer_MTIMECTL_CLKSRC_Pos 2U |
SysTick Timer MTIMECTL: CLKSRC bit Position. More... | |
#define | SysTimer_MTIMECTL_CLKSRC_Msk (1UL << SysTimer_MTIMECTL_CLKSRC_Pos) |
SysTick Timer MTIMECTL: CLKSRC Mask. More... | |
#define | SysTimer_MTIMECTL_HDBG_Pos 4U |
SysTick Timer MTIMECTL: HDBG bit Position. More... | |
#define | SysTimer_MTIMECTL_HDBG_Msk (1UL << SysTimer_MTIMECTL_HDBG_Pos) |
SysTick Timer MTIMECTL: HDBG Mask. More... | |
#define | SysTimer_MSIP_MSIP_Pos 0U |
SysTick Timer MSIP: MSIP bit Position. More... | |
#define | SysTimer_MSIP_MSIP_Msk (1UL << SysTimer_MSIP_MSIP_Pos) |
SysTick Timer MSIP: MSIP Mask. More... | |
#define | SysTimer_SSIP_SSIP_Pos 0U |
SysTick Timer SSIP: SSIP bit Position. More... | |
#define | SysTimer_SSIP_SSIP_Msk (1UL << SysTimer_SSIP_SSIP_Pos) |
SysTick Timer SSIP: SSIP Mask. More... | |
#define | SysTimer_MTIMER_Msk (0xFFFFFFFFFFFFFFFFULL) |
SysTick Timer MTIMER value Mask. More... | |
#define | SysTimer_MTIMERCMP_Msk (0xFFFFFFFFFFFFFFFFULL) |
SysTick Timer MTIMERCMP value Mask. More... | |
#define | SysTimer_MTIMECTL_Msk (0xFFFFFFFFUL) |
SysTick Timer MTIMECTL/MSTOP value Mask. More... | |
#define | SysTimer_MSIP_Msk (0xFFFFFFFFUL) |
SysTick Timer MSIP value Mask. More... | |
#define | SysTimer_MSFTRST_Msk (0xFFFFFFFFUL) |
SysTick Timer MSFTRST value Mask. More... | |
#define | SysTimer_MSFRST_KEY (0x80000A5FUL) |
SysTick Timer Software Reset Request Key. More... | |
#define | SysTimer_CLINT_MSIP_OFS (0x1000UL) |
Machine Mode Software interrupt register offset of clint mode in SysTick Timer. More... | |
#define | SysTimer_CLINT_MTIMECMP_OFS (0x5000UL) |
MTIMECMP register offset of clint mode in SysTick Timer. More... | |
#define | SysTimer_CLINT_MTIME_OFS (0xCFF8UL) |
MTIME register offset of clint mode in SysTick Timer. More... | |
#define | SysTimer_CLINT_SSIP_OFS (0xD000UL) |
Supervisor Mode Software interrupt register offset of clint mode in SysTick Timer. More... | |
#define | SysTimer_BASE __SYSTIMER_BASEADDR |
SysTick Base Address. More... | |
#define | SysTimer ((SysTimer_Type *) SysTimer_BASE) |
SysTick configuration struct. More... | |
#define | SysTimer_CLINT_MSIP_BASE(hartid) (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_MSIP_OFS) + ((hartid) << 2)) |
#define | SysTimer_CLINT_MTIMECMP_BASE(hartid) (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_MTIMECMP_OFS) + ((hartid) << 3)) |
#define | SysTimer_CLINT_MTIME_BASE (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_MTIME_OFS)) |
#define | SysTimer_CLINT_SSIP_BASE(hartid) (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_SSIP_OFS) + ((hartid) << 2)) |
Type definitions and defines for system timer registers.
#define SysTimer ((SysTimer_Type *) SysTimer_BASE) |
SysTick configuration struct.
Definition at line 102 of file core_feature_timer.h.
#define SysTimer_BASE __SYSTIMER_BASEADDR |
SysTick Base Address.
Definition at line 101 of file core_feature_timer.h.
#define SysTimer_CLINT_MSIP_BASE | ( | hartid | ) | (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_MSIP_OFS) + ((hartid) << 2)) |
Definition at line 105 of file core_feature_timer.h.
#define SysTimer_CLINT_MSIP_OFS (0x1000UL) |
Machine Mode Software interrupt register offset of clint mode in SysTick Timer.
Definition at line 91 of file core_feature_timer.h.
#define SysTimer_CLINT_MTIME_BASE (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_MTIME_OFS)) |
Definition at line 107 of file core_feature_timer.h.
#define SysTimer_CLINT_MTIME_OFS (0xCFF8UL) |
MTIME register offset of clint mode in SysTick Timer.
Definition at line 93 of file core_feature_timer.h.
#define SysTimer_CLINT_MTIMECMP_BASE | ( | hartid | ) | (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_MTIMECMP_OFS) + ((hartid) << 3)) |
Definition at line 106 of file core_feature_timer.h.
#define SysTimer_CLINT_MTIMECMP_OFS (0x5000UL) |
MTIMECMP register offset of clint mode in SysTick Timer.
Definition at line 92 of file core_feature_timer.h.
#define SysTimer_CLINT_SSIP_BASE | ( | hartid | ) | (unsigned long)((SysTimer_BASE) + (SysTimer_CLINT_SSIP_OFS) + ((hartid) << 2)) |
Definition at line 108 of file core_feature_timer.h.
#define SysTimer_CLINT_SSIP_OFS (0xD000UL) |
Supervisor Mode Software interrupt register offset of clint mode in SysTick Timer.
Definition at line 94 of file core_feature_timer.h.
#define SysTimer_MSFRST_KEY (0x80000A5FUL) |
SysTick Timer Software Reset Request Key.
Definition at line 89 of file core_feature_timer.h.
#define SysTimer_MSFTRST_Msk (0xFFFFFFFFUL) |
SysTick Timer MSFTRST value Mask.
Definition at line 87 of file core_feature_timer.h.
#define SysTimer_MSIP_MSIP_Msk (1UL << SysTimer_MSIP_MSIP_Pos) |
SysTick Timer MSIP: MSIP Mask.
Definition at line 78 of file core_feature_timer.h.
#define SysTimer_MSIP_MSIP_Pos 0U |
SysTick Timer MSIP: MSIP bit Position.
Definition at line 77 of file core_feature_timer.h.
#define SysTimer_MSIP_Msk (0xFFFFFFFFUL) |
SysTick Timer MSIP value Mask.
Definition at line 86 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_CLKSRC_Msk (1UL << SysTimer_MTIMECTL_CLKSRC_Pos) |
SysTick Timer MTIMECTL: CLKSRC Mask.
Definition at line 72 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_CLKSRC_Pos 2U |
SysTick Timer MTIMECTL: CLKSRC bit Position.
Definition at line 71 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_CMPCLREN_Msk (1UL << SysTimer_MTIMECTL_CMPCLREN_Pos) |
SysTick Timer MTIMECTL: CMPCLREN Mask.
Definition at line 70 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_CMPCLREN_Pos 1U |
SysTick Timer MTIMECTL: CMPCLREN bit Position.
Definition at line 69 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_HDBG_Msk (1UL << SysTimer_MTIMECTL_HDBG_Pos) |
SysTick Timer MTIMECTL: HDBG Mask.
Definition at line 74 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_HDBG_Pos 4U |
SysTick Timer MTIMECTL: HDBG bit Position.
Definition at line 73 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_Msk (0xFFFFFFFFUL) |
SysTick Timer MTIMECTL/MSTOP value Mask.
Definition at line 85 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_TIMESTOP_Msk (1UL << SysTimer_MTIMECTL_TIMESTOP_Pos) |
SysTick Timer MTIMECTL: TIMESTOP Mask.
Definition at line 68 of file core_feature_timer.h.
#define SysTimer_MTIMECTL_TIMESTOP_Pos 0U |
SysTick Timer MTIMECTL: TIMESTOP bit Position.
Definition at line 67 of file core_feature_timer.h.
#define SysTimer_MTIMER_Msk (0xFFFFFFFFFFFFFFFFULL) |
SysTick Timer MTIMER value Mask.
Definition at line 83 of file core_feature_timer.h.
#define SysTimer_MTIMERCMP_Msk (0xFFFFFFFFFFFFFFFFULL) |
SysTick Timer MTIMERCMP value Mask.
Definition at line 84 of file core_feature_timer.h.
#define SysTimer_SSIP_SSIP_Msk (1UL << SysTimer_SSIP_SSIP_Pos) |
SysTick Timer SSIP: SSIP Mask.
Definition at line 81 of file core_feature_timer.h.
#define SysTimer_SSIP_SSIP_Pos 0U |
SysTick Timer SSIP: SSIP bit Position.
Definition at line 80 of file core_feature_timer.h.