ds3231.h

来自「DS3231 RTC的Linux驱动程序」· C头文件 代码 · 共 30 行

H
30
字号
/* *  linux/drivers/i2c/chips/ds3231.h * *  Copyright (C) 2002-2004 Guangzhou Jinpeng Co., Ltd * *	based on linux/drivers/acron/char/pcf8583.h *  Copyright (C) 2000 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */struct rtc_tm {	unsigned char	secs;	unsigned char	mins;	unsigned char	hours;	unsigned char	mday;	unsigned char	mon;	unsigned short	year; /* xxxx 4 digits :) */	unsigned char	wday;	unsigned char	vl;};struct mem {	unsigned int	loc;	unsigned int	nr;	unsigned char	*data;};#define RTC_TEMP_READ 	_IOR('t', 0x01, int) 

⌨️ 快捷键说明

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