Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
bcdutil.h
00001 // 00002 /// 00003 // 00004 // 00005 // 00006 // 00007 // 00008 // 00009 #ifndef _BCDUTIL_H 00010 #define _BCDUTIL_H 00011 00012 00013 00014 unsigned int bin2bcd(unsigned int n); 00015 unsigned char bcd2bin(unsigned char bcd); 00016 char* tm2rtc(struct tm* _t); // tm -> rtc(BCD) 00017 struct tm* rtc2tm(char* _bcd); // rtc(BCD) -> tm 00018 00019 00020 #endif
Generated on Tue Jul 26 2022 06:12:16 by
1.7.2