|
RTEMS 6.1-rc2
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
45#include <xil_system.h>
52 #if !defined (ARMR5) && !defined (__aarch64__) && !defined (ARMA53_32)
62#define XTTCPS_CLK_CNTRL_OFFSET 0x00000000U
63#define XTTCPS_CNT_CNTRL_OFFSET 0x0000000CU
64#define XTTCPS_COUNT_VALUE_OFFSET 0x00000018U
65#define XTTCPS_INTERVAL_VAL_OFFSET 0x00000024U
66#define XTTCPS_MATCH_0_OFFSET 0x00000030U
67#define XTTCPS_MATCH_1_OFFSET 0x0000003CU
68#define XTTCPS_MATCH_2_OFFSET 0x00000048U
69#define XTTCPS_ISR_OFFSET 0x00000054U
70#define XTTCPS_IER_OFFSET 0x00000060U
77#define XTTCPS_CLK_CNTRL_PS_EN_MASK 0x00000001U
78#define XTTCPS_CLK_CNTRL_PS_VAL_MASK 0x0000001EU
79#define XTTCPS_CLK_CNTRL_PS_VAL_SHIFT 1U
80#define XTTCPS_CLK_CNTRL_PS_DISABLE 16U
81#define XTTCPS_CLK_CNTRL_SRC_MASK 0x00000020U
82#define XTTCPS_CLK_CNTRL_EXT_EDGE_MASK 0x00000040U
89#define XTTCPS_CNT_CNTRL_DIS_MASK 0x00000001U
90#define XTTCPS_CNT_CNTRL_INT_MASK 0x00000002U
91#define XTTCPS_CNT_CNTRL_DECR_MASK 0x00000004U
92#define XTTCPS_CNT_CNTRL_MATCH_MASK 0x00000008U
93#define XTTCPS_CNT_CNTRL_RST_MASK 0x00000010U
94#define XTTCPS_CNT_CNTRL_EN_WAVE_MASK 0x00000020U
95#define XTTCPS_CNT_CNTRL_POL_WAVE_MASK 0x00000040U
96#define XTTCPS_CNT_CNTRL_RESET_VALUE 0x00000021U
104#define XTTCPS_COUNT_VALUE_MASK 0x0000FFFFU
106#define XTTCPS_COUNT_VALUE_MASK 0xFFFFFFFFU
116#define XTTCPS_INTERVAL_VAL_MASK 0x0000FFFFU
118#define XTTCPS_INTERVAL_VAL_MASK 0xFFFFFFFFU
128#define XTTCPS_MATCH_MASK 0x0000FFFFU
130#define XTTCPS_MATCH_MASK 0xFFFFFFFFU
132#define XTTCPS_NUM_MATCH_REG 3U
140#define XTTCPS_IXR_INTERVAL_MASK 0x00000001U
141#define XTTCPS_IXR_MATCH_0_MASK 0x00000002U
142#define XTTCPS_IXR_MATCH_1_MASK 0x00000004U
143#define XTTCPS_IXR_MATCH_2_MASK 0x00000008U
144#define XTTCPS_IXR_CNT_OVR_MASK 0x00000010U
145#define XTTCPS_IXR_ALL_MASK 0x0000001FU
165#define XTtcPs_ReadReg(BaseAddress, RegOffset) \
166 (Xil_In32((BaseAddress) + (u32)(RegOffset)))
184#define XTtcPs_WriteReg(BaseAddress, RegOffset, Data) \
185 (Xil_Out32((BaseAddress) + (u32)(RegOffset), (u32)(Data)))
200#define XTtcPs_Match_N_Offset(MatchIndex) \
201 ((u32)XTTCPS_MATCH_0_OFFSET + ((u32)(12U) * (u32)(MatchIndex)))