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.

how the config register work

hello

I want to config  msp430 

I saw at the example that there are some decleration  for that.

I want to understand how I write to register.

.want I mean is if I want to enable ComparatorA 1 and disable ComparatorB .

I saw at the example that it wrote  CBCTL0 |= CBIPEN

what does it mean " | =" 

how the other bit doesn't change .

**Attention** This is a public forum