RTEMS 6.1-rc6
|
MCR - PIT Module Control Register | |
#define | PIT_MCR_FRZ_MASK (0x1U) |
#define | PIT_MCR_FRZ_SHIFT (0U) |
#define | PIT_MCR_FRZ(x) (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK) |
#define | PIT_MCR_MDIS_MASK (0x2U) |
#define | PIT_MCR_MDIS_SHIFT (1U) |
#define | PIT_MCR_MDIS(x) (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK) |
LTMR64H - PIT Upper Lifetime Timer Register | |
#define | PIT_LTMR64H_LTH_MASK (0xFFFFFFFFU) |
#define | PIT_LTMR64H_LTH_SHIFT (0U) |
#define | PIT_LTMR64H_LTH(x) (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK) |
LTMR64L - PIT Lower Lifetime Timer Register | |
#define | PIT_LTMR64L_LTL_MASK (0xFFFFFFFFU) |
#define | PIT_LTMR64L_LTL_SHIFT (0U) |
#define | PIT_LTMR64L_LTL(x) (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK) |
LDVAL - Timer Load Value Register | |
#define | PIT_LDVAL_TSV_MASK (0xFFFFFFFFU) |
#define | PIT_LDVAL_TSV_SHIFT (0U) |
#define | PIT_LDVAL_TSV(x) (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK) |
CVAL - Current Timer Value Register | |
#define | PIT_CVAL_TVL_MASK (0xFFFFFFFFU) |
#define | PIT_CVAL_TVL_SHIFT (0U) |
#define | PIT_CVAL_TVL(x) (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK) |
TCTRL - Timer Control Register | |
#define | PIT_TCTRL_TEN_MASK (0x1U) |
#define | PIT_TCTRL_TEN_SHIFT (0U) |
#define | PIT_TCTRL_TEN(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK) |
#define | PIT_TCTRL_TIE_MASK (0x2U) |
#define | PIT_TCTRL_TIE_SHIFT (1U) |
#define | PIT_TCTRL_TIE(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK) |
#define | PIT_TCTRL_CHN_MASK (0x4U) |
#define | PIT_TCTRL_CHN_SHIFT (2U) |
#define | PIT_TCTRL_CHN(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK) |
TFLG - Timer Flag Register | |
#define | PIT_TFLG_TIF_MASK (0x1U) |
#define | PIT_TFLG_TIF_SHIFT (0U) |
#define | PIT_TFLG_TIF(x) (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK) |
MCR - PIT Module Control Register | |
#define | PIT_MCR_FRZ_MASK (0x1U) |
#define | PIT_MCR_FRZ_SHIFT (0U) |
#define | PIT_MCR_FRZ(x) (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK) |
#define | PIT_MCR_MDIS_MASK (0x2U) |
#define | PIT_MCR_MDIS_SHIFT (1U) |
#define | PIT_MCR_MDIS(x) (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK) |
LTMR64H - PIT Upper Lifetime Timer Register | |
#define | PIT_LTMR64H_LTH_MASK (0xFFFFFFFFU) |
#define | PIT_LTMR64H_LTH_SHIFT (0U) |
#define | PIT_LTMR64H_LTH(x) (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK) |
LTMR64L - PIT Lower Lifetime Timer Register | |
#define | PIT_LTMR64L_LTL_MASK (0xFFFFFFFFU) |
#define | PIT_LTMR64L_LTL_SHIFT (0U) |
#define | PIT_LTMR64L_LTL(x) (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK) |
LDVAL - Timer Load Value Register | |
#define | PIT_LDVAL_TSV_MASK (0xFFFFFFFFU) |
#define | PIT_LDVAL_TSV_SHIFT (0U) |
#define | PIT_LDVAL_TSV(x) (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK) |
CVAL - Current Timer Value Register | |
#define | PIT_CVAL_TVL_MASK (0xFFFFFFFFU) |
#define | PIT_CVAL_TVL_SHIFT (0U) |
#define | PIT_CVAL_TVL(x) (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK) |
TCTRL - Timer Control Register | |
#define | PIT_TCTRL_TEN_MASK (0x1U) |
#define | PIT_TCTRL_TEN_SHIFT (0U) |
#define | PIT_TCTRL_TEN(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK) |
#define | PIT_TCTRL_TIE_MASK (0x2U) |
#define | PIT_TCTRL_TIE_SHIFT (1U) |
#define | PIT_TCTRL_TIE(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK) |
#define | PIT_TCTRL_CHN_MASK (0x4U) |
#define | PIT_TCTRL_CHN_SHIFT (2U) |
#define | PIT_TCTRL_CHN(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK) |
TFLG - Timer Flag Register | |
#define | PIT_TFLG_TIF_MASK (0x1U) |
#define | PIT_TFLG_TIF_SHIFT (0U) |
#define | PIT_TFLG_TIF(x) (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK) |
MCR - PIT Module Control Register | |
#define | PIT_MCR_FRZ_MASK (0x1U) |
#define | PIT_MCR_FRZ_SHIFT (0U) |
#define | PIT_MCR_FRZ(x) (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK) |
#define | PIT_MCR_MDIS_MASK (0x2U) |
#define | PIT_MCR_MDIS_SHIFT (1U) |
#define | PIT_MCR_MDIS(x) (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK) |
LTMR64H - PIT Upper Lifetime Timer Register | |
#define | PIT_LTMR64H_LTH_MASK (0xFFFFFFFFU) |
#define | PIT_LTMR64H_LTH_SHIFT (0U) |
#define | PIT_LTMR64H_LTH(x) (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK) |
LTMR64L - PIT Lower Lifetime Timer Register | |
#define | PIT_LTMR64L_LTL_MASK (0xFFFFFFFFU) |
#define | PIT_LTMR64L_LTL_SHIFT (0U) |
#define | PIT_LTMR64L_LTL(x) (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK) |
LDVAL - Timer Load Value Register | |
#define | PIT_LDVAL_TSV_MASK (0xFFFFFFFFU) |
#define | PIT_LDVAL_TSV_SHIFT (0U) |
#define | PIT_LDVAL_TSV(x) (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK) |
CVAL - Current Timer Value Register | |
#define | PIT_CVAL_TVL_MASK (0xFFFFFFFFU) |
#define | PIT_CVAL_TVL_SHIFT (0U) |
#define | PIT_CVAL_TVL(x) (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK) |
TCTRL - Timer Control Register | |
#define | PIT_TCTRL_TEN_MASK (0x1U) |
#define | PIT_TCTRL_TEN_SHIFT (0U) |
#define | PIT_TCTRL_TEN(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK) |
#define | PIT_TCTRL_TIE_MASK (0x2U) |
#define | PIT_TCTRL_TIE_SHIFT (1U) |
#define | PIT_TCTRL_TIE(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK) |
#define | PIT_TCTRL_CHN_MASK (0x4U) |
#define | PIT_TCTRL_CHN_SHIFT (2U) |
#define | PIT_TCTRL_CHN(x) (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK) |
TFLG - Timer Flag Register | |
#define | PIT_TFLG_TIF_MASK (0x1U) |
#define | PIT_TFLG_TIF_SHIFT (0U) |
#define | PIT_TFLG_TIF(x) (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK) |
#define PIT_CVAL_TVL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK) |
TVL - Current Timer Value
#define PIT_CVAL_TVL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK) |
TVL - Current Timer Value
#define PIT_CVAL_TVL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK) |
TVL - Current Timer Value
#define PIT_LDVAL_TSV | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK) |
TSV - Timer Start Value
#define PIT_LDVAL_TSV | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK) |
TSV - Timer Start Value
#define PIT_LDVAL_TSV | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK) |
TSV - Timer Start Value
#define PIT_LTMR64H_LTH | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK) |
LTH - Life Timer value
#define PIT_LTMR64H_LTH | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK) |
LTH - Life Timer value
#define PIT_LTMR64H_LTH | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK) |
LTH - Life Timer value
#define PIT_LTMR64L_LTL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK) |
LTL - Life Timer value
#define PIT_LTMR64L_LTL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK) |
LTL - Life Timer value
#define PIT_LTMR64L_LTL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK) |
LTL - Life Timer value
#define PIT_MCR_FRZ | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK) |
FRZ - Freeze 0b0..Timers continue to run in Debug mode. 0b1..Timers are stopped in Debug mode.
#define PIT_MCR_FRZ | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK) |
FRZ - Freeze 0b0..Timers continue to run in Debug mode. 0b1..Timers are stopped in Debug mode.
#define PIT_MCR_FRZ | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK) |
FRZ - Freeze 0b0..Timers continue to run in Debug mode. 0b1..Timers are stopped in Debug mode.
#define PIT_MCR_MDIS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK) |
MDIS - Module Disable for PIT 0b0..Clock for standard PIT timers is enabled. 0b1..Clock for standard PIT timers is disabled.
#define PIT_MCR_MDIS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK) |
MDIS - Module Disable for PIT 0b0..Clock for standard PIT timers is enabled. 0b1..Clock for standard PIT timers is disabled.
#define PIT_MCR_MDIS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK) |
MDIS - Module Disable for PIT 0b0..Clock for standard PIT timers is enabled. 0b1..Clock for standard PIT timers is disabled.
#define PIT_TCTRL_CHN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK) |
CHN - Chain Mode 0b0..Timer is not chained. 0b1..Timer is chained to a previous timer. For example, for channel 2, if this field is set, Timer 2 is chained to Timer 1.
#define PIT_TCTRL_CHN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK) |
CHN - Chain Mode 0b0..Timer is not chained. 0b1..Timer is chained to a previous timer. For example, for channel 2, if this field is set, Timer 2 is chained to Timer 1.
#define PIT_TCTRL_CHN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK) |
CHN - Chain Mode 0b0..Timer is not chained. 0b1..Timer is chained to a previous timer. For example, for channel 2, if this field is set, Timer 2 is chained to Timer 1.
#define PIT_TCTRL_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK) |
TEN - Timer Enable 0b0..Timer n is disabled. 0b1..Timer n is enabled.
#define PIT_TCTRL_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK) |
TEN - Timer Enable 0b0..Timer n is disabled. 0b1..Timer n is enabled.
#define PIT_TCTRL_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK) |
TEN - Timer Enable 0b0..Timer n is disabled. 0b1..Timer n is enabled.
#define PIT_TCTRL_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Interrupt requests from Timer n are disabled. 0b1..Interrupt is requested whenever TIF is set.
#define PIT_TCTRL_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Interrupt requests from Timer n are disabled. 0b1..Interrupt is requested whenever TIF is set.
#define PIT_TCTRL_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Interrupt requests from Timer n are disabled. 0b1..Interrupt is requested whenever TIF is set.
#define PIT_TFLG_TIF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK) |
TIF - Timer Interrupt Flag 0b0..Timeout has not yet occurred. 0b1..Timeout has occurred.
#define PIT_TFLG_TIF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK) |
TIF - Timer Interrupt Flag 0b0..Timeout has not yet occurred. 0b1..Timeout has occurred.
#define PIT_TFLG_TIF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK) |
TIF - Timer Interrupt Flag 0b0..Timeout has not yet occurred. 0b1..Timeout has occurred.