Search the Community
Showing results for tags 'epoch'.
Found 1 result
Msprtckit - RTC support
spirilis posted a topic in Code vaultKicking off my MSP430FR2433 hobby effort I looked into the RTC peripheral, which amounts to a really simple stupid counter, the likes of which I often used WDT for back in the day. It just counts up to RTCMOD and then fires the ISR. So without the fancy date tracking that RTC_B did on the Wolverine chips, I had to up the ante a bit and write myself a library to convert "epoch" seconds format (# of seconds since Jan 1 1970 midnight UTC) into a "struct tm" year/month/day/hour/minute/second/etc. structure and vice versa. I looked around for other implementations and found some inspirat