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.

Real time clock

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.

  • Also, refer to the device specific User's Guide for a detailed description of what each modules registers should contain for your application requirements.

**Attention** This is a public forum