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.

TM4C123 RTC DriverLib

Hello, how to read the RTC counter value in TM4C123G using the timer driver library since there is no API referring to it ?

Thank you

  • Hello Ahmed

    To us the Timer in RTC mode, you would need to provide a 32KHz clock on the CCP pin. The next thing you would need to do is to configure the timer using TimerConfigure API call with the mode set as TIMER_CFG_RTC in full width mode.

    You can check the timer.h for the API for setting the Timer Match in RTC.