![]() |
wdttb
Xilinx SDK Drivers API Documentation
|
Macros | |
#define | XWDTTB_HW_H_ |
Prevent circular inclusions by using protection macros. More... | |
Register offsets for the AXI Timebase WDT core. Each register is 32 | |
bits. | |
#define | XWT_TWCSR0_OFFSET 0x00U |
Control/Status Register 0 Offset. More... | |
#define | XWT_TWCSR1_OFFSET 0x04U |
Control/Status Register 1 Offset. More... | |
#define | XWT_TBR_OFFSET 0x08U |
Timebase Register Offset. More... | |
Register offsets for the AXI Timebase WDT core with windowing | |
feature with basic mode. Each register is 32 bits. | |
#define | XWT_MWR_OFFSET 0x0CU |
Master Write Control Register Offset. More... | |
#define | XWT_ESR_OFFSET 0x10U |
Enable & Status Register Offset. More... | |
#define | XWT_FCR_OFFSET 0x14U |
Function Control Register Offset. More... | |
#define | XWT_FWR_OFFSET 0x18U |
First Window Configuration Register Offset. More... | |
#define | XWT_SWR_OFFSET 0x1CU |
Second Window Configuration Register Offset. More... | |
#define | XWT_TSR0_OFFSET 0x20U |
Task Signature Register 0 Offset. More... | |
#define | XWT_TSR1_OFFSET 0x24U |
Task Signature Register 1 Offset. More... | |
#define | XWT_STR_OFFSET 0x28U |
Second Sequence Timer Register Offset. More... | |
Control/Status Register 0 bits | |
#define | XWT_CSR0_WRS_MASK 0x00000008U |
Reset status Mask. More... | |
#define | XWT_CSR0_WDS_MASK 0x00000004U |
Timer state Mask. More... | |
#define | XWT_CSR0_EWDT1_MASK 0x00000002U |
Enable bit 1 Mask. More... | |
Control/Status Register 0/1 bits | |
#define | XWT_CSRX_EWDT2_MASK 0x00000001U |
Enable bit 2 Mask. More... | |
Master Write Control bits | |
#define | XWT_MWR_AEN_MASK 0x00000002U |
Always Enable Mask. More... | |
#define | XWT_MWR_MWC_MASK 0x00000001U |
Master Write Control Mask. More... | |
Enable & Status Register bits | |
#define | XWT_ESR_LBE_MASK 0x07000000U |
Last Bad Event Mask. More... | |
#define | XWT_ESR_FCV_MASK 0x00700000U |
Fail Counter Value Mask. More... | |
#define | XWT_ESR_WRP_MASK 0x00020000U |
Watchdog Reset Pending Mask. More... | |
#define | XWT_ESR_WINT_MASK 0x00010000U |
Watchdog Interrupt Mask. More... | |
#define | XWT_ESR_WSW_MASK 0x00000100U |
Watchdog Second Window Mask. More... | |
#define | XWT_ESR_WCFG_MASK 0x00000002U |
Wrong Configuration Mask. More... | |
#define | XWT_ESR_WEN_MASK 0x00000001U |
Window WDT Enable Mask. More... | |
#define | XWT_ESR_LBE_SHIFT 24 |
Last Bad Event Shift. More... | |
#define | XWT_ESR_FCV_SHIFT 20 |
Fail Counter Value Shift. More... | |
#define | XWT_ESR_WRP_SHIFT 17 |
Watchdog Reset Pending Shift. More... | |
#define | XWT_ESR_WINT_SHIFT 16 |
Watchdog Interrupt Shift. More... | |
#define | XWT_ESR_WSW_SHIFT 8 |
Watchdog Second Window Shift. More... | |
#define | XWT_ESR_WCFG_SHIFT 1 |
Wrong Configuration Shift. More... | |
Function Control Register bits | |
#define | XWT_FCR_SBC_MASK 0x0000FF00U |
Selected Byte Count Mask. More... | |
#define | XWT_FCR_BSS_MASK 0x000000C0U |
Byte Segment Selection Mask. More... | |
#define | XWT_FCR_SSTE_MASK 0x00000010U |
Second Sequence Timer Enable Mask. More... | |
#define | XWT_FCR_PSME_MASK 0x00000008U |
Program Sequence Monitor Enable Mask. More... | |
#define | XWT_FCR_FCE_MASK 0x00000004U |
Fail Counter Enable Mask. More... | |
#define | XWT_FCR_WM_MASK 0x00000002U |
Window WDT Mode Mask. More... | |
#define | XWT_FCR_WDP_MASK 0x00000001U |
Window WDT Disable Protection Mask. More... | |
#define | XWT_FCR_SBC_SHIFT 8 |
Selected Byte Count Shift. More... | |
#define | XWT_FCR_BSS_SHIFT 6 |
Byte Segment Selection Shift. More... | |
#define | XWT_FCR_SSTE_SHIFT 4 |
Second Sequence Timer Enable Shift. More... | |
#define | XWT_FCR_WM_SHIFT 1 |
Window WDT Mode Shift. More... | |
Register access macro definition | |
#define | XWdtTb_In32 Xil_In32 |
Input Operations. More... | |
#define | XWdtTb_Out32 Xil_Out32 |
Output Operations. More... | |
#define | XWdtTb_ReadReg(BaseAddress, RegOffset) XWdtTb_In32((BaseAddress) + ((u32)RegOffset)) |
Read from the specified WdtTb core's register. More... | |
#define | XWdtTb_WriteReg(BaseAddress, RegOffset, RegisterValue) XWdtTb_Out32((BaseAddress) + ((u32)RegOffset), (u32)(RegisterValue)) |
Write to the specified WdtTb core's register. More... | |