OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [include/] [linux/] [i2c-pxa.h] - Blame information for rev 81

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 62 marcus.erl
#ifndef _LINUX_I2C_ALGO_PXA_H
2
#define _LINUX_I2C_ALGO_PXA_H
3
 
4
typedef enum i2c_slave_event_e {
5
        I2C_SLAVE_EVENT_START_READ,
6
        I2C_SLAVE_EVENT_START_WRITE,
7
        I2C_SLAVE_EVENT_STOP
8
} i2c_slave_event_t;
9
 
10
struct i2c_slave_client {
11
        void *data;
12
        void (*event)(void *ptr, i2c_slave_event_t event);
13
        int  (*read) (void *ptr);
14
        void (*write)(void *ptr, unsigned int val);
15
};
16
 
17
#endif /* _LINUX_I2C_ALGO_PXA_H */

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.