CSR - Control Status | |
| #define | LPTMR_CSR_TEN_MASK |
| #define | LPTMR_CSR_TEN_SHIFT |
| #define | LPTMR_CSR_TEN(x) |
| #define | LPTMR_CSR_TMS_MASK |
| #define | LPTMR_CSR_TMS_SHIFT |
| #define | LPTMR_CSR_TMS(x) |
| #define | LPTMR_CSR_TFC_MASK |
| #define | LPTMR_CSR_TFC_SHIFT |
| #define | LPTMR_CSR_TFC(x) |
| #define | LPTMR_CSR_TPP_MASK |
| #define | LPTMR_CSR_TPP_SHIFT |
| #define | LPTMR_CSR_TPP(x) |
| #define | LPTMR_CSR_TPS_MASK |
| #define | LPTMR_CSR_TPS_SHIFT |
| #define | LPTMR_CSR_TPS(x) |
| #define | LPTMR_CSR_TIE_MASK |
| #define | LPTMR_CSR_TIE_SHIFT |
| #define | LPTMR_CSR_TIE(x) |
| #define | LPTMR_CSR_TCF_MASK |
| #define | LPTMR_CSR_TCF_SHIFT |
| #define | LPTMR_CSR_TCF(x) |
| #define | LPTMR_CSR_TDRE_MASK |
| #define | LPTMR_CSR_TDRE_SHIFT |
| #define | LPTMR_CSR_TDRE(x) |
PSR - Prescale and Glitch Filter | |
| #define | LPTMR_PSR_PCS_MASK |
| #define | LPTMR_PSR_PCS_SHIFT |
| #define | LPTMR_PSR_PCS(x) |
| #define | LPTMR_PSR_PBYP_MASK |
| #define | LPTMR_PSR_PBYP_SHIFT |
| #define | LPTMR_PSR_PBYP(x) |
| #define | LPTMR_PSR_PRESCALE_MASK |
| #define | LPTMR_PSR_PRESCALE_SHIFT |
| #define | LPTMR_PSR_PRESCALE(x) |
CMR - Compare | |
| #define | LPTMR_CMR_COMPARE_MASK |
| #define | LPTMR_CMR_COMPARE_SHIFT |
| #define | LPTMR_CMR_COMPARE(x) |
CNR - Counter | |
| #define | LPTMR_CNR_COUNTER_MASK |
| #define | LPTMR_CNR_COUNTER_SHIFT |
| #define | LPTMR_CNR_COUNTER(x) |
| #define LPTMR_CSR_TEN | ( | x | ) |
TEN - Timer Enable 0b0..Disable 0b1..Enable
| #define LPTMR_CSR_TMS | ( | x | ) |
TMS - Timer Mode Select 0b0..Time Counter mode 0b1..Pulse Counter mode
| #define LPTMR_CSR_TFC | ( | x | ) |
TFC - Timer Free-Running Counter 0b0..Reset if TCF set 0b1..Reset on overflow
| #define LPTMR_CSR_TPP | ( | x | ) |
TPP - Timer Pin Polarity 0b0..Active-high 0b1..Active-low
| #define LPTMR_CSR_TPS | ( | x | ) |
TPS - Timer Pin Select 0b00..Input 0 0b01..Input 1 0b10..Input 2 0b11..Input 3
| #define LPTMR_CSR_TIE | ( | x | ) |
TIE - Timer Interrupt Enable 0b0..Disable 0b1..Enable
| #define LPTMR_CSR_TCF | ( | x | ) |
TCF - Timer Compare Flag 0b0..CNR != (CMR + 1) 0b1..CNR = (CMR + 1)
| #define LPTMR_CSR_TDRE | ( | x | ) |
TDRE - Timer DMA Request Enable 0b0..Disable 0b1..Enable
| #define LPTMR_PSR_PCS | ( | x | ) |
PCS - Prescaler/Glitch Filter Clock Select 0b00..Clock 0 0b01..Clock 1 0b10..Clock 2 0b11..Clock 3
| #define LPTMR_PSR_PBYP | ( | x | ) |
PBYP - Prescaler/Glitch Filter Bypass 0b0..Prescaler/glitch filter enable 0b1..Prescaler/glitch filter bypass
| #define LPTMR_PSR_PRESCALE | ( | x | ) |
PRESCALE - Prescale/Glitch Filter 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_CMR_COMPARE | ( | x | ) |
COMPARE - Compare Value
| #define LPTMR_CNR_COUNTER | ( | x | ) |
COUNTER - Counter Value