Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
rtc-v3020.h File Reference

Go to the source code of this file.

Data Structures

struct  v3020_platform_data
 

Macros

#define V3020_STATUS_0   0x00
 
#define V3020_STATUS_1   0x01
 
#define V3020_SECONDS   0x02
 
#define V3020_MINUTES   0x03
 
#define V3020_HOURS   0x04
 
#define V3020_MONTH_DAY   0x05
 
#define V3020_MONTH   0x06
 
#define V3020_YEAR   0x07
 
#define V3020_WEEK_DAY   0x08
 
#define V3020_WEEK   0x09
 
#define V3020_IS_COMMAND(val)   ((val)>=0x0E)
 
#define V3020_CMD_RAM2CLOCK   0x0E
 
#define V3020_CMD_CLOCK2RAM   0x0F
 

Macro Definition Documentation

#define V3020_CMD_CLOCK2RAM   0x0F

Definition at line 39 of file rtc-v3020.h.

#define V3020_CMD_RAM2CLOCK   0x0E

Definition at line 38 of file rtc-v3020.h.

#define V3020_HOURS   0x04

Definition at line 29 of file rtc-v3020.h.

#define V3020_IS_COMMAND (   val)    ((val)>=0x0E)

Definition at line 36 of file rtc-v3020.h.

#define V3020_MINUTES   0x03

Definition at line 28 of file rtc-v3020.h.

#define V3020_MONTH   0x06

Definition at line 31 of file rtc-v3020.h.

#define V3020_MONTH_DAY   0x05

Definition at line 30 of file rtc-v3020.h.

#define V3020_SECONDS   0x02

Definition at line 27 of file rtc-v3020.h.

#define V3020_STATUS_0   0x00

Definition at line 25 of file rtc-v3020.h.

#define V3020_STATUS_1   0x01

Definition at line 26 of file rtc-v3020.h.

#define V3020_WEEK   0x09

Definition at line 34 of file rtc-v3020.h.

#define V3020_WEEK_DAY   0x08

Definition at line 33 of file rtc-v3020.h.

#define V3020_YEAR   0x07

Definition at line 32 of file rtc-v3020.h.