Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/rtc.h>
#include <linux/spi/spi.h>
#include <linux/bcd.h>
Go to the source code of this file.
Macros | |
#define | DS3234_REG_SECONDS 0x00 |
#define | DS3234_REG_MINUTES 0x01 |
#define | DS3234_REG_HOURS 0x02 |
#define | DS3234_REG_DAY 0x03 |
#define | DS3234_REG_DATE 0x04 |
#define | DS3234_REG_MONTH 0x05 |
#define | DS3234_REG_YEAR 0x06 |
#define | DS3234_REG_CENTURY (1 << 7) /* Bit 7 of the Month register */ |
#define | DS3234_REG_CONTROL 0x0E |
#define | DS3234_REG_CONT_STAT 0x0F |
Functions | |
module_spi_driver (ds3234_driver) | |
MODULE_DESCRIPTION ("DS3234 SPI RTC driver") | |
MODULE_AUTHOR ("Dennis Aberilla <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("spi:ds3234") | |
Definition at line 29 of file rtc-ds3234.c.
#define DS3234_REG_CONT_STAT 0x0F |
Definition at line 32 of file rtc-ds3234.c.
#define DS3234_REG_CONTROL 0x0E |
Definition at line 31 of file rtc-ds3234.c.
#define DS3234_REG_DATE 0x04 |
Definition at line 26 of file rtc-ds3234.c.
#define DS3234_REG_DAY 0x03 |
Definition at line 25 of file rtc-ds3234.c.
#define DS3234_REG_HOURS 0x02 |
Definition at line 24 of file rtc-ds3234.c.
#define DS3234_REG_MINUTES 0x01 |
Definition at line 23 of file rtc-ds3234.c.
#define DS3234_REG_MONTH 0x05 |
Definition at line 27 of file rtc-ds3234.c.
#define DS3234_REG_SECONDS 0x00 |
Definition at line 22 of file rtc-ds3234.c.
#define DS3234_REG_YEAR 0x06 |
Definition at line 28 of file rtc-ds3234.c.
MODULE_ALIAS | ( | "spi:ds3234" | ) |
MODULE_AUTHOR | ( | "Dennis Aberilla <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_spi_driver | ( | ds3234_driver | ) |