⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timeformat.h

📁 WWVB receiver using AVR.
💻 H
字号:
/* $Id: timeformat.h,v 1.1 2005/04/23 14:19:17 simimeie Exp $ * Routines for handling various time representations. * Mainly conversion routines from broken time to timestamps and the other * way round. */  #ifndef _TIMEFORMAT_H_#define _TIMEFORMAT_H_struct brokentime {	uint8_t year;	uint8_t month;	uint8_t day;	uint8_t hour;	uint8_t min;	uint8_t sec;};/* Converts a brokentime-struct to a timestamp */uint32_t bttots(struct brokentime * bt);/* Converts a timestamp to a brokentime-struct */void tstobt(uint32_t ts, struct brokentime * bt); #endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -