IR - Interrupt Register. | |
| #define | CTIMER_IR_MR0INT_MASK |
| #define | CTIMER_IR_MR0INT_SHIFT |
| #define | CTIMER_IR_MR0INT(x) |
| #define | CTIMER_IR_MR1INT_MASK |
| #define | CTIMER_IR_MR1INT_SHIFT |
| #define | CTIMER_IR_MR1INT(x) |
| #define | CTIMER_IR_MR2INT_MASK |
| #define | CTIMER_IR_MR2INT_SHIFT |
| #define | CTIMER_IR_MR2INT(x) |
| #define | CTIMER_IR_MR3INT_MASK |
| #define | CTIMER_IR_MR3INT_SHIFT |
| #define | CTIMER_IR_MR3INT(x) |
| #define | CTIMER_IR_CR0INT_MASK |
| #define | CTIMER_IR_CR0INT_SHIFT |
| #define | CTIMER_IR_CR0INT(x) |
| #define | CTIMER_IR_CR1INT_MASK |
| #define | CTIMER_IR_CR1INT_SHIFT |
| #define | CTIMER_IR_CR1INT(x) |
| #define | CTIMER_IR_CR2INT_MASK |
| #define | CTIMER_IR_CR2INT_SHIFT |
| #define | CTIMER_IR_CR2INT(x) |
| #define | CTIMER_IR_CR3INT_MASK |
| #define | CTIMER_IR_CR3INT_SHIFT |
| #define | CTIMER_IR_CR3INT(x) |
| #define | CTIMER_IR_MR0INT_MASK |
| #define | CTIMER_IR_MR0INT_SHIFT |
| #define | CTIMER_IR_MR0INT(x) |
| #define | CTIMER_IR_MR1INT_MASK |
| #define | CTIMER_IR_MR1INT_SHIFT |
| #define | CTIMER_IR_MR1INT(x) |
| #define | CTIMER_IR_MR2INT_MASK |
| #define | CTIMER_IR_MR2INT_SHIFT |
| #define | CTIMER_IR_MR2INT(x) |
| #define | CTIMER_IR_MR3INT_MASK |
| #define | CTIMER_IR_MR3INT_SHIFT |
| #define | CTIMER_IR_MR3INT(x) |
| #define | CTIMER_IR_CR0INT_MASK |
| #define | CTIMER_IR_CR0INT_SHIFT |
| #define | CTIMER_IR_CR0INT(x) |
| #define | CTIMER_IR_CR1INT_MASK |
| #define | CTIMER_IR_CR1INT_SHIFT |
| #define | CTIMER_IR_CR1INT(x) |
| #define | CTIMER_IR_CR2INT_MASK |
| #define | CTIMER_IR_CR2INT_SHIFT |
| #define | CTIMER_IR_CR2INT(x) |
| #define | CTIMER_IR_CR3INT_MASK |
| #define | CTIMER_IR_CR3INT_SHIFT |
| #define | CTIMER_IR_CR3INT(x) |
| #define | CTIMER_IR_MR0INT_MASK |
| #define | CTIMER_IR_MR0INT_SHIFT |
| #define | CTIMER_IR_MR0INT(x) |
| #define | CTIMER_IR_MR1INT_MASK |
| #define | CTIMER_IR_MR1INT_SHIFT |
| #define | CTIMER_IR_MR1INT(x) |
| #define | CTIMER_IR_MR2INT_MASK |
| #define | CTIMER_IR_MR2INT_SHIFT |
| #define | CTIMER_IR_MR2INT(x) |
| #define | CTIMER_IR_MR3INT_MASK |
| #define | CTIMER_IR_MR3INT_SHIFT |
| #define | CTIMER_IR_MR3INT(x) |
| #define | CTIMER_IR_CR0INT_MASK |
| #define | CTIMER_IR_CR0INT_SHIFT |
| #define | CTIMER_IR_CR0INT(x) |
| #define | CTIMER_IR_CR1INT_MASK |
| #define | CTIMER_IR_CR1INT_SHIFT |
| #define | CTIMER_IR_CR1INT(x) |
| #define | CTIMER_IR_CR2INT_MASK |
| #define | CTIMER_IR_CR2INT_SHIFT |
| #define | CTIMER_IR_CR2INT(x) |
| #define | CTIMER_IR_CR3INT_MASK |
| #define | CTIMER_IR_CR3INT_SHIFT |
| #define | CTIMER_IR_CR3INT(x) |
| #define | CTIMER_IR_MR0INT_MASK |
| #define | CTIMER_IR_MR0INT_SHIFT |
| #define | CTIMER_IR_MR0INT(x) |
| #define | CTIMER_IR_MR1INT_MASK |
| #define | CTIMER_IR_MR1INT_SHIFT |
| #define | CTIMER_IR_MR1INT(x) |
| #define | CTIMER_IR_MR2INT_MASK |
| #define | CTIMER_IR_MR2INT_SHIFT |
| #define | CTIMER_IR_MR2INT(x) |
| #define | CTIMER_IR_MR3INT_MASK |
| #define | CTIMER_IR_MR3INT_SHIFT |
| #define | CTIMER_IR_MR3INT(x) |
| #define | CTIMER_IR_CR0INT_MASK |
| #define | CTIMER_IR_CR0INT_SHIFT |
| #define | CTIMER_IR_CR0INT(x) |
| #define | CTIMER_IR_CR1INT_MASK |
| #define | CTIMER_IR_CR1INT_SHIFT |
| #define | CTIMER_IR_CR1INT(x) |
| #define | CTIMER_IR_CR2INT_MASK |
| #define | CTIMER_IR_CR2INT_SHIFT |
| #define | CTIMER_IR_CR2INT(x) |
| #define | CTIMER_IR_CR3INT_MASK |
| #define | CTIMER_IR_CR3INT_SHIFT |
| #define | CTIMER_IR_CR3INT(x) |
TCR - Timer Control Register | |
| #define | CTIMER_TCR_CEN_MASK |
| #define | CTIMER_TCR_CEN_SHIFT |
| #define | CTIMER_TCR_CEN(x) |
| #define | CTIMER_TCR_CRST_MASK |
| #define | CTIMER_TCR_CRST_SHIFT |
| #define | CTIMER_TCR_CRST(x) |
| #define | CTIMER_TCR_AGCEN_MASK |
| #define | CTIMER_TCR_AGCEN_SHIFT |
| #define | CTIMER_TCR_AGCEN(x) |
| #define | CTIMER_TCR_ATCEN_MASK |
| #define | CTIMER_TCR_ATCEN_SHIFT |
| #define | CTIMER_TCR_ATCEN(x) |
| #define | CTIMER_TCR_CEN_MASK |
| #define | CTIMER_TCR_CEN_SHIFT |
| #define | CTIMER_TCR_CEN(x) |
| #define | CTIMER_TCR_CRST_MASK |
| #define | CTIMER_TCR_CRST_SHIFT |
| #define | CTIMER_TCR_CRST(x) |
| #define | CTIMER_TCR_AGCEN_MASK |
| #define | CTIMER_TCR_AGCEN_SHIFT |
| #define | CTIMER_TCR_AGCEN(x) |
| #define | CTIMER_TCR_ATCEN_MASK |
| #define | CTIMER_TCR_ATCEN_SHIFT |
| #define | CTIMER_TCR_ATCEN(x) |
| #define | CTIMER_TCR_CEN_MASK |
| #define | CTIMER_TCR_CEN_SHIFT |
| #define | CTIMER_TCR_CEN(x) |
| #define | CTIMER_TCR_CRST_MASK |
| #define | CTIMER_TCR_CRST_SHIFT |
| #define | CTIMER_TCR_CRST(x) |
| #define | CTIMER_TCR_AGCEN_MASK |
| #define | CTIMER_TCR_AGCEN_SHIFT |
| #define | CTIMER_TCR_AGCEN(x) |
| #define | CTIMER_TCR_ATCEN_MASK |
| #define | CTIMER_TCR_ATCEN_SHIFT |
| #define | CTIMER_TCR_ATCEN(x) |
| #define | CTIMER_TCR_CEN_MASK |
| #define | CTIMER_TCR_CEN_SHIFT |
| #define | CTIMER_TCR_CEN(x) |
| #define | CTIMER_TCR_CRST_MASK |
| #define | CTIMER_TCR_CRST_SHIFT |
| #define | CTIMER_TCR_CRST(x) |
| #define | CTIMER_TCR_AGCEN_MASK |
| #define | CTIMER_TCR_AGCEN_SHIFT |
| #define | CTIMER_TCR_AGCEN(x) |
| #define | CTIMER_TCR_ATCEN_MASK |
| #define | CTIMER_TCR_ATCEN_SHIFT |
| #define | CTIMER_TCR_ATCEN(x) |
TC - Timer Counter | |
| #define | CTIMER_TC_TCVAL_MASK |
| #define | CTIMER_TC_TCVAL_SHIFT |
| #define | CTIMER_TC_TCVAL(x) |
| #define | CTIMER_TC_TCVAL_MASK |
| #define | CTIMER_TC_TCVAL_SHIFT |
| #define | CTIMER_TC_TCVAL(x) |
| #define | CTIMER_TC_TCVAL_MASK |
| #define | CTIMER_TC_TCVAL_SHIFT |
| #define | CTIMER_TC_TCVAL(x) |
| #define | CTIMER_TC_TCVAL_MASK |
| #define | CTIMER_TC_TCVAL_SHIFT |
| #define | CTIMER_TC_TCVAL(x) |
PR - Prescale Register | |
| #define | CTIMER_PR_PRVAL_MASK |
| #define | CTIMER_PR_PRVAL_SHIFT |
| #define | CTIMER_PR_PRVAL(x) |
| #define | CTIMER_PR_PRVAL_MASK |
| #define | CTIMER_PR_PRVAL_SHIFT |
| #define | CTIMER_PR_PRVAL(x) |
| #define | CTIMER_PR_PRVAL_MASK |
| #define | CTIMER_PR_PRVAL_SHIFT |
| #define | CTIMER_PR_PRVAL(x) |
| #define | CTIMER_PR_PRVAL_MASK |
| #define | CTIMER_PR_PRVAL_SHIFT |
| #define | CTIMER_PR_PRVAL(x) |
PC - Prescale Counter. | |
| #define | CTIMER_PC_PCVAL_MASK |
| #define | CTIMER_PC_PCVAL_SHIFT |
| #define | CTIMER_PC_PCVAL(x) |
| #define | CTIMER_PC_PCVAL_MASK |
| #define | CTIMER_PC_PCVAL_SHIFT |
| #define | CTIMER_PC_PCVAL(x) |
| #define | CTIMER_PC_PCVAL_MASK |
| #define | CTIMER_PC_PCVAL_SHIFT |
| #define | CTIMER_PC_PCVAL(x) |
| #define | CTIMER_PC_PCVAL_MASK |
| #define | CTIMER_PC_PCVAL_SHIFT |
| #define | CTIMER_PC_PCVAL(x) |
MCR - Match Control Register | |
| #define | CTIMER_MCR_MR0I_MASK |
| #define | CTIMER_MCR_MR0I_SHIFT |
| #define | CTIMER_MCR_MR0I(x) |
| #define | CTIMER_MCR_MR0R_MASK |
| #define | CTIMER_MCR_MR0R_SHIFT |
| #define | CTIMER_MCR_MR0R(x) |
| #define | CTIMER_MCR_MR0S_MASK |
| #define | CTIMER_MCR_MR0S_SHIFT |
| #define | CTIMER_MCR_MR0S(x) |
| #define | CTIMER_MCR_MR1I_MASK |
| #define | CTIMER_MCR_MR1I_SHIFT |
| #define | CTIMER_MCR_MR1I(x) |
| #define | CTIMER_MCR_MR1R_MASK |
| #define | CTIMER_MCR_MR1R_SHIFT |
| #define | CTIMER_MCR_MR1R(x) |
| #define | CTIMER_MCR_MR1S_MASK |
| #define | CTIMER_MCR_MR1S_SHIFT |
| #define | CTIMER_MCR_MR1S(x) |
| #define | CTIMER_MCR_MR2I_MASK |
| #define | CTIMER_MCR_MR2I_SHIFT |
| #define | CTIMER_MCR_MR2I(x) |
| #define | CTIMER_MCR_MR2R_MASK |
| #define | CTIMER_MCR_MR2R_SHIFT |
| #define | CTIMER_MCR_MR2R(x) |
| #define | CTIMER_MCR_MR2S_MASK |
| #define | CTIMER_MCR_MR2S_SHIFT |
| #define | CTIMER_MCR_MR2S(x) |
| #define | CTIMER_MCR_MR3I_MASK |
| #define | CTIMER_MCR_MR3I_SHIFT |
| #define | CTIMER_MCR_MR3I(x) |
| #define | CTIMER_MCR_MR3R_MASK |
| #define | CTIMER_MCR_MR3R_SHIFT |
| #define | CTIMER_MCR_MR3R(x) |
| #define | CTIMER_MCR_MR3S_MASK |
| #define | CTIMER_MCR_MR3S_SHIFT |
| #define | CTIMER_MCR_MR3S(x) |
| #define | CTIMER_MCR_MR0RL_MASK |
| #define | CTIMER_MCR_MR0RL_SHIFT |
| #define | CTIMER_MCR_MR0RL(x) |
| #define | CTIMER_MCR_MR1RL_MASK |
| #define | CTIMER_MCR_MR1RL_SHIFT |
| #define | CTIMER_MCR_MR1RL(x) |
| #define | CTIMER_MCR_MR2RL_MASK |
| #define | CTIMER_MCR_MR2RL_SHIFT |
| #define | CTIMER_MCR_MR2RL(x) |
| #define | CTIMER_MCR_MR3RL_MASK |
| #define | CTIMER_MCR_MR3RL_SHIFT |
| #define | CTIMER_MCR_MR3RL(x) |
| #define | CTIMER_MCR_MR0I_MASK |
| #define | CTIMER_MCR_MR0I_SHIFT |
| #define | CTIMER_MCR_MR0I(x) |
| #define | CTIMER_MCR_MR0R_MASK |
| #define | CTIMER_MCR_MR0R_SHIFT |
| #define | CTIMER_MCR_MR0R(x) |
| #define | CTIMER_MCR_MR0S_MASK |
| #define | CTIMER_MCR_MR0S_SHIFT |
| #define | CTIMER_MCR_MR0S(x) |
| #define | CTIMER_MCR_MR1I_MASK |
| #define | CTIMER_MCR_MR1I_SHIFT |
| #define | CTIMER_MCR_MR1I(x) |
| #define | CTIMER_MCR_MR1R_MASK |
| #define | CTIMER_MCR_MR1R_SHIFT |
| #define | CTIMER_MCR_MR1R(x) |
| #define | CTIMER_MCR_MR1S_MASK |
| #define | CTIMER_MCR_MR1S_SHIFT |
| #define | CTIMER_MCR_MR1S(x) |
| #define | CTIMER_MCR_MR2I_MASK |
| #define | CTIMER_MCR_MR2I_SHIFT |
| #define | CTIMER_MCR_MR2I(x) |
| #define | CTIMER_MCR_MR2R_MASK |
| #define | CTIMER_MCR_MR2R_SHIFT |
| #define | CTIMER_MCR_MR2R(x) |
| #define | CTIMER_MCR_MR2S_MASK |
| #define | CTIMER_MCR_MR2S_SHIFT |
| #define | CTIMER_MCR_MR2S(x) |
| #define | CTIMER_MCR_MR3I_MASK |
| #define | CTIMER_MCR_MR3I_SHIFT |
| #define | CTIMER_MCR_MR3I(x) |
| #define | CTIMER_MCR_MR3R_MASK |
| #define | CTIMER_MCR_MR3R_SHIFT |
| #define | CTIMER_MCR_MR3R(x) |
| #define | CTIMER_MCR_MR3S_MASK |
| #define | CTIMER_MCR_MR3S_SHIFT |
| #define | CTIMER_MCR_MR3S(x) |
| #define | CTIMER_MCR_MR0RL_MASK |
| #define | CTIMER_MCR_MR0RL_SHIFT |
| #define | CTIMER_MCR_MR0RL(x) |
| #define | CTIMER_MCR_MR1RL_MASK |
| #define | CTIMER_MCR_MR1RL_SHIFT |
| #define | CTIMER_MCR_MR1RL(x) |
| #define | CTIMER_MCR_MR2RL_MASK |
| #define | CTIMER_MCR_MR2RL_SHIFT |
| #define | CTIMER_MCR_MR2RL(x) |
| #define | CTIMER_MCR_MR3RL_MASK |
| #define | CTIMER_MCR_MR3RL_SHIFT |
| #define | CTIMER_MCR_MR3RL(x) |
| #define | CTIMER_MCR_MR0I_MASK |
| #define | CTIMER_MCR_MR0I_SHIFT |
| #define | CTIMER_MCR_MR0I(x) |
| #define | CTIMER_MCR_MR0R_MASK |
| #define | CTIMER_MCR_MR0R_SHIFT |
| #define | CTIMER_MCR_MR0R(x) |
| #define | CTIMER_MCR_MR0S_MASK |
| #define | CTIMER_MCR_MR0S_SHIFT |
| #define | CTIMER_MCR_MR0S(x) |
| #define | CTIMER_MCR_MR1I_MASK |
| #define | CTIMER_MCR_MR1I_SHIFT |
| #define | CTIMER_MCR_MR1I(x) |
| #define | CTIMER_MCR_MR1R_MASK |
| #define | CTIMER_MCR_MR1R_SHIFT |
| #define | CTIMER_MCR_MR1R(x) |
| #define | CTIMER_MCR_MR1S_MASK |
| #define | CTIMER_MCR_MR1S_SHIFT |
| #define | CTIMER_MCR_MR1S(x) |
| #define | CTIMER_MCR_MR2I_MASK |
| #define | CTIMER_MCR_MR2I_SHIFT |
| #define | CTIMER_MCR_MR2I(x) |
| #define | CTIMER_MCR_MR2R_MASK |
| #define | CTIMER_MCR_MR2R_SHIFT |
| #define | CTIMER_MCR_MR2R(x) |
| #define | CTIMER_MCR_MR2S_MASK |
| #define | CTIMER_MCR_MR2S_SHIFT |
| #define | CTIMER_MCR_MR2S(x) |
| #define | CTIMER_MCR_MR3I_MASK |
| #define | CTIMER_MCR_MR3I_SHIFT |
| #define | CTIMER_MCR_MR3I(x) |
| #define | CTIMER_MCR_MR3R_MASK |
| #define | CTIMER_MCR_MR3R_SHIFT |
| #define | CTIMER_MCR_MR3R(x) |
| #define | CTIMER_MCR_MR3S_MASK |
| #define | CTIMER_MCR_MR3S_SHIFT |
| #define | CTIMER_MCR_MR3S(x) |
| #define | CTIMER_MCR_MR0RL_MASK |
| #define | CTIMER_MCR_MR0RL_SHIFT |
| #define | CTIMER_MCR_MR0RL(x) |
| #define | CTIMER_MCR_MR1RL_MASK |
| #define | CTIMER_MCR_MR1RL_SHIFT |
| #define | CTIMER_MCR_MR1RL(x) |
| #define | CTIMER_MCR_MR2RL_MASK |
| #define | CTIMER_MCR_MR2RL_SHIFT |
| #define | CTIMER_MCR_MR2RL(x) |
| #define | CTIMER_MCR_MR3RL_MASK |
| #define | CTIMER_MCR_MR3RL_SHIFT |
| #define | CTIMER_MCR_MR3RL(x) |
| #define | CTIMER_MCR_MR0I_MASK |
| #define | CTIMER_MCR_MR0I_SHIFT |
| #define | CTIMER_MCR_MR0I(x) |
| #define | CTIMER_MCR_MR0R_MASK |
| #define | CTIMER_MCR_MR0R_SHIFT |
| #define | CTIMER_MCR_MR0R(x) |
| #define | CTIMER_MCR_MR0S_MASK |
| #define | CTIMER_MCR_MR0S_SHIFT |
| #define | CTIMER_MCR_MR0S(x) |
| #define | CTIMER_MCR_MR1I_MASK |
| #define | CTIMER_MCR_MR1I_SHIFT |
| #define | CTIMER_MCR_MR1I(x) |
| #define | CTIMER_MCR_MR1R_MASK |
| #define | CTIMER_MCR_MR1R_SHIFT |
| #define | CTIMER_MCR_MR1R(x) |
| #define | CTIMER_MCR_MR1S_MASK |
| #define | CTIMER_MCR_MR1S_SHIFT |
| #define | CTIMER_MCR_MR1S(x) |
| #define | CTIMER_MCR_MR2I_MASK |
| #define | CTIMER_MCR_MR2I_SHIFT |
| #define | CTIMER_MCR_MR2I(x) |
| #define | CTIMER_MCR_MR2R_MASK |
| #define | CTIMER_MCR_MR2R_SHIFT |
| #define | CTIMER_MCR_MR2R(x) |
| #define | CTIMER_MCR_MR2S_MASK |
| #define | CTIMER_MCR_MR2S_SHIFT |
| #define | CTIMER_MCR_MR2S(x) |
| #define | CTIMER_MCR_MR3I_MASK |
| #define | CTIMER_MCR_MR3I_SHIFT |
| #define | CTIMER_MCR_MR3I(x) |
| #define | CTIMER_MCR_MR3R_MASK |
| #define | CTIMER_MCR_MR3R_SHIFT |
| #define | CTIMER_MCR_MR3R(x) |
| #define | CTIMER_MCR_MR3S_MASK |
| #define | CTIMER_MCR_MR3S_SHIFT |
| #define | CTIMER_MCR_MR3S(x) |
| #define | CTIMER_MCR_MR0RL_MASK |
| #define | CTIMER_MCR_MR0RL_SHIFT |
| #define | CTIMER_MCR_MR0RL(x) |
| #define | CTIMER_MCR_MR1RL_MASK |
| #define | CTIMER_MCR_MR1RL_SHIFT |
| #define | CTIMER_MCR_MR1RL(x) |
| #define | CTIMER_MCR_MR2RL_MASK |
| #define | CTIMER_MCR_MR2RL_SHIFT |
| #define | CTIMER_MCR_MR2RL(x) |
| #define | CTIMER_MCR_MR3RL_MASK |
| #define | CTIMER_MCR_MR3RL_SHIFT |
| #define | CTIMER_MCR_MR3RL(x) |
MR - Match Register | |
| #define | CTIMER_MR_MATCH_MASK |
| #define | CTIMER_MR_MATCH_SHIFT |
| #define | CTIMER_MR_MATCH(x) |
| #define | CTIMER_MR_MATCH_MASK |
| #define | CTIMER_MR_MATCH_SHIFT |
| #define | CTIMER_MR_MATCH(x) |
| #define | CTIMER_MR_MATCH_MASK |
| #define | CTIMER_MR_MATCH_SHIFT |
| #define | CTIMER_MR_MATCH(x) |
| #define | CTIMER_MR_MATCH_MASK |
| #define | CTIMER_MR_MATCH_SHIFT |
| #define | CTIMER_MR_MATCH(x) |
CCR - Capture Control Register | |
| #define | CTIMER_CCR_CAP0RE_MASK |
| #define | CTIMER_CCR_CAP0RE_SHIFT |
| #define | CTIMER_CCR_CAP0RE(x) |
| #define | CTIMER_CCR_CAP0FE_MASK |
| #define | CTIMER_CCR_CAP0FE_SHIFT |
| #define | CTIMER_CCR_CAP0FE(x) |
| #define | CTIMER_CCR_CAP0I_MASK |
| #define | CTIMER_CCR_CAP0I_SHIFT |
| #define | CTIMER_CCR_CAP0I(x) |
| #define | CTIMER_CCR_CAP1RE_MASK |
| #define | CTIMER_CCR_CAP1RE_SHIFT |
| #define | CTIMER_CCR_CAP1RE(x) |
| #define | CTIMER_CCR_CAP1FE_MASK |
| #define | CTIMER_CCR_CAP1FE_SHIFT |
| #define | CTIMER_CCR_CAP1FE(x) |
| #define | CTIMER_CCR_CAP1I_MASK |
| #define | CTIMER_CCR_CAP1I_SHIFT |
| #define | CTIMER_CCR_CAP1I(x) |
| #define | CTIMER_CCR_CAP2RE_MASK |
| #define | CTIMER_CCR_CAP2RE_SHIFT |
| #define | CTIMER_CCR_CAP2RE(x) |
| #define | CTIMER_CCR_CAP2FE_MASK |
| #define | CTIMER_CCR_CAP2FE_SHIFT |
| #define | CTIMER_CCR_CAP2FE(x) |
| #define | CTIMER_CCR_CAP2I_MASK |
| #define | CTIMER_CCR_CAP2I_SHIFT |
| #define | CTIMER_CCR_CAP2I(x) |
| #define | CTIMER_CCR_CAP3RE_MASK |
| #define | CTIMER_CCR_CAP3RE_SHIFT |
| #define | CTIMER_CCR_CAP3RE(x) |
| #define | CTIMER_CCR_CAP3FE_MASK |
| #define | CTIMER_CCR_CAP3FE_SHIFT |
| #define | CTIMER_CCR_CAP3FE(x) |
| #define | CTIMER_CCR_CAP3I_MASK |
| #define | CTIMER_CCR_CAP3I_SHIFT |
| #define | CTIMER_CCR_CAP3I(x) |
| #define | CTIMER_CCR_CAP0RE_MASK |
| #define | CTIMER_CCR_CAP0RE_SHIFT |
| #define | CTIMER_CCR_CAP0RE(x) |
| #define | CTIMER_CCR_CAP0FE_MASK |
| #define | CTIMER_CCR_CAP0FE_SHIFT |
| #define | CTIMER_CCR_CAP0FE(x) |
| #define | CTIMER_CCR_CAP0I_MASK |
| #define | CTIMER_CCR_CAP0I_SHIFT |
| #define | CTIMER_CCR_CAP0I(x) |
| #define | CTIMER_CCR_CAP1RE_MASK |
| #define | CTIMER_CCR_CAP1RE_SHIFT |
| #define | CTIMER_CCR_CAP1RE(x) |
| #define | CTIMER_CCR_CAP1FE_MASK |
| #define | CTIMER_CCR_CAP1FE_SHIFT |
| #define | CTIMER_CCR_CAP1FE(x) |
| #define | CTIMER_CCR_CAP1I_MASK |
| #define | CTIMER_CCR_CAP1I_SHIFT |
| #define | CTIMER_CCR_CAP1I(x) |
| #define | CTIMER_CCR_CAP2RE_MASK |
| #define | CTIMER_CCR_CAP2RE_SHIFT |
| #define | CTIMER_CCR_CAP2RE(x) |
| #define | CTIMER_CCR_CAP2FE_MASK |
| #define | CTIMER_CCR_CAP2FE_SHIFT |
| #define | CTIMER_CCR_CAP2FE(x) |
| #define | CTIMER_CCR_CAP2I_MASK |
| #define | CTIMER_CCR_CAP2I_SHIFT |
| #define | CTIMER_CCR_CAP2I(x) |
| #define | CTIMER_CCR_CAP3RE_MASK |
| #define | CTIMER_CCR_CAP3RE_SHIFT |
| #define | CTIMER_CCR_CAP3RE(x) |
| #define | CTIMER_CCR_CAP3FE_MASK |
| #define | CTIMER_CCR_CAP3FE_SHIFT |
| #define | CTIMER_CCR_CAP3FE(x) |
| #define | CTIMER_CCR_CAP3I_MASK |
| #define | CTIMER_CCR_CAP3I_SHIFT |
| #define | CTIMER_CCR_CAP3I(x) |
| #define | CTIMER_CCR_CAP0RE_MASK |
| #define | CTIMER_CCR_CAP0RE_SHIFT |
| #define | CTIMER_CCR_CAP0RE(x) |
| #define | CTIMER_CCR_CAP0FE_MASK |
| #define | CTIMER_CCR_CAP0FE_SHIFT |
| #define | CTIMER_CCR_CAP0FE(x) |
| #define | CTIMER_CCR_CAP0I_MASK |
| #define | CTIMER_CCR_CAP0I_SHIFT |
| #define | CTIMER_CCR_CAP0I(x) |
| #define | CTIMER_CCR_CAP1RE_MASK |
| #define | CTIMER_CCR_CAP1RE_SHIFT |
| #define | CTIMER_CCR_CAP1RE(x) |
| #define | CTIMER_CCR_CAP1FE_MASK |
| #define | CTIMER_CCR_CAP1FE_SHIFT |
| #define | CTIMER_CCR_CAP1FE(x) |
| #define | CTIMER_CCR_CAP1I_MASK |
| #define | CTIMER_CCR_CAP1I_SHIFT |
| #define | CTIMER_CCR_CAP1I(x) |
| #define | CTIMER_CCR_CAP2RE_MASK |
| #define | CTIMER_CCR_CAP2RE_SHIFT |
| #define | CTIMER_CCR_CAP2RE(x) |
| #define | CTIMER_CCR_CAP2FE_MASK |
| #define | CTIMER_CCR_CAP2FE_SHIFT |
| #define | CTIMER_CCR_CAP2FE(x) |
| #define | CTIMER_CCR_CAP2I_MASK |
| #define | CTIMER_CCR_CAP2I_SHIFT |
| #define | CTIMER_CCR_CAP2I(x) |
| #define | CTIMER_CCR_CAP3RE_MASK |
| #define | CTIMER_CCR_CAP3RE_SHIFT |
| #define | CTIMER_CCR_CAP3RE(x) |
| #define | CTIMER_CCR_CAP3FE_MASK |
| #define | CTIMER_CCR_CAP3FE_SHIFT |
| #define | CTIMER_CCR_CAP3FE(x) |
| #define | CTIMER_CCR_CAP3I_MASK |
| #define | CTIMER_CCR_CAP3I_SHIFT |
| #define | CTIMER_CCR_CAP3I(x) |
| #define | CTIMER_CCR_CAP0RE_MASK |
| #define | CTIMER_CCR_CAP0RE_SHIFT |
| #define | CTIMER_CCR_CAP0RE(x) |
| #define | CTIMER_CCR_CAP0FE_MASK |
| #define | CTIMER_CCR_CAP0FE_SHIFT |
| #define | CTIMER_CCR_CAP0FE(x) |
| #define | CTIMER_CCR_CAP0I_MASK |
| #define | CTIMER_CCR_CAP0I_SHIFT |
| #define | CTIMER_CCR_CAP0I(x) |
| #define | CTIMER_CCR_CAP1RE_MASK |
| #define | CTIMER_CCR_CAP1RE_SHIFT |
| #define | CTIMER_CCR_CAP1RE(x) |
| #define | CTIMER_CCR_CAP1FE_MASK |
| #define | CTIMER_CCR_CAP1FE_SHIFT |
| #define | CTIMER_CCR_CAP1FE(x) |
| #define | CTIMER_CCR_CAP1I_MASK |
| #define | CTIMER_CCR_CAP1I_SHIFT |
| #define | CTIMER_CCR_CAP1I(x) |
| #define | CTIMER_CCR_CAP2RE_MASK |
| #define | CTIMER_CCR_CAP2RE_SHIFT |
| #define | CTIMER_CCR_CAP2RE(x) |
| #define | CTIMER_CCR_CAP2FE_MASK |
| #define | CTIMER_CCR_CAP2FE_SHIFT |
| #define | CTIMER_CCR_CAP2FE(x) |
| #define | CTIMER_CCR_CAP2I_MASK |
| #define | CTIMER_CCR_CAP2I_SHIFT |
| #define | CTIMER_CCR_CAP2I(x) |
| #define | CTIMER_CCR_CAP3RE_MASK |
| #define | CTIMER_CCR_CAP3RE_SHIFT |
| #define | CTIMER_CCR_CAP3RE(x) |
| #define | CTIMER_CCR_CAP3FE_MASK |
| #define | CTIMER_CCR_CAP3FE_SHIFT |
| #define | CTIMER_CCR_CAP3FE(x) |
| #define | CTIMER_CCR_CAP3I_MASK |
| #define | CTIMER_CCR_CAP3I_SHIFT |
| #define | CTIMER_CCR_CAP3I(x) |
CR - Capture Register | |
| #define | CTIMER_CR_CAP_MASK |
| #define | CTIMER_CR_CAP_SHIFT |
| #define | CTIMER_CR_CAP(x) |
| #define | CTIMER_CR_CAP_MASK |
| #define | CTIMER_CR_CAP_SHIFT |
| #define | CTIMER_CR_CAP(x) |
| #define | CTIMER_CR_CAP_MASK |
| #define | CTIMER_CR_CAP_SHIFT |
| #define | CTIMER_CR_CAP(x) |
| #define | CTIMER_CR_CAP_MASK |
| #define | CTIMER_CR_CAP_SHIFT |
| #define | CTIMER_CR_CAP(x) |
EMR - External Match Register | |
| #define | CTIMER_EMR_EM0_MASK |
| #define | CTIMER_EMR_EM0_SHIFT |
| #define | CTIMER_EMR_EM0(x) |
| #define | CTIMER_EMR_EM1_MASK |
| #define | CTIMER_EMR_EM1_SHIFT |
| #define | CTIMER_EMR_EM1(x) |
| #define | CTIMER_EMR_EM2_MASK |
| #define | CTIMER_EMR_EM2_SHIFT |
| #define | CTIMER_EMR_EM2(x) |
| #define | CTIMER_EMR_EM3_MASK |
| #define | CTIMER_EMR_EM3_SHIFT |
| #define | CTIMER_EMR_EM3(x) |
| #define | CTIMER_EMR_EMC0_MASK |
| #define | CTIMER_EMR_EMC0_SHIFT |
| #define | CTIMER_EMR_EMC0(x) |
| #define | CTIMER_EMR_EMC1_MASK |
| #define | CTIMER_EMR_EMC1_SHIFT |
| #define | CTIMER_EMR_EMC1(x) |
| #define | CTIMER_EMR_EMC2_MASK |
| #define | CTIMER_EMR_EMC2_SHIFT |
| #define | CTIMER_EMR_EMC2(x) |
| #define | CTIMER_EMR_EMC3_MASK |
| #define | CTIMER_EMR_EMC3_SHIFT |
| #define | CTIMER_EMR_EMC3(x) |
| #define | CTIMER_EMR_EM0_MASK |
| #define | CTIMER_EMR_EM0_SHIFT |
| #define | CTIMER_EMR_EM0(x) |
| #define | CTIMER_EMR_EM1_MASK |
| #define | CTIMER_EMR_EM1_SHIFT |
| #define | CTIMER_EMR_EM1(x) |
| #define | CTIMER_EMR_EM2_MASK |
| #define | CTIMER_EMR_EM2_SHIFT |
| #define | CTIMER_EMR_EM2(x) |
| #define | CTIMER_EMR_EM3_MASK |
| #define | CTIMER_EMR_EM3_SHIFT |
| #define | CTIMER_EMR_EM3(x) |
| #define | CTIMER_EMR_EMC0_MASK |
| #define | CTIMER_EMR_EMC0_SHIFT |
| #define | CTIMER_EMR_EMC0(x) |
| #define | CTIMER_EMR_EMC1_MASK |
| #define | CTIMER_EMR_EMC1_SHIFT |
| #define | CTIMER_EMR_EMC1(x) |
| #define | CTIMER_EMR_EMC2_MASK |
| #define | CTIMER_EMR_EMC2_SHIFT |
| #define | CTIMER_EMR_EMC2(x) |
| #define | CTIMER_EMR_EMC3_MASK |
| #define | CTIMER_EMR_EMC3_SHIFT |
| #define | CTIMER_EMR_EMC3(x) |
| #define | CTIMER_EMR_EM0_MASK |
| #define | CTIMER_EMR_EM0_SHIFT |
| #define | CTIMER_EMR_EM0(x) |
| #define | CTIMER_EMR_EM1_MASK |
| #define | CTIMER_EMR_EM1_SHIFT |
| #define | CTIMER_EMR_EM1(x) |
| #define | CTIMER_EMR_EM2_MASK |
| #define | CTIMER_EMR_EM2_SHIFT |
| #define | CTIMER_EMR_EM2(x) |
| #define | CTIMER_EMR_EM3_MASK |
| #define | CTIMER_EMR_EM3_SHIFT |
| #define | CTIMER_EMR_EM3(x) |
| #define | CTIMER_EMR_EMC0_MASK |
| #define | CTIMER_EMR_EMC0_SHIFT |
| #define | CTIMER_EMR_EMC0(x) |
| #define | CTIMER_EMR_EMC1_MASK |
| #define | CTIMER_EMR_EMC1_SHIFT |
| #define | CTIMER_EMR_EMC1(x) |
| #define | CTIMER_EMR_EMC2_MASK |
| #define | CTIMER_EMR_EMC2_SHIFT |
| #define | CTIMER_EMR_EMC2(x) |
| #define | CTIMER_EMR_EMC3_MASK |
| #define | CTIMER_EMR_EMC3_SHIFT |
| #define | CTIMER_EMR_EMC3(x) |
| #define | CTIMER_EMR_EM0_MASK |
| #define | CTIMER_EMR_EM0_SHIFT |
| #define | CTIMER_EMR_EM0(x) |
| #define | CTIMER_EMR_EM1_MASK |
| #define | CTIMER_EMR_EM1_SHIFT |
| #define | CTIMER_EMR_EM1(x) |
| #define | CTIMER_EMR_EM2_MASK |
| #define | CTIMER_EMR_EM2_SHIFT |
| #define | CTIMER_EMR_EM2(x) |
| #define | CTIMER_EMR_EM3_MASK |
| #define | CTIMER_EMR_EM3_SHIFT |
| #define | CTIMER_EMR_EM3(x) |
| #define | CTIMER_EMR_EMC0_MASK |
| #define | CTIMER_EMR_EMC0_SHIFT |
| #define | CTIMER_EMR_EMC0(x) |
| #define | CTIMER_EMR_EMC1_MASK |
| #define | CTIMER_EMR_EMC1_SHIFT |
| #define | CTIMER_EMR_EMC1(x) |
| #define | CTIMER_EMR_EMC2_MASK |
| #define | CTIMER_EMR_EMC2_SHIFT |
| #define | CTIMER_EMR_EMC2(x) |
| #define | CTIMER_EMR_EMC3_MASK |
| #define | CTIMER_EMR_EMC3_SHIFT |
| #define | CTIMER_EMR_EMC3(x) |
CTCR - Count Control Register | |
| #define | CTIMER_CTCR_CTMODE_MASK |
| #define | CTIMER_CTCR_CTMODE_SHIFT |
| #define | CTIMER_CTCR_CTMODE(x) |
| #define | CTIMER_CTCR_CINSEL_MASK |
| #define | CTIMER_CTCR_CINSEL_SHIFT |
| #define | CTIMER_CTCR_CINSEL(x) |
| #define | CTIMER_CTCR_ENCC_MASK |
| #define | CTIMER_CTCR_ENCC_SHIFT |
| #define | CTIMER_CTCR_ENCC(x) |
| #define | CTIMER_CTCR_SELCC_MASK |
| #define | CTIMER_CTCR_SELCC_SHIFT |
| #define | CTIMER_CTCR_SELCC(x) |
| #define | CTIMER_CTCR_CTMODE_MASK |
| #define | CTIMER_CTCR_CTMODE_SHIFT |
| #define | CTIMER_CTCR_CTMODE(x) |
| #define | CTIMER_CTCR_CINSEL_MASK |
| #define | CTIMER_CTCR_CINSEL_SHIFT |
| #define | CTIMER_CTCR_CINSEL(x) |
| #define | CTIMER_CTCR_ENCC_MASK |
| #define | CTIMER_CTCR_ENCC_SHIFT |
| #define | CTIMER_CTCR_ENCC(x) |
| #define | CTIMER_CTCR_SELCC_MASK |
| #define | CTIMER_CTCR_SELCC_SHIFT |
| #define | CTIMER_CTCR_SELCC(x) |
| #define | CTIMER_CTCR_CTMODE_MASK |
| #define | CTIMER_CTCR_CTMODE_SHIFT |
| #define | CTIMER_CTCR_CTMODE(x) |
| #define | CTIMER_CTCR_CINSEL_MASK |
| #define | CTIMER_CTCR_CINSEL_SHIFT |
| #define | CTIMER_CTCR_CINSEL(x) |
| #define | CTIMER_CTCR_ENCC_MASK |
| #define | CTIMER_CTCR_ENCC_SHIFT |
| #define | CTIMER_CTCR_ENCC(x) |
| #define | CTIMER_CTCR_SELCC_MASK |
| #define | CTIMER_CTCR_SELCC_SHIFT |
| #define | CTIMER_CTCR_SELCC(x) |
| #define | CTIMER_CTCR_CTMODE_MASK |
| #define | CTIMER_CTCR_CTMODE_SHIFT |
| #define | CTIMER_CTCR_CTMODE(x) |
| #define | CTIMER_CTCR_CINSEL_MASK |
| #define | CTIMER_CTCR_CINSEL_SHIFT |
| #define | CTIMER_CTCR_CINSEL(x) |
| #define | CTIMER_CTCR_ENCC_MASK |
| #define | CTIMER_CTCR_ENCC_SHIFT |
| #define | CTIMER_CTCR_ENCC(x) |
| #define | CTIMER_CTCR_SELCC_MASK |
| #define | CTIMER_CTCR_SELCC_SHIFT |
| #define | CTIMER_CTCR_SELCC(x) |
PWMC - PWM Control Register | |
| #define | CTIMER_PWMC_PWMEN0_MASK |
| #define | CTIMER_PWMC_PWMEN0_SHIFT |
| #define | CTIMER_PWMC_PWMEN0(x) |
| #define | CTIMER_PWMC_PWMEN1_MASK |
| #define | CTIMER_PWMC_PWMEN1_SHIFT |
| #define | CTIMER_PWMC_PWMEN1(x) |
| #define | CTIMER_PWMC_PWMEN2_MASK |
| #define | CTIMER_PWMC_PWMEN2_SHIFT |
| #define | CTIMER_PWMC_PWMEN2(x) |
| #define | CTIMER_PWMC_PWMEN3_MASK |
| #define | CTIMER_PWMC_PWMEN3_SHIFT |
| #define | CTIMER_PWMC_PWMEN3(x) |
| #define | CTIMER_PWMC_PWMEN0_MASK |
| #define | CTIMER_PWMC_PWMEN0_SHIFT |
| #define | CTIMER_PWMC_PWMEN0(x) |
| #define | CTIMER_PWMC_PWMEN1_MASK |
| #define | CTIMER_PWMC_PWMEN1_SHIFT |
| #define | CTIMER_PWMC_PWMEN1(x) |
| #define | CTIMER_PWMC_PWMEN2_MASK |
| #define | CTIMER_PWMC_PWMEN2_SHIFT |
| #define | CTIMER_PWMC_PWMEN2(x) |
| #define | CTIMER_PWMC_PWMEN3_MASK |
| #define | CTIMER_PWMC_PWMEN3_SHIFT |
| #define | CTIMER_PWMC_PWMEN3(x) |
| #define | CTIMER_PWMC_PWMEN0_MASK |
| #define | CTIMER_PWMC_PWMEN0_SHIFT |
| #define | CTIMER_PWMC_PWMEN0(x) |
| #define | CTIMER_PWMC_PWMEN1_MASK |
| #define | CTIMER_PWMC_PWMEN1_SHIFT |
| #define | CTIMER_PWMC_PWMEN1(x) |
| #define | CTIMER_PWMC_PWMEN2_MASK |
| #define | CTIMER_PWMC_PWMEN2_SHIFT |
| #define | CTIMER_PWMC_PWMEN2(x) |
| #define | CTIMER_PWMC_PWMEN3_MASK |
| #define | CTIMER_PWMC_PWMEN3_SHIFT |
| #define | CTIMER_PWMC_PWMEN3(x) |
| #define | CTIMER_PWMC_PWMEN0_MASK |
| #define | CTIMER_PWMC_PWMEN0_SHIFT |
| #define | CTIMER_PWMC_PWMEN0(x) |
| #define | CTIMER_PWMC_PWMEN1_MASK |
| #define | CTIMER_PWMC_PWMEN1_SHIFT |
| #define | CTIMER_PWMC_PWMEN1(x) |
| #define | CTIMER_PWMC_PWMEN2_MASK |
| #define | CTIMER_PWMC_PWMEN2_SHIFT |
| #define | CTIMER_PWMC_PWMEN2(x) |
| #define | CTIMER_PWMC_PWMEN3_MASK |
| #define | CTIMER_PWMC_PWMEN3_SHIFT |
| #define | CTIMER_PWMC_PWMEN3(x) |
MSR - Match Shadow Register | |
| #define | CTIMER_MSR_MATCH_SHADOW_MASK |
| #define | CTIMER_MSR_MATCH_SHADOW_SHIFT |
| #define | CTIMER_MSR_MATCH_SHADOW(x) |
| #define | CTIMER_MSR_MATCH_SHADOW_MASK |
| #define | CTIMER_MSR_MATCH_SHADOW_SHIFT |
| #define | CTIMER_MSR_MATCH_SHADOW(x) |
| #define | CTIMER_MSR_MATCH_SHADOW_MASK |
| #define | CTIMER_MSR_MATCH_SHADOW_SHIFT |
| #define | CTIMER_MSR_MATCH_SHADOW(x) |
| #define | CTIMER_MSR_MATCH_SHADOW_MASK |
| #define | CTIMER_MSR_MATCH_SHADOW_SHIFT |
| #define | CTIMER_MSR_MATCH_SHADOW(x) |
| #define CTIMER_IR_MR0INT | ( | x | ) |
MR0INT - Interrupt flag for match channel 0
MR0INT - Interrupt Flag for Match Channel 0 Event
| #define CTIMER_IR_MR1INT | ( | x | ) |
MR1INT - Interrupt flag for match channel 1
MR1INT - Interrupt Flag for Match Channel 1 Event
| #define CTIMER_IR_MR2INT | ( | x | ) |
MR2INT - Interrupt flag for match channel 2
MR2INT - Interrupt Flag for Match Channel 2 Event
| #define CTIMER_IR_MR3INT | ( | x | ) |
MR3INT - Interrupt flag for match channel 3
MR3INT - Interrupt Flag for Match Channel 3 Event
| #define CTIMER_IR_CR0INT | ( | x | ) |
CR0INT - Interrupt flag for capture channel 0 event
CR0INT - Interrupt Flag for Capture Channel 0 Event
| #define CTIMER_IR_CR1INT | ( | x | ) |
CR1INT - Interrupt flag for capture channel 1 event
CR1INT - Interrupt Flag for Capture Channel 1 Event
| #define CTIMER_IR_CR2INT | ( | x | ) |
CR2INT - Interrupt flag for capture channel 2 event
CR2INT - Interrupt Flag for Capture Channel 2 Event
| #define CTIMER_IR_CR3INT | ( | x | ) |
CR3INT - Interrupt flag for capture channel 3 event
CR3INT - Interrupt Flag for Capture Channel 3 Event
| #define CTIMER_TCR_CEN | ( | x | ) |
CEN - Counter enable 0b0..Disabled. The counters are disabled 0b1..Enabled. The Timer Counter and Prescale Counter are enabled. When the timer is enabled by an external trigger or globally enabled by the external global start enable register, the CEN bit will automatically be set to 1
CEN - Counter Enable 0b0..Disable 0b1..Enable
CEN - Counter enable. 0b0..Disabled. The counters are disabled. 0b1..Enabled. The Timer Counter and Prescale Counter are enabled. When the timer is enabled by an external trigger or globally enabled by the external global start enable register, the CEN bit will automatically be set to 1.
| #define CTIMER_TCR_CRST | ( | x | ) |
CRST - Counter reset 0b0..Disabled. Do nothing 0b1..Enabled
CRST - Counter Reset Enable 0b0..Disable 0b1..Enable
CRST - Counter reset. 0b0..Disabled. Do nothing. 0b1..Enabled
| #define CTIMER_TCR_AGCEN | ( | x | ) |
AGCEN - Allow Global Count Enable 0b0..Not allowed 0b1..Allow input global_enable=1 action to take effect
AGCEN - Allow Global Count Enable 0b0..Disable 0b1..Enable
| #define CTIMER_TCR_ATCEN | ( | x | ) |
ATCEN - Allow Trigger Count Enable 0b0..Not allowed 0b1..Allow input trigger_enable=1 action to take effect
ATCEN - Allow Trigger Count Enable 0b0..Disable 0b1..Enable
| #define CTIMER_TC_TCVAL | ( | x | ) |
TCVAL - Timer counter value
TCVAL - Timer Counter Value
TCVAL - Timer counter value.
| #define CTIMER_PR_PRVAL | ( | x | ) |
PRVAL - Prescale reload value
PRVAL - Prescale Reload Value
PRVAL - Prescale reload value.
| #define CTIMER_PC_PCVAL | ( | x | ) |
PCVAL - Prescale counter value
PCVAL - Prescale Counter Value
| #define CTIMER_MCR_MR0I | ( | x | ) |
MR0I - Interrupt on MR0 0b0..Disabled 0b1..Enabled
MR0I - Interrupt on MR0 0b0..Does not generate 0b1..Generates
| #define CTIMER_MCR_MR0R | ( | x | ) |
MR0R - Reset on MR0 0b0..Disabled 0b1..Enabled
MR0R - Reset on MR0 0b0..Does not reset 0b1..Resets
| #define CTIMER_MCR_MR0S | ( | x | ) |
MR0S - Stop on MR0 0b0..Disabled 0b1..Enabled
MR0S - Stop on MR0 0b0..Does not stop 0b1..Stops
| #define CTIMER_MCR_MR1I | ( | x | ) |
MR1I - Interrupt on MR1 0b0..Disabled 0b1..Enabled
MR1I - Interrupt on MR1 0b0..Does not generate 0b1..Generates
| #define CTIMER_MCR_MR1R | ( | x | ) |
MR1R - Reset on MR1 0b0..Disabled 0b1..Enabled
MR1R - Reset on MR1 0b0..Does not reset 0b1..Resets
| #define CTIMER_MCR_MR1S | ( | x | ) |
MR1S - Stop on MR1 0b0..Disabled 0b1..Enabled
MR1S - Stop on MR1 0b0..Does not stop 0b1..Stops
| #define CTIMER_MCR_MR2I | ( | x | ) |
MR2I - Interrupt on MR2 0b0..Disabled 0b1..Enabled
MR2I - Interrupt on MR2 0b0..Does not generate 0b1..Generates
| #define CTIMER_MCR_MR2R | ( | x | ) |
MR2R - Reset on MR2 0b0..Disabled 0b1..Enabled
MR2R - Reset on MR2 0b0..Does not reset 0b1..Resets
| #define CTIMER_MCR_MR2S | ( | x | ) |
MR2S - Stop on MR2 0b0..Disabled 0b1..Enabled
MR2S - Stop on MR2 0b0..Does not stop 0b1..Stops
| #define CTIMER_MCR_MR3I | ( | x | ) |
MR3I - Interrupt on MR3 0b0..Disabled 0b1..Enabled
MR3I - Interrupt on MR3 0b0..Does not generate 0b1..Generates
| #define CTIMER_MCR_MR3R | ( | x | ) |
MR3R - Reset on MR3 0b0..Disabled 0b1..Enabled
MR3R - Reset on MR3 0b0..Does not reset 0b1..Resets
| #define CTIMER_MCR_MR3S | ( | x | ) |
MR3S - Stop on MR3 0b0..Disabled 0b1..Enabled
MR3S - Stop on MR3 0b0..Does not stop 0b1..Stops
| #define CTIMER_MCR_MR0RL | ( | x | ) |
MR0RL - Reload MR0 0b0..Disabled 0b1..Enabled
MR0RL - Reload MR 0b0..Does not reload 0b1..Reloads
| #define CTIMER_MCR_MR1RL | ( | x | ) |
MR1RL - Reload MR1 0b0..Disabled 0b1..Enabled
MR1RL - Reload MR 0b0..Does not reload 0b1..Reloads
| #define CTIMER_MCR_MR2RL | ( | x | ) |
MR2RL - Reload MR2 0b0..Disabled 0b1..Enabled
MR2RL - Reload MR 0b0..Does not reload 0b1..Reloads
| #define CTIMER_MCR_MR3RL | ( | x | ) |
MR3RL - Reload MR3 0b0..Disabled 0b1..Enabled
MR3RL - Reload MR 0b0..Does not reload 0b1..Reloads
| #define CTIMER_MR_MATCH | ( | x | ) |
MATCH - Timer counter match value
MATCH - Timer Counter Match Value
| #define CTIMER_CCR_CAP0RE | ( | x | ) |
CAP0RE - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP0RE - Rising Edge of Capture Channel 0 0b0..Does not load 0b1..Loads
CAP0RE - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0FE | ( | x | ) |
CAP0FE - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP0FE - Falling Edge of Capture Channel 0 0b0..Does not load 0b1..Loads
CAP0FE - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0I | ( | x | ) |
CAP0I - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt 0b0..Disabled 0b1..Enabled
CAP0I - Generate Interrupt on Channel 0 Capture Event 0b0..Does not generate 0b1..Generates
CAP0I - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1RE | ( | x | ) |
CAP1RE - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP1RE - Rising Edge of Capture Channel 1 0b0..Does not load 0b1..Loads
CAP1RE - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1FE | ( | x | ) |
CAP1FE - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP1FE - Falling Edge of Capture Channel 1 0b0..Does not load 0b1..Loads
CAP1FE - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1I | ( | x | ) |
CAP1I - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt 0b0..Disabled 0b1..Enabled
CAP1I - Generate Interrupt on Channel 1 Capture Event 0b0..Does not generates 0b1..Generates
CAP1I - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2RE | ( | x | ) |
CAP2RE - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP2RE - Rising Edge of Capture Channel 2 0b0..Does not load 0b1..Loads
CAP2RE - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2FE | ( | x | ) |
CAP2FE - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP2FE - Falling Edge of Capture Channel 2 0b0..Does not load 0b1..Loads
CAP2FE - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2I | ( | x | ) |
CAP2I - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt 0b0..Disabled 0b1..Enabled
CAP2I - Generate Interrupt on Channel 2 Capture Event 0b0..Does not generate 0b1..Generates
CAP2I - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3RE | ( | x | ) |
CAP3RE - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP3RE - Rising Edge of Capture Channel 3 0b0..Does not load 0b1..Loads
CAP3RE - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3FE | ( | x | ) |
CAP3FE - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC 0b0..Disabled 0b1..Enabled
CAP3FE - Falling Edge of Capture Channel 3 0b0..Does not load 0b1..Loads
CAP3FE - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3I | ( | x | ) |
CAP3I - Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt 0b0..Disabled 0b1..Enabled
CAP3I - Generate Interrupt on Channel 3 Capture Event 0b0..Does not generate 0b1..Generates
CAP3I - Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CR_CAP | ( | x | ) |
CAP - Timer counter capture value
CAP - Timer Counter Capture Value
CAP - Timer counter capture value.
| #define CTIMER_EMR_EM0 | ( | x | ) |
EM0 - External Match 0
EM0 - External Match 0 0b0..Low 0b1..High
| #define CTIMER_EMR_EM1 | ( | x | ) |
EM1 - External Match 1
EM1 - External Match 1 0b0..Low 0b1..High
| #define CTIMER_EMR_EM2 | ( | x | ) |
EM2 - External Match 2
EM2 - External Match 2 0b0..Low 0b1..High
| #define CTIMER_EMR_EM3 | ( | x | ) |
EM3 - External Match 3
EM3 - External Match 3 0b0..Low 0b1..High
| #define CTIMER_EMR_EMC0 | ( | x | ) |
EMC0 - External Match Control 0 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out) 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out) 0b11..Toggle. Toggle the corresponding External Match bit/output
EMC0 - External Match Control 0 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC0 - External Match Control 0 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC1 | ( | x | ) |
EMC1 - External Match Control 1 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out) 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out) 0b11..Toggle. Toggle the corresponding External Match bit/output
EMC1 - External Match Control 1 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC1 - External Match Control 1 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC2 | ( | x | ) |
EMC2 - External Match Control 2 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out) 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out) 0b11..Toggle. Toggle the corresponding External Match bit/output
EMC2 - External Match Control 2 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC2 - External Match Control 2 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC3 | ( | x | ) |
EMC3 - External Match Control 3 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out) 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out) 0b11..Toggle. Toggle the corresponding External Match bit/output
EMC3 - External Match Control 3 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC3 - External Match Control 3 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_CTCR_CTMODE | ( | x | ) |
CTMODE - The Count Control Register (CTCR) is used to select between Timer and Counter mode, and in Counter mode to select the pin and edge(s) for counting. 0b00..Timer Mode 0b01..Counter Mode rising edge 0b10..Counter Mode falling edge 0b11..Counter Mode dual edge
CTMODE - Counter Timer Mode 0b00..Timer mode 0b01..Counter mode rising edge 0b10..Counter mode falling edge 0b11..Counter mode dual edge
| #define CTIMER_CTCR_CINSEL | ( | x | ) |
CINSEL - Count Input Select 0b00..Channel 0. CAPn[0] for CTIMERn 0b01..Channel 1. CAPn[1] for CTIMERn 0b10..Channel 2. CAPn[2] for CTIMERn 0b11..Channel 3. CAPn[3] for CTIMERn
CINSEL - Count Input Select 0b00..Channel 0, CAPn[0] for CTIMERn 0b01..Channel 1, CAPn[1] for CTIMERn 0b10..Channel 2, CAPn[2] for CTIMERn 0b11..Channel 3, CAPn[3] for CTIMERn
CINSEL - Count Input Select 0b00..Channel 0. CAPn.0 for CTIMERn 0b01..Channel 1. CAPn.1 for CTIMERn 0b10..Channel 2. CAPn.2 for CTIMERn 0b11..Channel 3. CAPn.3 for CTIMERn
| #define CTIMER_CTCR_ENCC | ( | x | ) |
ENCC - Capture Channel Enable
| #define CTIMER_CTCR_SELCC | ( | x | ) |
SELCC - Edge select 0b000..Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set) 0b001..Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set) 0b010..Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set) 0b011..Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set) 0b100..Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set) 0b101..Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set)
SELCC - Edge Select 0b000..Capture channel 0 rising edge 0b001..Capture channel 0 falling edge 0b010..Capture channel 1 rising edge 0b011..Capture channel 1 falling edge 0b100..Capture channel 2 rising edge 0b101..Capture channel 2 falling edge
SELCC - Edge select 0b000..Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b001..Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b010..Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b011..Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b100..Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set). 0b101..Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
| #define CTIMER_PWMC_PWMEN0 | ( | x | ) |
PWMEN0 - PWM mode enable for channel 0 0b0..Match. CTIMERn_MAT0 is controlled by EM0 0b1..PWM. PWM mode is enabled for CTIMERn_MAT0
PWMEN0 - PWM Mode Enable for Channel 0 0b0..Disable 0b1..Enable
PWMEN0 - PWM mode enable for channel0. 0b0..Match. CTIMERn_MAT0 is controlled by EM0. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT0.
| #define CTIMER_PWMC_PWMEN1 | ( | x | ) |
PWMEN1 - PWM mode enable for channel 1 0b0..Match. CTIMERn_MAT01 is controlled by EM1 0b1..PWM. PWM mode is enabled for CTIMERn_MAT1
PWMEN1 - PWM Mode Enable for Channel 1 0b0..Disable 0b1..Enable
PWMEN1 - PWM mode enable for channel1. 0b0..Match. CTIMERn_MAT01 is controlled by EM1. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT1.
| #define CTIMER_PWMC_PWMEN2 | ( | x | ) |
PWMEN2 - PWM mode enable for channel 2 0b0..Match. CTIMERn_MAT2 is controlled by EM2 0b1..PWM. PWM mode is enabled for CTIMERn_MAT2
PWMEN2 - PWM Mode Enable for Channel 2 0b0..Disable 0b1..Enable
PWMEN2 - PWM mode enable for channel2. 0b0..Match. CTIMERn_MAT2 is controlled by EM2. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT2.
| #define CTIMER_PWMC_PWMEN3 | ( | x | ) |
PWMEN3 - PWM mode enable for channel 3. It is recommended to use match channel 3 to set the PWM cycle 0b0..Match. CTIMERn_MAT3 is controlled by EM3 0b1..PWM. PWM mode is enabled for CT132Bn_MAT3
PWMEN3 - PWM Mode Enable for Channel 3 0b0..Disable 0b1..Enable
PWMEN3 - PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle. 0b0..Match. CTIMERn_MAT3 is controlled by EM3. 0b1..PWM. PWM mode is enabled for CT132Bn_MAT3.
| #define CTIMER_MSR_MATCH_SHADOW | ( | x | ) |
MATCH_SHADOW - Timer counter match shadow value
MATCH_SHADOW - Timer Counter Match Shadow Value
MATCH_SHADOW - Timer counter match shadow value.
| #define CTIMER_IR_MR0INT | ( | x | ) |
MR0INT - Interrupt Flag for Match Channel 0 Event
MR0INT - Interrupt flag for match channel 0
| #define CTIMER_IR_MR1INT | ( | x | ) |
MR1INT - Interrupt Flag for Match Channel 1 Event
MR1INT - Interrupt flag for match channel 1
| #define CTIMER_IR_MR2INT | ( | x | ) |
MR2INT - Interrupt Flag for Match Channel 2 Event
MR2INT - Interrupt flag for match channel 2
| #define CTIMER_IR_MR3INT | ( | x | ) |
MR3INT - Interrupt Flag for Match Channel 3 Event
MR3INT - Interrupt flag for match channel 3
| #define CTIMER_IR_CR0INT | ( | x | ) |
CR0INT - Interrupt Flag for Capture Channel 0 Event
CR0INT - Interrupt flag for capture channel 0 event
| #define CTIMER_IR_CR1INT | ( | x | ) |
CR1INT - Interrupt Flag for Capture Channel 1 Event
CR1INT - Interrupt flag for capture channel 1 event
| #define CTIMER_IR_CR2INT | ( | x | ) |
CR2INT - Interrupt Flag for Capture Channel 2 Event
CR2INT - Interrupt flag for capture channel 2 event
| #define CTIMER_IR_CR3INT | ( | x | ) |
CR3INT - Interrupt Flag for Capture Channel 3 Event
CR3INT - Interrupt flag for capture channel 3 event
| #define CTIMER_TCR_CEN | ( | x | ) |
CEN - Counter Enable 0b0..Disable 0b1..Enable
CEN - Counter enable. 0b0..Disabled. The counters are disabled. 0b1..Enabled. The Timer Counter and Prescale Counter are enabled. When the timer is enabled by an external trigger or globally enabled by the external global start enable register, the CEN bit will automatically be set to 1.
| #define CTIMER_TCR_CRST | ( | x | ) |
CRST - Counter Reset Enable 0b0..Disable 0b1..Enable
CRST - Counter reset. 0b0..Disabled. Do nothing. 0b1..Enabled
| #define CTIMER_TCR_AGCEN | ( | x | ) |
AGCEN - Allow Global Count Enable 0b0..Disable 0b1..Enable
AGCEN - Allow Global Count Enable 0b0..Not allowed 0b1..Allow input global_enable=1 action to take effect
| #define CTIMER_TCR_ATCEN | ( | x | ) |
ATCEN - Allow Trigger Count Enable 0b0..Disable 0b1..Enable
ATCEN - Allow Trigger Count Enable 0b0..Not allowed 0b1..Allow input trigger_enable=1 action to take effect
| #define CTIMER_TC_TCVAL | ( | x | ) |
TCVAL - Timer Counter Value
TCVAL - Timer counter value.
| #define CTIMER_PR_PRVAL | ( | x | ) |
PRVAL - Prescale Reload Value
PRVAL - Prescale reload value.
| #define CTIMER_PC_PCVAL | ( | x | ) |
PCVAL - Prescale Counter Value
PCVAL - Prescale counter value
| #define CTIMER_MCR_MR0I | ( | x | ) |
MR0I - Interrupt on MR0 0b0..Does not generate 0b1..Generates
MR0I - Interrupt on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0R | ( | x | ) |
MR0R - Reset on MR0 0b0..Does not reset 0b1..Resets
MR0R - Reset on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0S | ( | x | ) |
MR0S - Stop on MR0 0b0..Does not stop 0b1..Stops
MR0S - Stop on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1I | ( | x | ) |
MR1I - Interrupt on MR1 0b0..Does not generate 0b1..Generates
MR1I - Interrupt on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1R | ( | x | ) |
MR1R - Reset on MR1 0b0..Does not reset 0b1..Resets
MR1R - Reset on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1S | ( | x | ) |
MR1S - Stop on MR1 0b0..Does not stop 0b1..Stops
MR1S - Stop on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2I | ( | x | ) |
MR2I - Interrupt on MR2 0b0..Does not generate 0b1..Generates
MR2I - Interrupt on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2R | ( | x | ) |
MR2R - Reset on MR2 0b0..Does not reset 0b1..Resets
MR2R - Reset on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2S | ( | x | ) |
MR2S - Stop on MR2 0b0..Does not stop 0b1..Stops
MR2S - Stop on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3I | ( | x | ) |
MR3I - Interrupt on MR3 0b0..Does not generate 0b1..Generates
MR3I - Interrupt on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3R | ( | x | ) |
MR3R - Reset on MR3 0b0..Does not reset 0b1..Resets
MR3R - Reset on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3S | ( | x | ) |
MR3S - Stop on MR3 0b0..Does not stop 0b1..Stops
MR3S - Stop on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0RL | ( | x | ) |
MR0RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR0RL - Reload MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1RL | ( | x | ) |
MR1RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR1RL - Reload MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2RL | ( | x | ) |
MR2RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR2RL - Reload MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3RL | ( | x | ) |
MR3RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR3RL - Reload MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MR_MATCH | ( | x | ) |
MATCH - Timer Counter Match Value
MATCH - Timer counter match value
| #define CTIMER_CCR_CAP0RE | ( | x | ) |
CAP0RE - Rising Edge of Capture Channel 0 0b0..Does not load 0b1..Loads
CAP0RE - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0FE | ( | x | ) |
CAP0FE - Falling Edge of Capture Channel 0 0b0..Does not load 0b1..Loads
CAP0FE - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0I | ( | x | ) |
CAP0I - Generate Interrupt on Channel 0 Capture Event 0b0..Does not generate 0b1..Generates
CAP0I - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1RE | ( | x | ) |
CAP1RE - Rising Edge of Capture Channel 1 0b0..Does not load 0b1..Loads
CAP1RE - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1FE | ( | x | ) |
CAP1FE - Falling Edge of Capture Channel 1 0b0..Does not load 0b1..Loads
CAP1FE - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1I | ( | x | ) |
CAP1I - Generate Interrupt on Channel 1 Capture Event 0b0..Does not generates 0b1..Generates
CAP1I - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2RE | ( | x | ) |
CAP2RE - Rising Edge of Capture Channel 2 0b0..Does not load 0b1..Loads
CAP2RE - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2FE | ( | x | ) |
CAP2FE - Falling Edge of Capture Channel 2 0b0..Does not load 0b1..Loads
CAP2FE - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2I | ( | x | ) |
CAP2I - Generate Interrupt on Channel 2 Capture Event 0b0..Does not generate 0b1..Generates
CAP2I - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3RE | ( | x | ) |
CAP3RE - Rising Edge of Capture Channel 3 0b0..Does not load 0b1..Loads
CAP3RE - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3FE | ( | x | ) |
CAP3FE - Falling Edge of Capture Channel 3 0b0..Does not load 0b1..Loads
CAP3FE - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3I | ( | x | ) |
CAP3I - Generate Interrupt on Channel 3 Capture Event 0b0..Does not generate 0b1..Generates
CAP3I - Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CR_CAP | ( | x | ) |
CAP - Timer Counter Capture Value
CAP - Timer counter capture value.
| #define CTIMER_EMR_EM0 | ( | x | ) |
EM0 - External Match 0 0b0..Low 0b1..High
EM0 - External Match 0
| #define CTIMER_EMR_EM1 | ( | x | ) |
EM1 - External Match 1 0b0..Low 0b1..High
EM1 - External Match 1
| #define CTIMER_EMR_EM2 | ( | x | ) |
EM2 - External Match 2 0b0..Low 0b1..High
EM2 - External Match 2
| #define CTIMER_EMR_EM3 | ( | x | ) |
EM3 - External Match 3 0b0..Low 0b1..High
EM3 - External Match 3
| #define CTIMER_EMR_EMC0 | ( | x | ) |
EMC0 - External Match Control 0 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC0 - External Match Control 0 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC1 | ( | x | ) |
EMC1 - External Match Control 1 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC1 - External Match Control 1 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC2 | ( | x | ) |
EMC2 - External Match Control 2 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC2 - External Match Control 2 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC3 | ( | x | ) |
EMC3 - External Match Control 3 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC3 - External Match Control 3 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_CTCR_CTMODE | ( | x | ) |
CTMODE - Counter Timer Mode 0b00..Timer mode 0b01..Counter mode rising edge 0b10..Counter mode falling edge 0b11..Counter mode dual edge
CTMODE - The Count Control Register (CTCR) is used to select between Timer and Counter mode, and in Counter mode to select the pin and edge(s) for counting. 0b00..Timer Mode 0b01..Counter Mode rising edge 0b10..Counter Mode falling edge 0b11..Counter Mode dual edge
| #define CTIMER_CTCR_CINSEL | ( | x | ) |
CINSEL - Count Input Select 0b00..Channel 0, CAPn[0] for CTIMERn 0b01..Channel 1, CAPn[1] for CTIMERn 0b10..Channel 2, CAPn[2] for CTIMERn 0b11..Channel 3, CAPn[3] for CTIMERn
CINSEL - Count Input Select 0b00..Channel 0. CAPn.0 for CTIMERn 0b01..Channel 1. CAPn.1 for CTIMERn 0b10..Channel 2. CAPn.2 for CTIMERn 0b11..Channel 3. CAPn.3 for CTIMERn
| #define CTIMER_CTCR_ENCC | ( | x | ) |
ENCC - Capture Channel Enable
| #define CTIMER_CTCR_SELCC | ( | x | ) |
SELCC - Edge Select 0b000..Capture channel 0 rising edge 0b001..Capture channel 0 falling edge 0b010..Capture channel 1 rising edge 0b011..Capture channel 1 falling edge 0b100..Capture channel 2 rising edge 0b101..Capture channel 2 falling edge
SELCC - Edge select 0b000..Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b001..Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b010..Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b011..Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b100..Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set). 0b101..Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
| #define CTIMER_PWMC_PWMEN0 | ( | x | ) |
PWMEN0 - PWM Mode Enable for Channel 0 0b0..Disable 0b1..Enable
PWMEN0 - PWM mode enable for channel0. 0b0..Match. CTIMERn_MAT0 is controlled by EM0. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT0.
| #define CTIMER_PWMC_PWMEN1 | ( | x | ) |
PWMEN1 - PWM Mode Enable for Channel 1 0b0..Disable 0b1..Enable
PWMEN1 - PWM mode enable for channel1. 0b0..Match. CTIMERn_MAT01 is controlled by EM1. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT1.
| #define CTIMER_PWMC_PWMEN2 | ( | x | ) |
PWMEN2 - PWM Mode Enable for Channel 2 0b0..Disable 0b1..Enable
PWMEN2 - PWM mode enable for channel2. 0b0..Match. CTIMERn_MAT2 is controlled by EM2. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT2.
| #define CTIMER_PWMC_PWMEN3 | ( | x | ) |
PWMEN3 - PWM Mode Enable for Channel 3 0b0..Disable 0b1..Enable
PWMEN3 - PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle. 0b0..Match. CTIMERn_MAT3 is controlled by EM3. 0b1..PWM. PWM mode is enabled for CT132Bn_MAT3.
| #define CTIMER_MSR_MATCH_SHADOW | ( | x | ) |
MATCH_SHADOW - Timer Counter Match Shadow Value
MATCH_SHADOW - Timer counter match shadow value.
| #define CTIMER_IR_MR0INT | ( | x | ) |
MR0INT - Interrupt Flag for Match Channel 0 Event
MR0INT - Interrupt flag for match channel 0
| #define CTIMER_IR_MR1INT | ( | x | ) |
MR1INT - Interrupt Flag for Match Channel 1 Event
MR1INT - Interrupt flag for match channel 1
| #define CTIMER_IR_MR2INT | ( | x | ) |
MR2INT - Interrupt Flag for Match Channel 2 Event
MR2INT - Interrupt flag for match channel 2
| #define CTIMER_IR_MR3INT | ( | x | ) |
MR3INT - Interrupt Flag for Match Channel 3 Event
MR3INT - Interrupt flag for match channel 3
| #define CTIMER_IR_CR0INT | ( | x | ) |
CR0INT - Interrupt Flag for Capture Channel 0 Event
CR0INT - Interrupt flag for capture channel 0 event
| #define CTIMER_IR_CR1INT | ( | x | ) |
CR1INT - Interrupt Flag for Capture Channel 1 Event
CR1INT - Interrupt flag for capture channel 1 event
| #define CTIMER_IR_CR2INT | ( | x | ) |
CR2INT - Interrupt Flag for Capture Channel 2 Event
CR2INT - Interrupt flag for capture channel 2 event
| #define CTIMER_IR_CR3INT | ( | x | ) |
CR3INT - Interrupt Flag for Capture Channel 3 Event
CR3INT - Interrupt flag for capture channel 3 event
| #define CTIMER_TCR_CEN | ( | x | ) |
CEN - Counter Enable 0b0..Disable 0b1..Enable
CEN - Counter enable. 0b0..Disabled. The counters are disabled. 0b1..Enabled. The Timer Counter and Prescale Counter are enabled. When the timer is enabled by an external trigger or globally enabled by the external global start enable register, the CEN bit will automatically be set to 1.
| #define CTIMER_TCR_CRST | ( | x | ) |
CRST - Counter Reset Enable 0b0..Disable 0b1..Enable
CRST - Counter reset. 0b0..Disabled. Do nothing. 0b1..Enabled
| #define CTIMER_TCR_AGCEN | ( | x | ) |
AGCEN - Allow Global Count Enable 0b0..Disable 0b1..Enable
AGCEN - Allow Global Count Enable 0b0..Not allowed 0b1..Allow input global_enable=1 action to take effect
| #define CTIMER_TCR_ATCEN | ( | x | ) |
ATCEN - Allow Trigger Count Enable 0b0..Disable 0b1..Enable
ATCEN - Allow Trigger Count Enable 0b0..Not allowed 0b1..Allow input trigger_enable=1 action to take effect
| #define CTIMER_TC_TCVAL | ( | x | ) |
TCVAL - Timer Counter Value
TCVAL - Timer counter value.
| #define CTIMER_PR_PRVAL | ( | x | ) |
PRVAL - Prescale Reload Value
PRVAL - Prescale reload value.
| #define CTIMER_PC_PCVAL | ( | x | ) |
PCVAL - Prescale Counter Value
PCVAL - Prescale counter value
| #define CTIMER_MCR_MR0I | ( | x | ) |
MR0I - Interrupt on MR0 0b0..Does not generate 0b1..Generates
MR0I - Interrupt on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0R | ( | x | ) |
MR0R - Reset on MR0 0b0..Does not reset 0b1..Resets
MR0R - Reset on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0S | ( | x | ) |
MR0S - Stop on MR0 0b0..Does not stop 0b1..Stops
MR0S - Stop on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1I | ( | x | ) |
MR1I - Interrupt on MR1 0b0..Does not generate 0b1..Generates
MR1I - Interrupt on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1R | ( | x | ) |
MR1R - Reset on MR1 0b0..Does not reset 0b1..Resets
MR1R - Reset on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1S | ( | x | ) |
MR1S - Stop on MR1 0b0..Does not stop 0b1..Stops
MR1S - Stop on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2I | ( | x | ) |
MR2I - Interrupt on MR2 0b0..Does not generate 0b1..Generates
MR2I - Interrupt on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2R | ( | x | ) |
MR2R - Reset on MR2 0b0..Does not reset 0b1..Resets
MR2R - Reset on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2S | ( | x | ) |
MR2S - Stop on MR2 0b0..Does not stop 0b1..Stops
MR2S - Stop on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3I | ( | x | ) |
MR3I - Interrupt on MR3 0b0..Does not generate 0b1..Generates
MR3I - Interrupt on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3R | ( | x | ) |
MR3R - Reset on MR3 0b0..Does not reset 0b1..Resets
MR3R - Reset on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3S | ( | x | ) |
MR3S - Stop on MR3 0b0..Does not stop 0b1..Stops
MR3S - Stop on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0RL | ( | x | ) |
MR0RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR0RL - Reload MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1RL | ( | x | ) |
MR1RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR1RL - Reload MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2RL | ( | x | ) |
MR2RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR2RL - Reload MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3RL | ( | x | ) |
MR3RL - Reload MR 0b0..Does not reload 0b1..Reloads
MR3RL - Reload MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MR_MATCH | ( | x | ) |
MATCH - Timer Counter Match Value
MATCH - Timer counter match value
| #define CTIMER_CCR_CAP0RE | ( | x | ) |
CAP0RE - Rising Edge of Capture Channel 0 0b0..Does not load 0b1..Loads
CAP0RE - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0FE | ( | x | ) |
CAP0FE - Falling Edge of Capture Channel 0 0b0..Does not load 0b1..Loads
CAP0FE - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0I | ( | x | ) |
CAP0I - Generate Interrupt on Channel 0 Capture Event 0b0..Does not generate 0b1..Generates
CAP0I - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1RE | ( | x | ) |
CAP1RE - Rising Edge of Capture Channel 1 0b0..Does not load 0b1..Loads
CAP1RE - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1FE | ( | x | ) |
CAP1FE - Falling Edge of Capture Channel 1 0b0..Does not load 0b1..Loads
CAP1FE - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1I | ( | x | ) |
CAP1I - Generate Interrupt on Channel 1 Capture Event 0b0..Does not generates 0b1..Generates
CAP1I - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2RE | ( | x | ) |
CAP2RE - Rising Edge of Capture Channel 2 0b0..Does not load 0b1..Loads
CAP2RE - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2FE | ( | x | ) |
CAP2FE - Falling Edge of Capture Channel 2 0b0..Does not load 0b1..Loads
CAP2FE - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2I | ( | x | ) |
CAP2I - Generate Interrupt on Channel 2 Capture Event 0b0..Does not generate 0b1..Generates
CAP2I - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3RE | ( | x | ) |
CAP3RE - Rising Edge of Capture Channel 3 0b0..Does not load 0b1..Loads
CAP3RE - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3FE | ( | x | ) |
CAP3FE - Falling Edge of Capture Channel 3 0b0..Does not load 0b1..Loads
CAP3FE - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3I | ( | x | ) |
CAP3I - Generate Interrupt on Channel 3 Capture Event 0b0..Does not generate 0b1..Generates
CAP3I - Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CR_CAP | ( | x | ) |
CAP - Timer Counter Capture Value
CAP - Timer counter capture value.
| #define CTIMER_EMR_EM0 | ( | x | ) |
EM0 - External Match 0 0b0..Low 0b1..High
EM0 - External Match 0
| #define CTIMER_EMR_EM1 | ( | x | ) |
EM1 - External Match 1 0b0..Low 0b1..High
EM1 - External Match 1
| #define CTIMER_EMR_EM2 | ( | x | ) |
EM2 - External Match 2 0b0..Low 0b1..High
EM2 - External Match 2
| #define CTIMER_EMR_EM3 | ( | x | ) |
EM3 - External Match 3 0b0..Low 0b1..High
EM3 - External Match 3
| #define CTIMER_EMR_EMC0 | ( | x | ) |
EMC0 - External Match Control 0 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC0 - External Match Control 0 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC1 | ( | x | ) |
EMC1 - External Match Control 1 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC1 - External Match Control 1 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC2 | ( | x | ) |
EMC2 - External Match Control 2 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC2 - External Match Control 2 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC3 | ( | x | ) |
EMC3 - External Match Control 3 0b00..Does nothing 0b01..Goes low 0b10..Goes high 0b11..Toggles
EMC3 - External Match Control 3 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_CTCR_CTMODE | ( | x | ) |
CTMODE - Counter Timer Mode 0b00..Timer mode 0b01..Counter mode rising edge 0b10..Counter mode falling edge 0b11..Counter mode dual edge
CTMODE - The Count Control Register (CTCR) is used to select between Timer and Counter mode, and in Counter mode to select the pin and edge(s) for counting. 0b00..Timer Mode 0b01..Counter Mode rising edge 0b10..Counter Mode falling edge 0b11..Counter Mode dual edge
| #define CTIMER_CTCR_CINSEL | ( | x | ) |
CINSEL - Count Input Select 0b00..Channel 0, CAPn[0] for CTIMERn 0b01..Channel 1, CAPn[1] for CTIMERn 0b10..Channel 2, CAPn[2] for CTIMERn 0b11..Channel 3, CAPn[3] for CTIMERn
CINSEL - Count Input Select 0b00..Channel 0. CAPn.0 for CTIMERn 0b01..Channel 1. CAPn.1 for CTIMERn 0b10..Channel 2. CAPn.2 for CTIMERn 0b11..Channel 3. CAPn.3 for CTIMERn
| #define CTIMER_CTCR_ENCC | ( | x | ) |
ENCC - Capture Channel Enable
| #define CTIMER_CTCR_SELCC | ( | x | ) |
SELCC - Edge Select 0b000..Capture channel 0 rising edge 0b001..Capture channel 0 falling edge 0b010..Capture channel 1 rising edge 0b011..Capture channel 1 falling edge 0b100..Capture channel 2 rising edge 0b101..Capture channel 2 falling edge
SELCC - Edge select 0b000..Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b001..Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b010..Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b011..Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b100..Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set). 0b101..Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
| #define CTIMER_PWMC_PWMEN0 | ( | x | ) |
PWMEN0 - PWM Mode Enable for Channel 0 0b0..Disable 0b1..Enable
PWMEN0 - PWM mode enable for channel0. 0b0..Match. CTIMERn_MAT0 is controlled by EM0. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT0.
| #define CTIMER_PWMC_PWMEN1 | ( | x | ) |
PWMEN1 - PWM Mode Enable for Channel 1 0b0..Disable 0b1..Enable
PWMEN1 - PWM mode enable for channel1. 0b0..Match. CTIMERn_MAT01 is controlled by EM1. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT1.
| #define CTIMER_PWMC_PWMEN2 | ( | x | ) |
PWMEN2 - PWM Mode Enable for Channel 2 0b0..Disable 0b1..Enable
PWMEN2 - PWM mode enable for channel2. 0b0..Match. CTIMERn_MAT2 is controlled by EM2. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT2.
| #define CTIMER_PWMC_PWMEN3 | ( | x | ) |
PWMEN3 - PWM Mode Enable for Channel 3 0b0..Disable 0b1..Enable
PWMEN3 - PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle. 0b0..Match. CTIMERn_MAT3 is controlled by EM3. 0b1..PWM. PWM mode is enabled for CT132Bn_MAT3.
| #define CTIMER_MSR_MATCH_SHADOW | ( | x | ) |
MATCH_SHADOW - Timer Counter Match Shadow Value
MATCH_SHADOW - Timer counter match shadow value.
| #define CTIMER_IR_MR0INT | ( | x | ) |
MR0INT - Interrupt flag for match channel 0
| #define CTIMER_IR_MR1INT | ( | x | ) |
MR1INT - Interrupt flag for match channel 1
| #define CTIMER_IR_MR2INT | ( | x | ) |
MR2INT - Interrupt flag for match channel 2
| #define CTIMER_IR_MR3INT | ( | x | ) |
MR3INT - Interrupt flag for match channel 3
| #define CTIMER_IR_CR0INT | ( | x | ) |
CR0INT - Interrupt flag for capture channel 0 event
| #define CTIMER_IR_CR1INT | ( | x | ) |
CR1INT - Interrupt flag for capture channel 1 event
| #define CTIMER_IR_CR2INT | ( | x | ) |
CR2INT - Interrupt flag for capture channel 2 event
| #define CTIMER_IR_CR3INT | ( | x | ) |
CR3INT - Interrupt flag for capture channel 3 event
| #define CTIMER_TCR_CEN | ( | x | ) |
CEN - Counter enable. 0b0..Disabled. The counters are disabled. 0b1..Enabled. The Timer Counter and Prescale Counter are enabled. When the timer is enabled by an external trigger or globally enabled by the external global start enable register, the CEN bit will automatically be set to 1.
| #define CTIMER_TCR_CRST | ( | x | ) |
CRST - Counter reset. 0b0..Disabled. Do nothing. 0b1..Enabled
| #define CTIMER_TCR_AGCEN | ( | x | ) |
AGCEN - Allow Global Count Enable 0b0..Not allowed 0b1..Allow input global_enable=1 action to take effect
| #define CTIMER_TCR_ATCEN | ( | x | ) |
ATCEN - Allow Trigger Count Enable 0b0..Not allowed 0b1..Allow input trigger_enable=1 action to take effect
| #define CTIMER_TC_TCVAL | ( | x | ) |
TCVAL - Timer counter value.
| #define CTIMER_PR_PRVAL | ( | x | ) |
PRVAL - Prescale reload value.
| #define CTIMER_PC_PCVAL | ( | x | ) |
PCVAL - Prescale counter value
| #define CTIMER_MCR_MR0I | ( | x | ) |
MR0I - Interrupt on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0R | ( | x | ) |
MR0R - Reset on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0S | ( | x | ) |
MR0S - Stop on MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1I | ( | x | ) |
MR1I - Interrupt on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1R | ( | x | ) |
MR1R - Reset on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1S | ( | x | ) |
MR1S - Stop on MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2I | ( | x | ) |
MR2I - Interrupt on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2R | ( | x | ) |
MR2R - Reset on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2S | ( | x | ) |
MR2S - Stop on MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3I | ( | x | ) |
MR3I - Interrupt on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3R | ( | x | ) |
MR3R - Reset on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3S | ( | x | ) |
MR3S - Stop on MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR0RL | ( | x | ) |
MR0RL - Reload MR0 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR1RL | ( | x | ) |
MR1RL - Reload MR1 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR2RL | ( | x | ) |
MR2RL - Reload MR2 0b0..Disabled 0b1..Enabled
| #define CTIMER_MCR_MR3RL | ( | x | ) |
MR3RL - Reload MR3 0b0..Disabled 0b1..Enabled
| #define CTIMER_MR_MATCH | ( | x | ) |
MATCH - Timer counter match value
| #define CTIMER_CCR_CAP0RE | ( | x | ) |
CAP0RE - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0FE | ( | x | ) |
CAP0FE - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP0I | ( | x | ) |
CAP0I - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1RE | ( | x | ) |
CAP1RE - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1FE | ( | x | ) |
CAP1FE - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP1I | ( | x | ) |
CAP1I - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2RE | ( | x | ) |
CAP2RE - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2FE | ( | x | ) |
CAP2FE - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP2I | ( | x | ) |
CAP2I - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3RE | ( | x | ) |
CAP3RE - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3FE | ( | x | ) |
CAP3FE - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CCR_CAP3I | ( | x | ) |
CAP3I - Generate interrupt on channel 3 capture event: a CR3 load generates an interrupt. 0b0..Disabled 0b1..Enabled
| #define CTIMER_CR_CAP | ( | x | ) |
CAP - Timer counter capture value.
| #define CTIMER_EMR_EM0 | ( | x | ) |
EM0 - External Match 0
| #define CTIMER_EMR_EM1 | ( | x | ) |
EM1 - External Match 1
| #define CTIMER_EMR_EM2 | ( | x | ) |
EM2 - External Match 2
| #define CTIMER_EMR_EM3 | ( | x | ) |
EM3 - External Match 3
| #define CTIMER_EMR_EMC0 | ( | x | ) |
EMC0 - External Match Control 0 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT0 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT0 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC1 | ( | x | ) |
EMC1 - External Match Control 1 0b00..Do Nothing 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT1 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT1 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC2 | ( | x | ) |
EMC2 - External Match Control 2 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT2 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT2 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_EMR_EMC3 | ( | x | ) |
EMC3 - External Match Control 3 0b00..Do Nothing. 0b01..Clear. Clear the corresponding External Match bit/output to 0 (MAT3 pin is LOW if pinned out). 0b10..Set. Set the corresponding External Match bit/output to 1 (MAT3 pin is HIGH if pinned out). 0b11..Toggle. Toggle the corresponding External Match bit/output.
| #define CTIMER_CTCR_CTMODE | ( | x | ) |
CTMODE - The Count Control Register (CTCR) is used to select between Timer and Counter mode, and in Counter mode to select the pin and edge(s) for counting. 0b00..Timer Mode 0b01..Counter Mode rising edge 0b10..Counter Mode falling edge 0b11..Counter Mode dual edge
| #define CTIMER_CTCR_CINSEL | ( | x | ) |
CINSEL - Count Input Select 0b00..Channel 0. CAPn.0 for CTIMERn 0b01..Channel 1. CAPn.1 for CTIMERn 0b10..Channel 2. CAPn.2 for CTIMERn 0b11..Channel 3. CAPn.3 for CTIMERn
| #define CTIMER_CTCR_SELCC | ( | x | ) |
SELCC - Edge select 0b000..Channel 0 Rising Edge. Rising edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b001..Channel 0 Falling Edge. Falling edge of the signal on capture channel 0 clears the timer (if bit 4 is set). 0b010..Channel 1 Rising Edge. Rising edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b011..Channel 1 Falling Edge. Falling edge of the signal on capture channel 1 clears the timer (if bit 4 is set). 0b100..Channel 2 Rising Edge. Rising edge of the signal on capture channel 2 clears the timer (if bit 4 is set). 0b101..Channel 2 Falling Edge. Falling edge of the signal on capture channel 2 clears the timer (if bit 4 is set).
| #define CTIMER_PWMC_PWMEN0 | ( | x | ) |
PWMEN0 - PWM mode enable for channel0. 0b0..Match. CTIMERn_MAT0 is controlled by EM0. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT0.
| #define CTIMER_PWMC_PWMEN1 | ( | x | ) |
PWMEN1 - PWM mode enable for channel1. 0b0..Match. CTIMERn_MAT01 is controlled by EM1. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT1.
| #define CTIMER_PWMC_PWMEN2 | ( | x | ) |
PWMEN2 - PWM mode enable for channel2. 0b0..Match. CTIMERn_MAT2 is controlled by EM2. 0b1..PWM. PWM mode is enabled for CTIMERn_MAT2.
| #define CTIMER_PWMC_PWMEN3 | ( | x | ) |
PWMEN3 - PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle. 0b0..Match. CTIMERn_MAT3 is controlled by EM3. 0b1..PWM. PWM mode is enabled for CT132Bn_MAT3.
| #define CTIMER_MSR_MATCH_SHADOW | ( | x | ) |
MATCH_SHADOW - Timer counter match shadow value.