|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.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 | M41T94_REG_SECONDS 0x01 |
| #define | M41T94_REG_MINUTES 0x02 |
| #define | M41T94_REG_HOURS 0x03 |
| #define | M41T94_REG_WDAY 0x04 |
| #define | M41T94_REG_DAY 0x05 |
| #define | M41T94_REG_MONTH 0x06 |
| #define | M41T94_REG_YEAR 0x07 |
| #define | M41T94_REG_HT 0x0c |
| #define | M41T94_BIT_HALT 0x40 |
| #define | M41T94_BIT_STOP 0x80 |
| #define | M41T94_BIT_CB 0x40 |
| #define | M41T94_BIT_CEB 0x80 |
Functions | |
| module_spi_driver (m41t94_driver) | |
| MODULE_AUTHOR ("Kim B. Heino <[email protected]>") | |
| MODULE_DESCRIPTION ("Driver for ST M41T94 SPI RTC") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("spi:rtc-m41t94") | |
| #define M41T94_BIT_CB 0x40 |
Definition at line 29 of file rtc-m41t94.c.
| #define M41T94_BIT_CEB 0x80 |
Definition at line 30 of file rtc-m41t94.c.
| #define M41T94_BIT_HALT 0x40 |
Definition at line 27 of file rtc-m41t94.c.
| #define M41T94_BIT_STOP 0x80 |
Definition at line 28 of file rtc-m41t94.c.
| #define M41T94_REG_DAY 0x05 |
Definition at line 22 of file rtc-m41t94.c.
| #define M41T94_REG_HOURS 0x03 |
Definition at line 20 of file rtc-m41t94.c.
| #define M41T94_REG_HT 0x0c |
Definition at line 25 of file rtc-m41t94.c.
| #define M41T94_REG_MINUTES 0x02 |
Definition at line 19 of file rtc-m41t94.c.
| #define M41T94_REG_MONTH 0x06 |
Definition at line 23 of file rtc-m41t94.c.
| #define M41T94_REG_SECONDS 0x01 |
Definition at line 18 of file rtc-m41t94.c.
| #define M41T94_REG_WDAY 0x04 |
Definition at line 21 of file rtc-m41t94.c.
| #define M41T94_REG_YEAR 0x07 |
Definition at line 24 of file rtc-m41t94.c.
| MODULE_ALIAS | ( | "spi:rtc-m41t94" | ) |
| MODULE_AUTHOR | ( | "Kim B. Heino <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_spi_driver | ( | m41t94_driver | ) |
1.8.2