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

📄 nvram.h

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 H
字号:
/* * nvram.h -- DS1307-based non-volatile memory device driver. * * This driver support file-like operations to 56-bytes long non-volatile * memory of DS1307 I2C real-time clock chip. * * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia * Author: Victor V. Vengerov <vvv@oktet.ru> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * * http://www.rtems.com/license/LICENSE. * * @(#) $Id: nvram.h,v 1.1.4.1 2003/09/04 18:44:30 joel Exp $ */#ifndef __DRIVER__NVRAM_H__#define __DRIVER__NVRAM_H__#ifdef __cplusplusextern "C" {#endif#define NVRAM_DRIVER_TABLE_ENTRY \  { nvram_driver_initialize, nvram_driver_open, nvram_driver_close, \    nvram_driver_read, nvram_driver_write, NULL }/* nvram_driver_initialize -- *     Non-volatile memory device driver initialization. */rtems_device_drivernvram_driver_initialize(rtems_device_major_number major,                        rtems_device_minor_number minor,                        void *arg);/* nvram_driver_open -- *     Non-volatile memory device driver open primitive. */rtems_device_drivernvram_driver_open(rtems_device_major_number major,                  rtems_device_minor_number minor,                  void *arg);/* nvram_driver_close -- *     Non-volatile memory device driver close primitive. */rtems_device_drivernvram_driver_close(rtems_device_major_number major,                   rtems_device_minor_number minor,                   void *arg);/* nvram_driver_read -- *     Non-volatile memory device driver read primitive. */rtems_device_drivernvram_driver_read(rtems_device_major_number major,                  rtems_device_minor_number minor,                  void *arg);/* nvram_driver_write -- *     Non-volatile memory device driver write primitive. */rtems_device_drivernvram_driver_write(rtems_device_major_number major,                   rtems_device_minor_number minor,                   void *arg);#ifdef __cplusplus}#endif#endif /* __VFDDRV_H__ */

⌨️ 快捷键说明

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