Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ds1603.h File Reference
#include <asm/addrspace.h>

Go to the source code of this file.

Macros

#define DS1603_REG_100   (KSEG1ADDR(0x1c810000))
 
#define DS1603_RST_100   (1 << 2)
 
#define DS1603_CLK_100   (1 << 0)
 
#define DS1603_DATA_SHIFT_100   1
 
#define DS1603_DATA_100   (1 << DS1603_DATA_SHIFT_100)
 
#define DS1603_REG_200   (KSEG1ADDR(0x11000000))
 
#define DS1603_RST_200   (1 << 3)
 
#define DS1603_CLK_200   (1 << 4)
 
#define DS1603_DATA_200   (1 << 5)
 
#define DS1603_DATA_REG_200   (DS1603_REG_200 + 0x10000)
 
#define DS1603_DATA_READ_SHIFT_200   9
 
#define DS1603_DATA_READ_200   (1 << DS1603_DATA_READ_SHIFT_200)
 

Macro Definition Documentation

#define DS1603_CLK_100   (1 << 0)

Definition at line 6 of file ds1603.h.

#define DS1603_CLK_200   (1 << 4)

Definition at line 13 of file ds1603.h.

#define DS1603_DATA_100   (1 << DS1603_DATA_SHIFT_100)

Definition at line 8 of file ds1603.h.

#define DS1603_DATA_200   (1 << 5)

Definition at line 14 of file ds1603.h.

#define DS1603_DATA_READ_200   (1 << DS1603_DATA_READ_SHIFT_200)

Definition at line 18 of file ds1603.h.

#define DS1603_DATA_READ_SHIFT_200   9

Definition at line 17 of file ds1603.h.

#define DS1603_DATA_REG_200   (DS1603_REG_200 + 0x10000)

Definition at line 16 of file ds1603.h.

#define DS1603_DATA_SHIFT_100   1

Definition at line 7 of file ds1603.h.

#define DS1603_REG_100   (KSEG1ADDR(0x1c810000))

Definition at line 4 of file ds1603.h.

#define DS1603_REG_200   (KSEG1ADDR(0x11000000))

Definition at line 11 of file ds1603.h.

#define DS1603_RST_100   (1 << 2)

Definition at line 5 of file ds1603.h.

#define DS1603_RST_200   (1 << 3)

Definition at line 12 of file ds1603.h.