Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
w1_ds2433.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include "../w1.h"
#include "../w1_int.h"
#include "../w1_family.h"

Go to the source code of this file.

Data Structures

struct  w1_f23_data
 

Macros

#define W1_EEPROM_SIZE   512
 
#define W1_PAGE_COUNT   16
 
#define W1_PAGE_SIZE   32
 
#define W1_PAGE_BITS   5
 
#define W1_PAGE_MASK   0x1F
 
#define W1_F23_TIME   300
 
#define W1_F23_READ_EEPROM   0xF0
 
#define W1_F23_WRITE_SCRATCH   0x0F
 
#define W1_F23_READ_SCRATCH   0xAA
 
#define W1_F23_COPY_SCRATCH   0x55
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Ben Gardner <[email protected]>")
 
 MODULE_DESCRIPTION ("w1 family 23 driver for DS2433, 4kb EEPROM")
 
 module_init (w1_f23_init)
 
 module_exit (w1_f23_fini)
 

Macro Definition Documentation

#define W1_EEPROM_SIZE   512

Definition at line 33 of file w1_ds2433.c.

#define W1_F23_COPY_SCRATCH   0x55

Definition at line 44 of file w1_ds2433.c.

#define W1_F23_READ_EEPROM   0xF0

Definition at line 41 of file w1_ds2433.c.

#define W1_F23_READ_SCRATCH   0xAA

Definition at line 43 of file w1_ds2433.c.

#define W1_F23_TIME   300

Definition at line 39 of file w1_ds2433.c.

#define W1_F23_WRITE_SCRATCH   0x0F

Definition at line 42 of file w1_ds2433.c.

#define W1_PAGE_BITS   5

Definition at line 36 of file w1_ds2433.c.

#define W1_PAGE_COUNT   16

Definition at line 34 of file w1_ds2433.c.

#define W1_PAGE_MASK   0x1F

Definition at line 37 of file w1_ds2433.c.

#define W1_PAGE_SIZE   32

Definition at line 35 of file w1_ds2433.c.

Function Documentation

MODULE_AUTHOR ( "Ben Gardner <[email protected]>"  )
MODULE_DESCRIPTION ( "w1 family 23 driver for  DS2433,
4kb EEPROM"   
)
module_exit ( w1_f23_fini  )
module_init ( w1_f23_init  )
MODULE_LICENSE ( "GPL"  )