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

📄 rtc.c

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 C
字号:
/* *  linux/arch/mips/philips/nino/rtc.c * *  Copyright (C) 2001 Steven J. Hill (sjhill@realitydiluted.com) * * 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. * *  Functions to access RTC on the Philips Nino. */#include <linux/spinlock.h>#include <linux/mc146818rtc.h>static unsigned char nino_rtc_read_data(unsigned long addr){	return 0;}static void nino_rtc_write_data(unsigned char data, unsigned long addr){}static int nino_rtc_bcd_mode(void){	return 0;}struct rtc_ops nino_rtc_ops ={	&nino_rtc_read_data,	&nino_rtc_write_data,	&nino_rtc_bcd_mode};

⌨️ 快捷键说明

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