GadgetSeed
0.9.6
rtc_ioctl.h
[詳解]
1
/** @file
2
@brief RTCドライバ ioctl 用マクロ定義
3
4
推奨デバイス名 : "rtc"
5
6
@date 2015.09.27
7
@author Takashi SHUDO
8
*/
9
10
#ifndef RTC_IOCTL_H
11
#define RTC_IOCTL_H
12
13
#include "
device/std_ioctl.h
"
14
15
#define DEF_DEV_NAME_RTC "rtc"
///< 標準リアルタイムクロックデバイス名
16
17
#define IOCMD_RTC_SET STDIOCTL(DEV_RTC,0x00)
///< 時刻を設定する
18
#define IOCMD_RTC_GET STDIOCTL(DEV_RTC,0x01)
///< 時刻を取得する
19
20
#endif // RTC_IOCTL_H
std_ioctl.h
デバイスドライバ ioctl 用マクロ定義
include
device
rtc_ioctl.h
構築:
1.8.13