RTEMS 6.1-rc5
|
This header file defines the GRSPWROUTER register block interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | grspwrouter_portstats |
This structure defines the SpaceWire Router Port Statistics register block memory map. More... | |
struct | grspwrouter |
This structure defines the SpaceWire Router register block memory map. More... | |
Macros | |
#define | GRSPWROUTER_OCHARCNT_OR 0x80000000U |
#define | GRSPWROUTER_OCHARCNT_CC_SHIFT 0 |
#define | GRSPWROUTER_OCHARCNT_CC_MASK 0x7fffffffU |
#define | GRSPWROUTER_OCHARCNT_CC_GET(_reg) |
#define | GRSPWROUTER_OCHARCNT_CC_SET(_reg, _val) |
#define | GRSPWROUTER_OCHARCNT_CC(_val) |
#define | GRSPWROUTER_ICHARCNT_OR 0x80000000U |
#define | GRSPWROUTER_ICHARCNT_CC_SHIFT 0 |
#define | GRSPWROUTER_ICHARCNT_CC_MASK 0x7fffffffU |
#define | GRSPWROUTER_ICHARCNT_CC_GET(_reg) |
#define | GRSPWROUTER_ICHARCNT_CC_SET(_reg, _val) |
#define | GRSPWROUTER_ICHARCNT_CC(_val) |
#define | GRSPWROUTER_OPKTCNT_OR 0x80000000U |
#define | GRSPWROUTER_OPKTCNT_PC_SHIFT 0 |
#define | GRSPWROUTER_OPKTCNT_PC_MASK 0x7fffffffU |
#define | GRSPWROUTER_OPKTCNT_PC_GET(_reg) |
#define | GRSPWROUTER_OPKTCNT_PC_SET(_reg, _val) |
#define | GRSPWROUTER_OPKTCNT_PC(_val) |
#define | GRSPWROUTER_IPKTCNT_OR 0x80000000U |
#define | GRSPWROUTER_IPKTCNT_PC_SHIFT 0 |
#define | GRSPWROUTER_IPKTCNT_PC_MASK 0x7fffffffU |
#define | GRSPWROUTER_IPKTCNT_PC_GET(_reg) |
#define | GRSPWROUTER_IPKTCNT_PC_SET(_reg, _val) |
#define | GRSPWROUTER_IPKTCNT_PC(_val) |
#define | GRSPWROUTER_RTPMAP_PE_SHIFT 1 |
#define | GRSPWROUTER_RTPMAP_PE_MASK 0xfffffffeU |
#define | GRSPWROUTER_RTPMAP_PE_GET(_reg) |
#define | GRSPWROUTER_RTPMAP_PE_SET(_reg, _val) |
#define | GRSPWROUTER_RTPMAP_PE(_val) |
#define | GRSPWROUTER_RTPMAP_PD 0x1U |
#define | GRSPWROUTER_RTACTRL_SR 0x8U |
#define | GRSPWROUTER_RTACTRL_EN 0x4U |
#define | GRSPWROUTER_RTACTRL_PR 0x2U |
#define | GRSPWROUTER_RTACTRL_HD 0x1U |
#define | GRSPWROUTER_PCTRLCFG_PL 0x20000U |
#define | GRSPWROUTER_PCTRLCFG_TS 0x10000U |
#define | GRSPWROUTER_PCTRLCFG_TR 0x200U |
#define | GRSPWROUTER_PCTRL_RD_SHIFT 24 |
#define | GRSPWROUTER_PCTRL_RD_MASK 0xff000000U |
#define | GRSPWROUTER_PCTRL_RD_GET(_reg) |
#define | GRSPWROUTER_PCTRL_RD_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL_RD(_val) |
#define | GRSPWROUTER_PCTRL_RES_SHIFT 22 |
#define | GRSPWROUTER_PCTRL_RES_MASK 0xc00000U |
#define | GRSPWROUTER_PCTRL_RES_GET(_reg) |
#define | GRSPWROUTER_PCTRL_RES_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL_RES(_val) |
#define | GRSPWROUTER_PCTRL_ST 0x200000U |
#define | GRSPWROUTER_PCTRL_SR 0x100000U |
#define | GRSPWROUTER_PCTRL_AD 0x80000U |
#define | GRSPWROUTER_PCTRL_LR 0x40000U |
#define | GRSPWROUTER_PCTRL_PL 0x20000U |
#define | GRSPWROUTER_PCTRL_TS 0x10000U |
#define | GRSPWROUTER_PCTRL_IC 0x8000U |
#define | GRSPWROUTER_PCTRL_ET 0x4000U |
#define | GRSPWROUTER_PCTRL_NF 0x2000U |
#define | GRSPWROUTER_PCTRL_PS 0x1000U |
#define | GRSPWROUTER_PCTRL_BE 0x800U |
#define | GRSPWROUTER_PCTRL_DI 0x400U |
#define | GRSPWROUTER_PCTRL_TR 0x200U |
#define | GRSPWROUTER_PCTRL_PR 0x100U |
#define | GRSPWROUTER_PCTRL_TF 0x80U |
#define | GRSPWROUTER_PCTRL_RS 0x40U |
#define | GRSPWROUTER_PCTRL_TE 0x20U |
#define | GRSPWROUTER_PCTRL_R 0x10U |
#define | GRSPWROUTER_PCTRL_CE 0x8U |
#define | GRSPWROUTER_PCTRL_AS 0x4U |
#define | GRSPWROUTER_PCTRL_LS 0x2U |
#define | GRSPWROUTER_PCTRL_LD 0x1U |
#define | GRSPWROUTER_PSTSCFG_EO 0x80000000U |
#define | GRSPWROUTER_PSTSCFG_EE 0x40000000U |
#define | GRSPWROUTER_PSTSCFG_PL 0x20000000U |
#define | GRSPWROUTER_PSTSCFG_TT 0x10000000U |
#define | GRSPWROUTER_PSTSCFG_PT 0x8000000U |
#define | GRSPWROUTER_PSTSCFG_HC 0x4000000U |
#define | GRSPWROUTER_PSTSCFG_PI 0x2000000U |
#define | GRSPWROUTER_PSTSCFG_CE 0x1000000U |
#define | GRSPWROUTER_PSTSCFG_EC_SHIFT 20 |
#define | GRSPWROUTER_PSTSCFG_EC_MASK 0xf00000U |
#define | GRSPWROUTER_PSTSCFG_EC_GET(_reg) |
#define | GRSPWROUTER_PSTSCFG_EC_SET(_reg, _val) |
#define | GRSPWROUTER_PSTSCFG_EC(_val) |
#define | GRSPWROUTER_PSTSCFG_R 0x80000U |
#define | GRSPWROUTER_PSTSCFG_TS 0x40000U |
#define | GRSPWROUTER_PSTSCFG_ME 0x20000U |
#define | GRSPWROUTER_PSTSCFG_IP_SHIFT 7 |
#define | GRSPWROUTER_PSTSCFG_IP_MASK 0xf80U |
#define | GRSPWROUTER_PSTSCFG_IP_GET(_reg) |
#define | GRSPWROUTER_PSTSCFG_IP_SET(_reg, _val) |
#define | GRSPWROUTER_PSTSCFG_IP(_val) |
#define | GRSPWROUTER_PSTSCFG_RES_SHIFT 5 |
#define | GRSPWROUTER_PSTSCFG_RES_MASK 0x60U |
#define | GRSPWROUTER_PSTSCFG_RES_GET(_reg) |
#define | GRSPWROUTER_PSTSCFG_RES_SET(_reg, _val) |
#define | GRSPWROUTER_PSTSCFG_RES(_val) |
#define | GRSPWROUTER_PSTSCFG_CP 0x10U |
#define | GRSPWROUTER_PSTSCFG_PC_SHIFT 0 |
#define | GRSPWROUTER_PSTSCFG_PC_MASK 0xfU |
#define | GRSPWROUTER_PSTSCFG_PC_GET(_reg) |
#define | GRSPWROUTER_PSTSCFG_PC_SET(_reg, _val) |
#define | GRSPWROUTER_PSTSCFG_PC(_val) |
#define | GRSPWROUTER_PSTS_PT_SHIFT 30 |
#define | GRSPWROUTER_PSTS_PT_MASK 0xc0000000U |
#define | GRSPWROUTER_PSTS_PT_GET(_reg) |
#define | GRSPWROUTER_PSTS_PT_SET(_reg, _val) |
#define | GRSPWROUTER_PSTS_PT(_val) |
#define | GRSPWROUTER_PSTS_PL 0x20000000U |
#define | GRSPWROUTER_PSTS_TT 0x10000000U |
#define | GRSPWROUTER_PSTS_RS 0x8000000U |
#define | GRSPWROUTER_PSTS_SR 0x4000000U |
#define | GRSPWROUTER_PSTS_LR 0x400000U |
#define | GRSPWROUTER_PSTS_SP 0x200000U |
#define | GRSPWROUTER_PSTS_AC 0x100000U |
#define | GRSPWROUTER_PSTS_AP 0x80000U |
#define | GRSPWROUTER_PSTS_TS 0x40000U |
#define | GRSPWROUTER_PSTS_ME 0x20000U |
#define | GRSPWROUTER_PSTS_TF 0x10000U |
#define | GRSPWROUTER_PSTS_RE 0x8000U |
#define | GRSPWROUTER_PSTS_LS_SHIFT 12 |
#define | GRSPWROUTER_PSTS_LS_MASK 0x7000U |
#define | GRSPWROUTER_PSTS_LS_GET(_reg) |
#define | GRSPWROUTER_PSTS_LS_SET(_reg, _val) |
#define | GRSPWROUTER_PSTS_LS(_val) |
#define | GRSPWROUTER_PSTS_IP_SHIFT 7 |
#define | GRSPWROUTER_PSTS_IP_MASK 0xf80U |
#define | GRSPWROUTER_PSTS_IP_GET(_reg) |
#define | GRSPWROUTER_PSTS_IP_SET(_reg, _val) |
#define | GRSPWROUTER_PSTS_IP(_val) |
#define | GRSPWROUTER_PSTS_PR 0x40U |
#define | GRSPWROUTER_PSTS_PB 0x20U |
#define | GRSPWROUTER_PSTS_IA 0x10U |
#define | GRSPWROUTER_PSTS_CE 0x8U |
#define | GRSPWROUTER_PSTS_ER 0x4U |
#define | GRSPWROUTER_PSTS_DE 0x2U |
#define | GRSPWROUTER_PSTS_PE 0x1U |
#define | GRSPWROUTER_PTIMER_RL_SHIFT 0 |
#define | GRSPWROUTER_PTIMER_RL_MASK 0x3ffU |
#define | GRSPWROUTER_PTIMER_RL_GET(_reg) |
#define | GRSPWROUTER_PTIMER_RL_SET(_reg, _val) |
#define | GRSPWROUTER_PTIMER_RL(_val) |
#define | GRSPWROUTER_PCTRL2CFG_SM_SHIFT 24 |
#define | GRSPWROUTER_PCTRL2CFG_SM_MASK 0xff000000U |
#define | GRSPWROUTER_PCTRL2CFG_SM_GET(_reg) |
#define | GRSPWROUTER_PCTRL2CFG_SM_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL2CFG_SM(_val) |
#define | GRSPWROUTER_PCTRL2CFG_SV_SHIFT 16 |
#define | GRSPWROUTER_PCTRL2CFG_SV_MASK 0xff0000U |
#define | GRSPWROUTER_PCTRL2CFG_SV_GET(_reg) |
#define | GRSPWROUTER_PCTRL2CFG_SV_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL2CFG_SV(_val) |
#define | GRSPWROUTER_PCTRL2CFG_OR 0x8000U |
#define | GRSPWROUTER_PCTRL2_SM_SHIFT 24 |
#define | GRSPWROUTER_PCTRL2_SM_MASK 0xff000000U |
#define | GRSPWROUTER_PCTRL2_SM_GET(_reg) |
#define | GRSPWROUTER_PCTRL2_SM_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL2_SM(_val) |
#define | GRSPWROUTER_PCTRL2_SV_SHIFT 16 |
#define | GRSPWROUTER_PCTRL2_SV_MASK 0xff0000U |
#define | GRSPWROUTER_PCTRL2_SV_GET(_reg) |
#define | GRSPWROUTER_PCTRL2_SV_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL2_SV(_val) |
#define | GRSPWROUTER_PCTRL2_OR 0x8000U |
#define | GRSPWROUTER_PCTRL2_UR 0x4000U |
#define | GRSPWROUTER_PCTRL2_R 0x2000U |
#define | GRSPWROUTER_PCTRL2_AT 0x1000U |
#define | GRSPWROUTER_PCTRL2_AR 0x800U |
#define | GRSPWROUTER_PCTRL2_IT 0x400U |
#define | GRSPWROUTER_PCTRL2_IR 0x200U |
#define | GRSPWROUTER_PCTRL2_SD_SHIFT 1 |
#define | GRSPWROUTER_PCTRL2_SD_MASK 0x3eU |
#define | GRSPWROUTER_PCTRL2_SD_GET(_reg) |
#define | GRSPWROUTER_PCTRL2_SD_SET(_reg, _val) |
#define | GRSPWROUTER_PCTRL2_SD(_val) |
#define | GRSPWROUTER_PCTRL2_SC 0x1U |
#define | GRSPWROUTER_RTRCFG_SP_SHIFT 27 |
#define | GRSPWROUTER_RTRCFG_SP_MASK 0xf8000000U |
#define | GRSPWROUTER_RTRCFG_SP_GET(_reg) |
#define | GRSPWROUTER_RTRCFG_SP_SET(_reg, _val) |
#define | GRSPWROUTER_RTRCFG_SP(_val) |
#define | GRSPWROUTER_RTRCFG_AP_SHIFT 22 |
#define | GRSPWROUTER_RTRCFG_AP_MASK 0x7c00000U |
#define | GRSPWROUTER_RTRCFG_AP_GET(_reg) |
#define | GRSPWROUTER_RTRCFG_AP_SET(_reg, _val) |
#define | GRSPWROUTER_RTRCFG_AP(_val) |
#define | GRSPWROUTER_RTRCFG_FP_SHIFT 17 |
#define | GRSPWROUTER_RTRCFG_FP_MASK 0x3e0000U |
#define | GRSPWROUTER_RTRCFG_FP_GET(_reg) |
#define | GRSPWROUTER_RTRCFG_FP_SET(_reg, _val) |
#define | GRSPWROUTER_RTRCFG_FP(_val) |
#define | GRSPWROUTER_RTRCFG_R 0x10000U |
#define | GRSPWROUTER_RTRCFG_SR 0x8000U |
#define | GRSPWROUTER_RTRCFG_PE 0x4000U |
#define | GRSPWROUTER_RTRCFG_IC 0x2000U |
#define | GRSPWROUTER_RTRCFG_IS 0x1000U |
#define | GRSPWROUTER_RTRCFG_IP 0x800U |
#define | GRSPWROUTER_RTRCFG_AI 0x400U |
#define | GRSPWROUTER_RTRCFG_AT 0x200U |
#define | GRSPWROUTER_RTRCFG_IE 0x100U |
#define | GRSPWROUTER_RTRCFG_RE 0x80U |
#define | GRSPWROUTER_RTRCFG_EE 0x40U |
#define | GRSPWROUTER_RTRCFG_R 0x20U |
#define | GRSPWROUTER_RTRCFG_SA 0x10U |
#define | GRSPWROUTER_RTRCFG_TF 0x8U |
#define | GRSPWROUTER_RTRCFG_RM 0x4U |
#define | GRSPWROUTER_RTRCFG_TA 0x2U |
#define | GRSPWROUTER_RTRCFG_PP 0x1U |
#define | GRSPWROUTER_TC_RE 0x200U |
#define | GRSPWROUTER_TC_EN 0x100U |
#define | GRSPWROUTER_TC_CF_SHIFT 6 |
#define | GRSPWROUTER_TC_CF_MASK 0xc0U |
#define | GRSPWROUTER_TC_CF_GET(_reg) |
#define | GRSPWROUTER_TC_CF_SET(_reg, _val) |
#define | GRSPWROUTER_TC_CF(_val) |
#define | GRSPWROUTER_TC_TC_SHIFT 0 |
#define | GRSPWROUTER_TC_TC_MASK 0x3fU |
#define | GRSPWROUTER_TC_TC_GET(_reg) |
#define | GRSPWROUTER_TC_TC_SET(_reg, _val) |
#define | GRSPWROUTER_TC_TC(_val) |
#define | GRSPWROUTER_VER_MA_SHIFT 24 |
#define | GRSPWROUTER_VER_MA_MASK 0xff000000U |
#define | GRSPWROUTER_VER_MA_GET(_reg) |
#define | GRSPWROUTER_VER_MA_SET(_reg, _val) |
#define | GRSPWROUTER_VER_MA(_val) |
#define | GRSPWROUTER_VER_MI_SHIFT 16 |
#define | GRSPWROUTER_VER_MI_MASK 0xff0000U |
#define | GRSPWROUTER_VER_MI_GET(_reg) |
#define | GRSPWROUTER_VER_MI_SET(_reg, _val) |
#define | GRSPWROUTER_VER_MI(_val) |
#define | GRSPWROUTER_VER_PA_SHIFT 8 |
#define | GRSPWROUTER_VER_PA_MASK 0xff00U |
#define | GRSPWROUTER_VER_PA_GET(_reg) |
#define | GRSPWROUTER_VER_PA_SET(_reg, _val) |
#define | GRSPWROUTER_VER_PA(_val) |
#define | GRSPWROUTER_VER_ID_SHIFT 0 |
#define | GRSPWROUTER_VER_ID_MASK 0xffU |
#define | GRSPWROUTER_VER_ID_GET(_reg) |
#define | GRSPWROUTER_VER_ID_SET(_reg, _val) |
#define | GRSPWROUTER_VER_ID(_val) |
#define | GRSPWROUTER_IDIV_ID_SHIFT 0 |
#define | GRSPWROUTER_IDIV_ID_MASK 0xffU |
#define | GRSPWROUTER_IDIV_ID_GET(_reg) |
#define | GRSPWROUTER_IDIV_ID_SET(_reg, _val) |
#define | GRSPWROUTER_IDIV_ID(_val) |
#define | GRSPWROUTER_CFGWE_WE 0x1U |
#define | GRSPWROUTER_PRESCALER_RL_SHIFT 0 |
#define | GRSPWROUTER_PRESCALER_RL_MASK 0xffffffffU |
#define | GRSPWROUTER_PRESCALER_RL_GET(_reg) |
#define | GRSPWROUTER_PRESCALER_RL_SET(_reg, _val) |
#define | GRSPWROUTER_PRESCALER_RL(_val) |
#define | GRSPWROUTER_IMASK_PE 0x400U |
#define | GRSPWROUTER_IMASK_SR 0x200U |
#define | GRSPWROUTER_IMASK_RS 0x100U |
#define | GRSPWROUTER_IMASK_TT 0x80U |
#define | GRSPWROUTER_IMASK_PL 0x40U |
#define | GRSPWROUTER_IMASK_TS 0x20U |
#define | GRSPWROUTER_IMASK_AC 0x10U |
#define | GRSPWROUTER_IMASK_RE 0x8U |
#define | GRSPWROUTER_IMASK_IA 0x4U |
#define | GRSPWROUTER_IMASK_LE 0x2U |
#define | GRSPWROUTER_IMASK_ME 0x1U |
#define | GRSPWROUTER_IPMASK_IE_SHIFT 0 |
#define | GRSPWROUTER_IPMASK_IE_MASK 0xffffffffU |
#define | GRSPWROUTER_IPMASK_IE_GET(_reg) |
#define | GRSPWROUTER_IPMASK_IE_SET(_reg, _val) |
#define | GRSPWROUTER_IPMASK_IE(_val) |
#define | GRSPWROUTER_PIP_IP_SHIFT 0 |
#define | GRSPWROUTER_PIP_IP_MASK 0xffffffffU |
#define | GRSPWROUTER_PIP_IP_GET(_reg) |
#define | GRSPWROUTER_PIP_IP_SET(_reg, _val) |
#define | GRSPWROUTER_PIP_IP(_val) |
#define | GRSPWROUTER_ICODEGEN_HI 0x200000U |
#define | GRSPWROUTER_ICODEGEN_UA 0x100000U |
#define | GRSPWROUTER_ICODEGEN_AH 0x80000U |
#define | GRSPWROUTER_ICODEGEN_IT 0x40000U |
#define | GRSPWROUTER_ICODEGEN_TE 0x1U |
#define | GRSPWROUTER_ICODEGEN_EN 0x20000U |
#define | GRSPWROUTER_ICODEGEN_IN_SHIFT 6 |
#define | GRSPWROUTER_ICODEGEN_IN_MASK 0xffc0U |
#define | GRSPWROUTER_ICODEGEN_IN_GET(_reg) |
#define | GRSPWROUTER_ICODEGEN_IN_SET(_reg, _val) |
#define | GRSPWROUTER_ICODEGEN_IN(_val) |
#define | GRSPWROUTER_ISR0_IB_SHIFT 0 |
#define | GRSPWROUTER_ISR0_IB_MASK 0xffffffffU |
#define | GRSPWROUTER_ISR0_IB_GET(_reg) |
#define | GRSPWROUTER_ISR0_IB_SET(_reg, _val) |
#define | GRSPWROUTER_ISR0_IB(_val) |
#define | GRSPWROUTER_ISR1_IB_SHIFT 0 |
#define | GRSPWROUTER_ISR1_IB_MASK 0xffffffffU |
#define | GRSPWROUTER_ISR1_IB_GET(_reg) |
#define | GRSPWROUTER_ISR1_IB_SET(_reg, _val) |
#define | GRSPWROUTER_ISR1_IB(_val) |
#define | GRSPWROUTER_ISRTIMER_RL_SHIFT 0 |
#define | GRSPWROUTER_ISRTIMER_RL_MASK 0xffffffffU |
#define | GRSPWROUTER_ISRTIMER_RL_GET(_reg) |
#define | GRSPWROUTER_ISRTIMER_RL_SET(_reg, _val) |
#define | GRSPWROUTER_ISRTIMER_RL(_val) |
#define | GRSPWROUTER_AITIMER_RL_SHIFT 0 |
#define | GRSPWROUTER_AITIMER_RL_MASK 0xffffffffU |
#define | GRSPWROUTER_AITIMER_RL_GET(_reg) |
#define | GRSPWROUTER_AITIMER_RL_SET(_reg, _val) |
#define | GRSPWROUTER_AITIMER_RL(_val) |
#define | GRSPWROUTER_ISRCTIMER_RL_SHIFT 0 |
#define | GRSPWROUTER_ISRCTIMER_RL_MASK 0x1fU |
#define | GRSPWROUTER_ISRCTIMER_RL_GET(_reg) |
#define | GRSPWROUTER_ISRCTIMER_RL_SET(_reg, _val) |
#define | GRSPWROUTER_ISRCTIMER_RL(_val) |
#define | GRSPWROUTER_LRUNSTAT_LR_SHIFT 1 |
#define | GRSPWROUTER_LRUNSTAT_LR_MASK 0xfffffffeU |
#define | GRSPWROUTER_LRUNSTAT_LR_GET(_reg) |
#define | GRSPWROUTER_LRUNSTAT_LR_SET(_reg, _val) |
#define | GRSPWROUTER_LRUNSTAT_LR(_val) |
#define | GRSPWROUTER_LRUNSTAT_R 0x1U |
#define | GRSPWROUTER_CAP_AF_SHIFT 24 |
#define | GRSPWROUTER_CAP_AF_MASK 0x3000000U |
#define | GRSPWROUTER_CAP_AF_GET(_reg) |
#define | GRSPWROUTER_CAP_AF_SET(_reg, _val) |
#define | GRSPWROUTER_CAP_AF(_val) |
#define | GRSPWROUTER_CAP_R 0x800000U |
#define | GRSPWROUTER_CAP_PF_SHIFT 20 |
#define | GRSPWROUTER_CAP_PF_MASK 0x700000U |
#define | GRSPWROUTER_CAP_PF_GET(_reg) |
#define | GRSPWROUTER_CAP_PF_SET(_reg, _val) |
#define | GRSPWROUTER_CAP_PF(_val) |
#define | GRSPWROUTER_CAP_R 0x80000U |
#define | GRSPWROUTER_CAP_RM_SHIFT 16 |
#define | GRSPWROUTER_CAP_RM_MASK 0x70000U |
#define | GRSPWROUTER_CAP_RM_GET(_reg) |
#define | GRSPWROUTER_CAP_RM_SET(_reg, _val) |
#define | GRSPWROUTER_CAP_RM(_val) |
#define | GRSPWROUTER_CAP_R 0x8000U |
#define | GRSPWROUTER_CAP_AA 0x4000U |
#define | GRSPWROUTER_CAP_AX 0x2000U |
#define | GRSPWROUTER_CAP_DP 0x1000U |
#define | GRSPWROUTER_CAP_ID 0x800U |
#define | GRSPWROUTER_CAP_SD 0x400U |
#define | GRSPWROUTER_CAP_PC_SHIFT 5 |
#define | GRSPWROUTER_CAP_PC_MASK 0x3e0U |
#define | GRSPWROUTER_CAP_PC_GET(_reg) |
#define | GRSPWROUTER_CAP_PC_SET(_reg, _val) |
#define | GRSPWROUTER_CAP_PC(_val) |
#define | GRSPWROUTER_CAP_CC_SHIFT 0 |
#define | GRSPWROUTER_CAP_CC_MASK 0x1fU |
#define | GRSPWROUTER_CAP_CC_GET(_reg) |
#define | GRSPWROUTER_CAP_CC_SET(_reg, _val) |
#define | GRSPWROUTER_CAP_CC(_val) |
#define | GRSPWROUTER_PNPVEND_VI_SHIFT 16 |
#define | GRSPWROUTER_PNPVEND_VI_MASK 0xffff0000U |
#define | GRSPWROUTER_PNPVEND_VI_GET(_reg) |
#define | GRSPWROUTER_PNPVEND_VI_SET(_reg, _val) |
#define | GRSPWROUTER_PNPVEND_VI(_val) |
#define | GRSPWROUTER_PNPVEND_PI_SHIFT 0 |
#define | GRSPWROUTER_PNPVEND_PI_MASK 0x3ffffffU |
#define | GRSPWROUTER_PNPVEND_PI_GET(_reg) |
#define | GRSPWROUTER_PNPVEND_PI_SET(_reg, _val) |
#define | GRSPWROUTER_PNPVEND_PI(_val) |
#define | GRSPWROUTER_PNPUVEND_VI_SHIFT 16 |
#define | GRSPWROUTER_PNPUVEND_VI_MASK 0xffff0000U |
#define | GRSPWROUTER_PNPUVEND_VI_GET(_reg) |
#define | GRSPWROUTER_PNPUVEND_VI_SET(_reg, _val) |
#define | GRSPWROUTER_PNPUVEND_VI(_val) |
#define | GRSPWROUTER_PNPUVEND_PI_SHIFT 0 |
#define | GRSPWROUTER_PNPUVEND_PI_MASK 0x3ffffffU |
#define | GRSPWROUTER_PNPUVEND_PI_GET(_reg) |
#define | GRSPWROUTER_PNPUVEND_PI_SET(_reg, _val) |
#define | GRSPWROUTER_PNPUVEND_PI(_val) |
#define | GRSPWROUTER_PNPUSN_SN_SHIFT 0 |
#define | GRSPWROUTER_PNPUSN_SN_MASK 0xffffffffU |
#define | GRSPWROUTER_PNPUSN_SN_GET(_reg) |
#define | GRSPWROUTER_PNPUSN_SN_SET(_reg, _val) |
#define | GRSPWROUTER_PNPUSN_SN(_val) |
#define | GRSPWROUTER_PNPNETDISC_ND_SHIFT 0 |
#define | GRSPWROUTER_PNPNETDISC_ND_MASK 0xffffffffU |
#define | GRSPWROUTER_PNPNETDISC_ND_GET(_reg) |
#define | GRSPWROUTER_PNPNETDISC_ND_SET(_reg, _val) |
#define | GRSPWROUTER_PNPNETDISC_ND(_val) |
#define | GRSPWROUTER_MAXPLEN_ML_SHIFT 0 |
#define | GRSPWROUTER_MAXPLEN_ML_MASK 0x1ffffffU |
#define | GRSPWROUTER_MAXPLEN_ML_GET(_reg) |
#define | GRSPWROUTER_MAXPLEN_ML_SET(_reg, _val) |
#define | GRSPWROUTER_MAXPLEN_ML(_val) |
#define | GRSPWROUTER_CREDCNT_OC_SHIFT 6 |
#define | GRSPWROUTER_CREDCNT_OC_MASK 0xfc0U |
#define | GRSPWROUTER_CREDCNT_OC_GET(_reg) |
#define | GRSPWROUTER_CREDCNT_OC_SET(_reg, _val) |
#define | GRSPWROUTER_CREDCNT_OC(_val) |
#define | GRSPWROUTER_CREDCNT_IC_SHIFT 0 |
#define | GRSPWROUTER_CREDCNT_IC_MASK 0x3fU |
#define | GRSPWROUTER_CREDCNT_IC_GET(_reg) |
#define | GRSPWROUTER_CREDCNT_IC_SET(_reg, _val) |
#define | GRSPWROUTER_CREDCNT_IC(_val) |
#define | GRSPWROUTER_GPO_GPO_SHIFT 0 |
#define | GRSPWROUTER_GPO_GPO_MASK 0xffffffffU |
#define | GRSPWROUTER_GPO_GPO_GET(_reg) |
#define | GRSPWROUTER_GPO_GPO_SET(_reg, _val) |
#define | GRSPWROUTER_GPO_GPO(_val) |
#define | GRSPWROUTER_GPI_GPI_SHIFT 0 |
#define | GRSPWROUTER_GPI_GPI_MASK 0xffffffffU |
#define | GRSPWROUTER_GPI_GPI_GET(_reg) |
#define | GRSPWROUTER_GPI_GPI_SET(_reg, _val) |
#define | GRSPWROUTER_GPI_GPI(_val) |
#define | GRSPWROUTER_RTCOMB_SR 0x80000000U |
#define | GRSPWROUTER_RTCOMB_EN 0x40000000U |
#define | GRSPWROUTER_RTCOMB_PR 0x20000000U |
#define | GRSPWROUTER_RTCOMB_HD 0x10000000U |
#define | GRSPWROUTER_RTCOMB_PE_SHIFT 1 |
#define | GRSPWROUTER_RTCOMB_PE_MASK 0xffffffeU |
#define | GRSPWROUTER_RTCOMB_PE_GET(_reg) |
#define | GRSPWROUTER_RTCOMB_PE_SET(_reg, _val) |
#define | GRSPWROUTER_RTCOMB_PE(_val) |
#define | GRSPWROUTER_RTCOMB_PD 0x1U |
#define | GRSPWROUTER_APBAREA_APB_SHIFT 0 |
#define | GRSPWROUTER_APBAREA_APB_MASK 0xffffffffU |
#define | GRSPWROUTER_APBAREA_APB_GET(_reg) |
#define | GRSPWROUTER_APBAREA_APB_SET(_reg, _val) |
#define | GRSPWROUTER_APBAREA_APB(_val) |
Typedefs | |
typedef struct grspwrouter_portstats | grspwrouter_portstats |
This structure defines the SpaceWire Router Port Statistics register block memory map. | |
typedef struct grspwrouter | grspwrouter |
This structure defines the SpaceWire Router register block memory map. | |
This header file defines the GRSPWROUTER register block interface.