Linux Kernel
3.7.1
|
#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) | |
#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.
MODULE_AUTHOR | ( | "Ben Gardner <[email protected]>" | ) |
module_exit | ( | w1_f23_fini | ) |
module_init | ( | w1_f23_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |