In this code, what is the importance of MASK ?
divider = (CS->CTL1 & CS_CTL1_DIVM_MASK) >> CS_CTL1_DIVM_OFS; dividerValue = 1 << divider; source = CS->CTL1 & CS_CTL1_SELM_MASK;
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In this code, what is the importance of MASK ?
divider = (CS->CTL1 & CS_CTL1_DIVM_MASK) >> CS_CTL1_DIVM_OFS; dividerValue = 1 << divider; source = CS->CTL1 & CS_CTL1_SELM_MASK;
**Attention** This is a public forum