mikroSDK Reference Manual
|
Macros | |
#define | LPTMR0_BASE (0x40040000u) |
#define | LPTMR0 ((LPTMR_Type *)LPTMR0_BASE) |
#define | LPTMR_BASE_ADDRS { LPTMR0_BASE } |
#define | LPTMR_BASE_PTRS { LPTMR0 } |
#define | LPTMR_IRQS { LPTMR0_IRQn } |
CSR - Low Power Timer Control Status Register | |
#define | LPTMR_CSR_TEN_MASK (0x1U) |
#define | LPTMR_CSR_TEN_SHIFT (0U) |
#define | LPTMR_CSR_TEN(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
#define | LPTMR_CSR_TMS_MASK (0x2U) |
#define | LPTMR_CSR_TMS_SHIFT (1U) |
#define | LPTMR_CSR_TMS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
#define | LPTMR_CSR_TFC_MASK (0x4U) |
#define | LPTMR_CSR_TFC_SHIFT (2U) |
#define | LPTMR_CSR_TFC(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
#define | LPTMR_CSR_TPP_MASK (0x8U) |
#define | LPTMR_CSR_TPP_SHIFT (3U) |
#define | LPTMR_CSR_TPP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
#define | LPTMR_CSR_TPS_MASK (0x30U) |
#define | LPTMR_CSR_TPS_SHIFT (4U) |
#define | LPTMR_CSR_TPS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
#define | LPTMR_CSR_TIE_MASK (0x40U) |
#define | LPTMR_CSR_TIE_SHIFT (6U) |
#define | LPTMR_CSR_TIE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
#define | LPTMR_CSR_TCF_MASK (0x80U) |
#define | LPTMR_CSR_TCF_SHIFT (7U) |
#define | LPTMR_CSR_TCF(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
#define | LPTMR_CSR_TEN_MASK 0x1u |
#define | LPTMR_CSR_TEN_SHIFT 0 |
#define | LPTMR_CSR_TMS_MASK 0x2u |
#define | LPTMR_CSR_TMS_SHIFT 1 |
#define | LPTMR_CSR_TFC_MASK 0x4u |
#define | LPTMR_CSR_TFC_SHIFT 2 |
#define | LPTMR_CSR_TPP_MASK 0x8u |
#define | LPTMR_CSR_TPP_SHIFT 3 |
#define | LPTMR_CSR_TPS_MASK 0x30u |
#define | LPTMR_CSR_TPS_SHIFT 4 |
#define | LPTMR_CSR_TPS(x) (((uint32_t)(((uint32_t)(x))<<LPTMR_CSR_TPS_SHIFT))&LPTMR_CSR_TPS_MASK) |
#define | LPTMR_CSR_TIE_MASK 0x40u |
#define | LPTMR_CSR_TIE_SHIFT 6 |
#define | LPTMR_CSR_TCF_MASK 0x80u |
#define | LPTMR_CSR_TCF_SHIFT 7 |
#define | LPTMR_CSR_TEN_MASK (0x1U) |
#define | LPTMR_CSR_TEN_SHIFT (0U) |
#define | LPTMR_CSR_TEN(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
#define | LPTMR_CSR_TMS_MASK (0x2U) |
#define | LPTMR_CSR_TMS_SHIFT (1U) |
#define | LPTMR_CSR_TMS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
#define | LPTMR_CSR_TFC_MASK (0x4U) |
#define | LPTMR_CSR_TFC_SHIFT (2U) |
#define | LPTMR_CSR_TFC(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
#define | LPTMR_CSR_TPP_MASK (0x8U) |
#define | LPTMR_CSR_TPP_SHIFT (3U) |
#define | LPTMR_CSR_TPP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
#define | LPTMR_CSR_TPS_MASK (0x30U) |
#define | LPTMR_CSR_TPS_SHIFT (4U) |
#define | LPTMR_CSR_TPS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
#define | LPTMR_CSR_TIE_MASK (0x40U) |
#define | LPTMR_CSR_TIE_SHIFT (6U) |
#define | LPTMR_CSR_TIE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
#define | LPTMR_CSR_TCF_MASK (0x80U) |
#define | LPTMR_CSR_TCF_SHIFT (7U) |
#define | LPTMR_CSR_TCF(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
#define | LPTMR_CSR_TEN_MASK (0x1U) |
#define | LPTMR_CSR_TEN_SHIFT (0U) |
#define | LPTMR_CSR_TEN(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
#define | LPTMR_CSR_TMS_MASK (0x2U) |
#define | LPTMR_CSR_TMS_SHIFT (1U) |
#define | LPTMR_CSR_TMS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
#define | LPTMR_CSR_TFC_MASK (0x4U) |
#define | LPTMR_CSR_TFC_SHIFT (2U) |
#define | LPTMR_CSR_TFC(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
#define | LPTMR_CSR_TPP_MASK (0x8U) |
#define | LPTMR_CSR_TPP_SHIFT (3U) |
#define | LPTMR_CSR_TPP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
#define | LPTMR_CSR_TPS_MASK (0x30U) |
#define | LPTMR_CSR_TPS_SHIFT (4U) |
#define | LPTMR_CSR_TPS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
#define | LPTMR_CSR_TIE_MASK (0x40U) |
#define | LPTMR_CSR_TIE_SHIFT (6U) |
#define | LPTMR_CSR_TIE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
#define | LPTMR_CSR_TCF_MASK (0x80U) |
#define | LPTMR_CSR_TCF_SHIFT (7U) |
#define | LPTMR_CSR_TCF(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
#define | LPTMR_CSR_TEN_MASK (0x1U) |
#define | LPTMR_CSR_TEN_SHIFT (0U) |
#define | LPTMR_CSR_TEN(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
#define | LPTMR_CSR_TMS_MASK (0x2U) |
#define | LPTMR_CSR_TMS_SHIFT (1U) |
#define | LPTMR_CSR_TMS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
#define | LPTMR_CSR_TFC_MASK (0x4U) |
#define | LPTMR_CSR_TFC_SHIFT (2U) |
#define | LPTMR_CSR_TFC(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
#define | LPTMR_CSR_TPP_MASK (0x8U) |
#define | LPTMR_CSR_TPP_SHIFT (3U) |
#define | LPTMR_CSR_TPP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
#define | LPTMR_CSR_TPS_MASK (0x30U) |
#define | LPTMR_CSR_TPS_SHIFT (4U) |
#define | LPTMR_CSR_TPS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
#define | LPTMR_CSR_TIE_MASK (0x40U) |
#define | LPTMR_CSR_TIE_SHIFT (6U) |
#define | LPTMR_CSR_TIE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
#define | LPTMR_CSR_TCF_MASK (0x80U) |
#define | LPTMR_CSR_TCF_SHIFT (7U) |
#define | LPTMR_CSR_TCF(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
#define | LPTMR_CSR_TEN_MASK (0x1U) |
#define | LPTMR_CSR_TEN_SHIFT (0U) |
#define | LPTMR_CSR_TEN(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
#define | LPTMR_CSR_TMS_MASK (0x2U) |
#define | LPTMR_CSR_TMS_SHIFT (1U) |
#define | LPTMR_CSR_TMS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
#define | LPTMR_CSR_TFC_MASK (0x4U) |
#define | LPTMR_CSR_TFC_SHIFT (2U) |
#define | LPTMR_CSR_TFC(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
#define | LPTMR_CSR_TPP_MASK (0x8U) |
#define | LPTMR_CSR_TPP_SHIFT (3U) |
#define | LPTMR_CSR_TPP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
#define | LPTMR_CSR_TPS_MASK (0x30U) |
#define | LPTMR_CSR_TPS_SHIFT (4U) |
#define | LPTMR_CSR_TPS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
#define | LPTMR_CSR_TIE_MASK (0x40U) |
#define | LPTMR_CSR_TIE_SHIFT (6U) |
#define | LPTMR_CSR_TIE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
#define | LPTMR_CSR_TCF_MASK (0x80U) |
#define | LPTMR_CSR_TCF_SHIFT (7U) |
#define | LPTMR_CSR_TCF(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
PSR - Low Power Timer Prescale Register | |
#define | LPTMR_PSR_PCS_MASK (0x3U) |
#define | LPTMR_PSR_PCS_SHIFT (0U) |
#define | LPTMR_PSR_PCS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
#define | LPTMR_PSR_PBYP_MASK (0x4U) |
#define | LPTMR_PSR_PBYP_SHIFT (2U) |
#define | LPTMR_PSR_PBYP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
#define | LPTMR_PSR_PRESCALE_MASK (0x78U) |
#define | LPTMR_PSR_PRESCALE_SHIFT (3U) |
#define | LPTMR_PSR_PRESCALE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
#define | LPTMR_PSR_PCS_MASK 0x3u |
#define | LPTMR_PSR_PCS_SHIFT 0 |
#define | LPTMR_PSR_PCS(x) (((uint32_t)(((uint32_t)(x))<<LPTMR_PSR_PCS_SHIFT))&LPTMR_PSR_PCS_MASK) |
#define | LPTMR_PSR_PBYP_MASK 0x4u |
#define | LPTMR_PSR_PBYP_SHIFT 2 |
#define | LPTMR_PSR_PRESCALE_MASK 0x78u |
#define | LPTMR_PSR_PRESCALE_SHIFT 3 |
#define | LPTMR_PSR_PRESCALE(x) (((uint32_t)(((uint32_t)(x))<<LPTMR_PSR_PRESCALE_SHIFT))&LPTMR_PSR_PRESCALE_MASK) |
#define | LPTMR_PSR_PCS_MASK (0x3U) |
#define | LPTMR_PSR_PCS_SHIFT (0U) |
#define | LPTMR_PSR_PCS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
#define | LPTMR_PSR_PBYP_MASK (0x4U) |
#define | LPTMR_PSR_PBYP_SHIFT (2U) |
#define | LPTMR_PSR_PBYP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
#define | LPTMR_PSR_PRESCALE_MASK (0x78U) |
#define | LPTMR_PSR_PRESCALE_SHIFT (3U) |
#define | LPTMR_PSR_PRESCALE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
#define | LPTMR_PSR_PCS_MASK (0x3U) |
#define | LPTMR_PSR_PCS_SHIFT (0U) |
#define | LPTMR_PSR_PCS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
#define | LPTMR_PSR_PBYP_MASK (0x4U) |
#define | LPTMR_PSR_PBYP_SHIFT (2U) |
#define | LPTMR_PSR_PBYP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
#define | LPTMR_PSR_PRESCALE_MASK (0x78U) |
#define | LPTMR_PSR_PRESCALE_SHIFT (3U) |
#define | LPTMR_PSR_PRESCALE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
#define | LPTMR_PSR_PCS_MASK (0x3U) |
#define | LPTMR_PSR_PCS_SHIFT (0U) |
#define | LPTMR_PSR_PCS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
#define | LPTMR_PSR_PBYP_MASK (0x4U) |
#define | LPTMR_PSR_PBYP_SHIFT (2U) |
#define | LPTMR_PSR_PBYP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
#define | LPTMR_PSR_PRESCALE_MASK (0x78U) |
#define | LPTMR_PSR_PRESCALE_SHIFT (3U) |
#define | LPTMR_PSR_PRESCALE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
#define | LPTMR_PSR_PCS_MASK (0x3U) |
#define | LPTMR_PSR_PCS_SHIFT (0U) |
#define | LPTMR_PSR_PCS(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
#define | LPTMR_PSR_PBYP_MASK (0x4U) |
#define | LPTMR_PSR_PBYP_SHIFT (2U) |
#define | LPTMR_PSR_PBYP(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
#define | LPTMR_PSR_PRESCALE_MASK (0x78U) |
#define | LPTMR_PSR_PRESCALE_SHIFT (3U) |
#define | LPTMR_PSR_PRESCALE(x) (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
#define LPTMR0 ((LPTMR_Type *)LPTMR0_BASE) |
Peripheral LPTMR0 base pointer
#define LPTMR0_BASE (0x40040000u) |
Peripheral LPTMR0 base address
#define LPTMR_BASE_ADDRS { LPTMR0_BASE } |
Array initializer of LPTMR peripheral base addresses
#define LPTMR_BASE_PTRS { LPTMR0 } |
Array initializer of LPTMR peripheral base pointers
#define LPTMR_CSR_TCF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
TCF - Timer Compare Flag 0b0..The value of CNR is not equal to CMR and increments. 0b1..The value of CNR is equal to CMR and increments.
#define LPTMR_CSR_TCF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
TCF - Timer Compare Flag 0b0..The value of CNR is not equal to CMR and increments. 0b1..The value of CNR is equal to CMR and increments.
#define LPTMR_CSR_TCF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
TCF - Timer Compare Flag 0b0..The value of CNR is not equal to CMR and increments. 0b1..The value of CNR is equal to CMR and increments.
#define LPTMR_CSR_TCF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
TCF - Timer Compare Flag 0b0..The value of CNR is not equal to CMR and increments. 0b1..The value of CNR is equal to CMR and increments.
#define LPTMR_CSR_TCF | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TCF_SHIFT)) & LPTMR_CSR_TCF_MASK) |
TCF - Timer Compare Flag 0b0..The value of CNR is not equal to CMR and increments. 0b1..The value of CNR is equal to CMR and increments.
#define LPTMR_CSR_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
TEN - Timer Enable 0b0..LPTMR is disabled and internal logic is reset. 0b1..LPTMR is enabled.
#define LPTMR_CSR_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
TEN - Timer Enable 0b0..LPTMR is disabled and internal logic is reset. 0b1..LPTMR is enabled.
#define LPTMR_CSR_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
TEN - Timer Enable 0b0..LPTMR is disabled and internal logic is reset. 0b1..LPTMR is enabled.
#define LPTMR_CSR_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
TEN - Timer Enable 0b0..LPTMR is disabled and internal logic is reset. 0b1..LPTMR is enabled.
#define LPTMR_CSR_TEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TEN_SHIFT)) & LPTMR_CSR_TEN_MASK) |
TEN - Timer Enable 0b0..LPTMR is disabled and internal logic is reset. 0b1..LPTMR is enabled.
#define LPTMR_CSR_TFC | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
TFC - Timer Free-Running Counter 0b0..CNR is reset whenever TCF is set. 0b1..CNR is reset on overflow.
#define LPTMR_CSR_TFC | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
TFC - Timer Free-Running Counter 0b0..CNR is reset whenever TCF is set. 0b1..CNR is reset on overflow.
#define LPTMR_CSR_TFC | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
TFC - Timer Free-Running Counter 0b0..CNR is reset whenever TCF is set. 0b1..CNR is reset on overflow.
#define LPTMR_CSR_TFC | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
TFC - Timer Free-Running Counter 0b0..CNR is reset whenever TCF is set. 0b1..CNR is reset on overflow.
#define LPTMR_CSR_TFC | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TFC_SHIFT)) & LPTMR_CSR_TFC_MASK) |
TFC - Timer Free-Running Counter 0b0..CNR is reset whenever TCF is set. 0b1..CNR is reset on overflow.
#define LPTMR_CSR_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Timer interrupt disabled. 0b1..Timer interrupt enabled.
#define LPTMR_CSR_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Timer interrupt disabled. 0b1..Timer interrupt enabled.
#define LPTMR_CSR_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Timer interrupt disabled. 0b1..Timer interrupt enabled.
#define LPTMR_CSR_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Timer interrupt disabled. 0b1..Timer interrupt enabled.
#define LPTMR_CSR_TIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TIE_SHIFT)) & LPTMR_CSR_TIE_MASK) |
TIE - Timer Interrupt Enable 0b0..Timer interrupt disabled. 0b1..Timer interrupt enabled.
#define LPTMR_CSR_TMS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
TMS - Timer Mode Select 0b0..Time Counter mode. 0b1..Pulse Counter mode.
#define LPTMR_CSR_TMS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
TMS - Timer Mode Select 0b0..Time Counter mode. 0b1..Pulse Counter mode.
#define LPTMR_CSR_TMS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
TMS - Timer Mode Select 0b0..Time Counter mode. 0b1..Pulse Counter mode.
#define LPTMR_CSR_TMS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
TMS - Timer Mode Select 0b0..Time Counter mode. 0b1..Pulse Counter mode.
#define LPTMR_CSR_TMS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TMS_SHIFT)) & LPTMR_CSR_TMS_MASK) |
TMS - Timer Mode Select 0b0..Time Counter mode. 0b1..Pulse Counter mode.
#define LPTMR_CSR_TPP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
TPP - Timer Pin Polarity 0b0..Pulse Counter input source is active-high, and the CNR will increment on the rising-edge. 0b1..Pulse Counter input source is active-low, and the CNR will increment on the falling-edge.
#define LPTMR_CSR_TPP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
TPP - Timer Pin Polarity 0b0..Pulse Counter input source is active-high, and the CNR will increment on the rising-edge. 0b1..Pulse Counter input source is active-low, and the CNR will increment on the falling-edge.
#define LPTMR_CSR_TPP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
TPP - Timer Pin Polarity 0b0..Pulse Counter input source is active-high, and the CNR will increment on the rising-edge. 0b1..Pulse Counter input source is active-low, and the CNR will increment on the falling-edge.
#define LPTMR_CSR_TPP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
TPP - Timer Pin Polarity 0b0..Pulse Counter input source is active-high, and the CNR will increment on the rising-edge. 0b1..Pulse Counter input source is active-low, and the CNR will increment on the falling-edge.
#define LPTMR_CSR_TPP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPP_SHIFT)) & LPTMR_CSR_TPP_MASK) |
TPP - Timer Pin Polarity 0b0..Pulse Counter input source is active-high, and the CNR will increment on the rising-edge. 0b1..Pulse Counter input source is active-low, and the CNR will increment on the falling-edge.
#define LPTMR_CSR_TPS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
TPS - Timer Pin Select 0b00..Pulse counter input 0 is selected. 0b01..Pulse counter input 1 is selected. 0b10..Pulse counter input 2 is selected. 0b11..Pulse counter input 3 is selected.
#define LPTMR_CSR_TPS | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<LPTMR_CSR_TPS_SHIFT))&LPTMR_CSR_TPS_MASK) |
TPS - Timer Pin Select 0b00..Pulse counter input 0 is selected. 0b01..Pulse counter input 1 is selected. 0b10..Pulse counter input 2 is selected. 0b11..Pulse counter input 3 is selected.
#define LPTMR_CSR_TPS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
TPS - Timer Pin Select 0b00..Pulse counter input 0 is selected. 0b01..Pulse counter input 1 is selected. 0b10..Pulse counter input 2 is selected. 0b11..Pulse counter input 3 is selected.
#define LPTMR_CSR_TPS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
TPS - Timer Pin Select 0b00..Pulse counter input 0 is selected. 0b01..Pulse counter input 1 is selected. 0b10..Pulse counter input 2 is selected. 0b11..Pulse counter input 3 is selected.
#define LPTMR_CSR_TPS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
TPS - Timer Pin Select 0b00..Pulse counter input 0 is selected. 0b01..Pulse counter input 1 is selected. 0b10..Pulse counter input 2 is selected. 0b11..Pulse counter input 3 is selected.
#define LPTMR_CSR_TPS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_CSR_TPS_SHIFT)) & LPTMR_CSR_TPS_MASK) |
TPS - Timer Pin Select 0b00..Pulse counter input 0 is selected. 0b01..Pulse counter input 1 is selected. 0b10..Pulse counter input 2 is selected. 0b11..Pulse counter input 3 is selected.
#define LPTMR_IRQS { LPTMR0_IRQn } |
Interrupt vectors for the LPTMR peripheral type
#define LPTMR_PSR_PBYP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
PBYP - Prescaler Bypass 0b0..Prescaler/glitch filter is enabled. 0b1..Prescaler/glitch filter is bypassed.
#define LPTMR_PSR_PBYP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
PBYP - Prescaler Bypass 0b0..Prescaler/glitch filter is enabled. 0b1..Prescaler/glitch filter is bypassed.
#define LPTMR_PSR_PBYP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
PBYP - Prescaler Bypass 0b0..Prescaler/glitch filter is enabled. 0b1..Prescaler/glitch filter is bypassed.
#define LPTMR_PSR_PBYP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
PBYP - Prescaler Bypass 0b0..Prescaler/glitch filter is enabled. 0b1..Prescaler/glitch filter is bypassed.
#define LPTMR_PSR_PBYP | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PBYP_SHIFT)) & LPTMR_PSR_PBYP_MASK) |
PBYP - Prescaler Bypass 0b0..Prescaler/glitch filter is enabled. 0b1..Prescaler/glitch filter is bypassed.
#define LPTMR_PSR_PCS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
PCS - Prescaler Clock Select 0b00..Prescaler/glitch filter clock 0 selected. 0b01..Prescaler/glitch filter clock 1 selected. 0b10..Prescaler/glitch filter clock 2 selected. 0b11..Prescaler/glitch filter clock 3 selected.
#define LPTMR_PSR_PCS | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<LPTMR_PSR_PCS_SHIFT))&LPTMR_PSR_PCS_MASK) |
PCS - Prescaler Clock Select 0b00..Prescaler/glitch filter clock 0 selected. 0b01..Prescaler/glitch filter clock 1 selected. 0b10..Prescaler/glitch filter clock 2 selected. 0b11..Prescaler/glitch filter clock 3 selected.
#define LPTMR_PSR_PCS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
PCS - Prescaler Clock Select 0b00..Prescaler/glitch filter clock 0 selected. 0b01..Prescaler/glitch filter clock 1 selected. 0b10..Prescaler/glitch filter clock 2 selected. 0b11..Prescaler/glitch filter clock 3 selected.
#define LPTMR_PSR_PCS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
PCS - Prescaler Clock Select 0b00..Prescaler/glitch filter clock 0 selected. 0b01..Prescaler/glitch filter clock 1 selected. 0b10..Prescaler/glitch filter clock 2 selected. 0b11..Prescaler/glitch filter clock 3 selected.
#define LPTMR_PSR_PCS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
PCS - Prescaler Clock Select 0b00..Prescaler/glitch filter clock 0 selected. 0b01..Prescaler/glitch filter clock 1 selected. 0b10..Prescaler/glitch filter clock 2 selected. 0b11..Prescaler/glitch filter clock 3 selected.
#define LPTMR_PSR_PCS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PCS_SHIFT)) & LPTMR_PSR_PCS_MASK) |
PCS - Prescaler Clock Select 0b00..Prescaler/glitch filter clock 0 selected. 0b01..Prescaler/glitch filter clock 1 selected. 0b10..Prescaler/glitch filter clock 2 selected. 0b11..Prescaler/glitch filter clock 3 selected.
#define LPTMR_PSR_PRESCALE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
PRESCALE - Prescale Value 0b0000..Prescaler divides the prescaler clock by 2; glitch filter does not support this configuration. 0b0001..Prescaler divides the prescaler clock by 4; glitch filter recognizes change on input pin after 2 rising clock edges. 0b0010..Prescaler divides the prescaler clock by 8; glitch filter recognizes change on input pin after 4 rising clock edges. 0b0011..Prescaler divides the prescaler clock by 16; glitch filter recognizes change on input pin after 8 rising clock edges. 0b0100..Prescaler divides the prescaler clock by 32; glitch filter recognizes change on input pin after 16 rising clock edges. 0b0101..Prescaler divides the prescaler clock by 64; glitch filter recognizes change on input pin after 32 rising clock edges. 0b0110..Prescaler divides the prescaler clock by 128; glitch filter recognizes change on input pin after 64 rising clock edges. 0b0111..Prescaler divides the prescaler clock by 256; glitch filter recognizes change on input pin after 128 rising clock edges. 0b1000..Prescaler divides the prescaler clock by 512; glitch filter recognizes change on input pin after 256 rising clock edges. 0b1001..Prescaler divides the prescaler clock by 1024; glitch filter recognizes change on input pin after 512 rising clock edges. 0b1010..Prescaler divides the prescaler clock by 2048; glitch filter recognizes change on input pin after 1024 rising clock edges. 0b1011..Prescaler divides the prescaler clock by 4096; glitch filter recognizes change on input pin after 2048 rising clock edges. 0b1100..Prescaler divides the prescaler clock by 8192; glitch filter recognizes change on input pin after 4096 rising clock edges. 0b1101..Prescaler divides the prescaler clock by 16,384; glitch filter recognizes change on input pin after 8192 rising clock edges. 0b1110..Prescaler divides the prescaler clock by 32,768; glitch filter recognizes change on input pin after 16,384 rising clock edges. 0b1111..Prescaler divides the prescaler clock by 65,536; glitch filter recognizes change on input pin after 32,768 rising clock edges.
#define LPTMR_PSR_PRESCALE | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<LPTMR_PSR_PRESCALE_SHIFT))&LPTMR_PSR_PRESCALE_MASK) |
PRESCALE - Prescale Value 0b0000..Prescaler divides the prescaler clock by 2; glitch filter does not support this configuration. 0b0001..Prescaler divides the prescaler clock by 4; glitch filter recognizes change on input pin after 2 rising clock edges. 0b0010..Prescaler divides the prescaler clock by 8; glitch filter recognizes change on input pin after 4 rising clock edges. 0b0011..Prescaler divides the prescaler clock by 16; glitch filter recognizes change on input pin after 8 rising clock edges. 0b0100..Prescaler divides the prescaler clock by 32; glitch filter recognizes change on input pin after 16 rising clock edges. 0b0101..Prescaler divides the prescaler clock by 64; glitch filter recognizes change on input pin after 32 rising clock edges. 0b0110..Prescaler divides the prescaler clock by 128; glitch filter recognizes change on input pin after 64 rising clock edges. 0b0111..Prescaler divides the prescaler clock by 256; glitch filter recognizes change on input pin after 128 rising clock edges. 0b1000..Prescaler divides the prescaler clock by 512; glitch filter recognizes change on input pin after 256 rising clock edges. 0b1001..Prescaler divides the prescaler clock by 1024; glitch filter recognizes change on input pin after 512 rising clock edges. 0b1010..Prescaler divides the prescaler clock by 2048; glitch filter recognizes change on input pin after 1024 rising clock edges. 0b1011..Prescaler divides the prescaler clock by 4096; glitch filter recognizes change on input pin after 2048 rising clock edges. 0b1100..Prescaler divides the prescaler clock by 8192; glitch filter recognizes change on input pin after 4096 rising clock edges. 0b1101..Prescaler divides the prescaler clock by 16,384; glitch filter recognizes change on input pin after 8192 rising clock edges. 0b1110..Prescaler divides the prescaler clock by 32,768; glitch filter recognizes change on input pin after 16,384 rising clock edges. 0b1111..Prescaler divides the prescaler clock by 65,536; glitch filter recognizes change on input pin after 32,768 rising clock edges.
#define LPTMR_PSR_PRESCALE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
PRESCALE - Prescale Value 0b0000..Prescaler divides the prescaler clock by 2; glitch filter does not support this configuration. 0b0001..Prescaler divides the prescaler clock by 4; glitch filter recognizes change on input pin after 2 rising clock edges. 0b0010..Prescaler divides the prescaler clock by 8; glitch filter recognizes change on input pin after 4 rising clock edges. 0b0011..Prescaler divides the prescaler clock by 16; glitch filter recognizes change on input pin after 8 rising clock edges. 0b0100..Prescaler divides the prescaler clock by 32; glitch filter recognizes change on input pin after 16 rising clock edges. 0b0101..Prescaler divides the prescaler clock by 64; glitch filter recognizes change on input pin after 32 rising clock edges. 0b0110..Prescaler divides the prescaler clock by 128; glitch filter recognizes change on input pin after 64 rising clock edges. 0b0111..Prescaler divides the prescaler clock by 256; glitch filter recognizes change on input pin after 128 rising clock edges. 0b1000..Prescaler divides the prescaler clock by 512; glitch filter recognizes change on input pin after 256 rising clock edges. 0b1001..Prescaler divides the prescaler clock by 1024; glitch filter recognizes change on input pin after 512 rising clock edges. 0b1010..Prescaler divides the prescaler clock by 2048; glitch filter recognizes change on input pin after 1024 rising clock edges. 0b1011..Prescaler divides the prescaler clock by 4096; glitch filter recognizes change on input pin after 2048 rising clock edges. 0b1100..Prescaler divides the prescaler clock by 8192; glitch filter recognizes change on input pin after 4096 rising clock edges. 0b1101..Prescaler divides the prescaler clock by 16,384; glitch filter recognizes change on input pin after 8192 rising clock edges. 0b1110..Prescaler divides the prescaler clock by 32,768; glitch filter recognizes change on input pin after 16,384 rising clock edges. 0b1111..Prescaler divides the prescaler clock by 65,536; glitch filter recognizes change on input pin after 32,768 rising clock edges.
#define LPTMR_PSR_PRESCALE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
PRESCALE - Prescale Value 0b0000..Prescaler divides the prescaler clock by 2; glitch filter does not support this configuration. 0b0001..Prescaler divides the prescaler clock by 4; glitch filter recognizes change on input pin after 2 rising clock edges. 0b0010..Prescaler divides the prescaler clock by 8; glitch filter recognizes change on input pin after 4 rising clock edges. 0b0011..Prescaler divides the prescaler clock by 16; glitch filter recognizes change on input pin after 8 rising clock edges. 0b0100..Prescaler divides the prescaler clock by 32; glitch filter recognizes change on input pin after 16 rising clock edges. 0b0101..Prescaler divides the prescaler clock by 64; glitch filter recognizes change on input pin after 32 rising clock edges. 0b0110..Prescaler divides the prescaler clock by 128; glitch filter recognizes change on input pin after 64 rising clock edges. 0b0111..Prescaler divides the prescaler clock by 256; glitch filter recognizes change on input pin after 128 rising clock edges. 0b1000..Prescaler divides the prescaler clock by 512; glitch filter recognizes change on input pin after 256 rising clock edges. 0b1001..Prescaler divides the prescaler clock by 1024; glitch filter recognizes change on input pin after 512 rising clock edges. 0b1010..Prescaler divides the prescaler clock by 2048; glitch filter recognizes change on input pin after 1024 rising clock edges. 0b1011..Prescaler divides the prescaler clock by 4096; glitch filter recognizes change on input pin after 2048 rising clock edges. 0b1100..Prescaler divides the prescaler clock by 8192; glitch filter recognizes change on input pin after 4096 rising clock edges. 0b1101..Prescaler divides the prescaler clock by 16,384; glitch filter recognizes change on input pin after 8192 rising clock edges. 0b1110..Prescaler divides the prescaler clock by 32,768; glitch filter recognizes change on input pin after 16,384 rising clock edges. 0b1111..Prescaler divides the prescaler clock by 65,536; glitch filter recognizes change on input pin after 32,768 rising clock edges.
#define LPTMR_PSR_PRESCALE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
PRESCALE - Prescale Value 0b0000..Prescaler divides the prescaler clock by 2; glitch filter does not support this configuration. 0b0001..Prescaler divides the prescaler clock by 4; glitch filter recognizes change on input pin after 2 rising clock edges. 0b0010..Prescaler divides the prescaler clock by 8; glitch filter recognizes change on input pin after 4 rising clock edges. 0b0011..Prescaler divides the prescaler clock by 16; glitch filter recognizes change on input pin after 8 rising clock edges. 0b0100..Prescaler divides the prescaler clock by 32; glitch filter recognizes change on input pin after 16 rising clock edges. 0b0101..Prescaler divides the prescaler clock by 64; glitch filter recognizes change on input pin after 32 rising clock edges. 0b0110..Prescaler divides the prescaler clock by 128; glitch filter recognizes change on input pin after 64 rising clock edges. 0b0111..Prescaler divides the prescaler clock by 256; glitch filter recognizes change on input pin after 128 rising clock edges. 0b1000..Prescaler divides the prescaler clock by 512; glitch filter recognizes change on input pin after 256 rising clock edges. 0b1001..Prescaler divides the prescaler clock by 1024; glitch filter recognizes change on input pin after 512 rising clock edges. 0b1010..Prescaler divides the prescaler clock by 2048; glitch filter recognizes change on input pin after 1024 rising clock edges. 0b1011..Prescaler divides the prescaler clock by 4096; glitch filter recognizes change on input pin after 2048 rising clock edges. 0b1100..Prescaler divides the prescaler clock by 8192; glitch filter recognizes change on input pin after 4096 rising clock edges. 0b1101..Prescaler divides the prescaler clock by 16,384; glitch filter recognizes change on input pin after 8192 rising clock edges. 0b1110..Prescaler divides the prescaler clock by 32,768; glitch filter recognizes change on input pin after 16,384 rising clock edges. 0b1111..Prescaler divides the prescaler clock by 65,536; glitch filter recognizes change on input pin after 32,768 rising clock edges.
#define LPTMR_PSR_PRESCALE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << LPTMR_PSR_PRESCALE_SHIFT)) & LPTMR_PSR_PRESCALE_MASK) |
PRESCALE - Prescale Value 0b0000..Prescaler divides the prescaler clock by 2; glitch filter does not support this configuration. 0b0001..Prescaler divides the prescaler clock by 4; glitch filter recognizes change on input pin after 2 rising clock edges. 0b0010..Prescaler divides the prescaler clock by 8; glitch filter recognizes change on input pin after 4 rising clock edges. 0b0011..Prescaler divides the prescaler clock by 16; glitch filter recognizes change on input pin after 8 rising clock edges. 0b0100..Prescaler divides the prescaler clock by 32; glitch filter recognizes change on input pin after 16 rising clock edges. 0b0101..Prescaler divides the prescaler clock by 64; glitch filter recognizes change on input pin after 32 rising clock edges. 0b0110..Prescaler divides the prescaler clock by 128; glitch filter recognizes change on input pin after 64 rising clock edges. 0b0111..Prescaler divides the prescaler clock by 256; glitch filter recognizes change on input pin after 128 rising clock edges. 0b1000..Prescaler divides the prescaler clock by 512; glitch filter recognizes change on input pin after 256 rising clock edges. 0b1001..Prescaler divides the prescaler clock by 1024; glitch filter recognizes change on input pin after 512 rising clock edges. 0b1010..Prescaler divides the prescaler clock by 2048; glitch filter recognizes change on input pin after 1024 rising clock edges. 0b1011..Prescaler divides the prescaler clock by 4096; glitch filter recognizes change on input pin after 2048 rising clock edges. 0b1100..Prescaler divides the prescaler clock by 8192; glitch filter recognizes change on input pin after 4096 rising clock edges. 0b1101..Prescaler divides the prescaler clock by 16,384; glitch filter recognizes change on input pin after 8192 rising clock edges. 0b1110..Prescaler divides the prescaler clock by 32,768; glitch filter recognizes change on input pin after 16,384 rising clock edges. 0b1111..Prescaler divides the prescaler clock by 65,536; glitch filter recognizes change on input pin after 32,768 rising clock edges.