Hey All,
Can any one tell me what this mean in a very simple manner.
RTCCTL01 = RTCTEVIE + RTCSSEL_2 + RTCTEV_0;
RTCPS1CTL = RT1SSEL_2 + RT1PSDIV_3;
__bis_SR_register(LPM3_bits + GIE);
}
What is exactly does???
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.
Hey All,
Can any one tell me what this mean in a very simple manner.
RTCCTL01 = RTCTEVIE + RTCSSEL_2 + RTCTEV_0;
RTCPS1CTL = RT1SSEL_2 + RT1PSDIV_3;
__bis_SR_register(LPM3_bits + GIE);
}
What is exactly does???
Nikita Hosur said:Can any one tell me what this mean in a very simple manner.
First two lines changes contents of RTC hardware registers, third line puts CPU into LPM3 sleep mode with interrupts enabled. 4th line is right curly bracket meaning end of C code block.
**Attention** This is a public forum