summaryrefslogtreecommitdiff
path: root/firmware/export/i2c-pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/i2c-pp.h')
-rw-r--r--firmware/export/i2c-pp.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/export/i2c-pp.h b/firmware/export/i2c-pp.h
index 55e84b65a4..f126fa812d 100644
--- a/firmware/export/i2c-pp.h
+++ b/firmware/export/i2c-pp.h
@@ -34,17 +34,6 @@
34#ifndef _I2C_PP_H 34#ifndef _I2C_PP_H
35#define _I2C_PP_H 35#define _I2C_PP_H
36 36
37#define I2C_CTRL (*(volatile unsigned char*)(I2C_BASE+0x00))
38#define I2C_ADDR (*(volatile unsigned char*)(I2C_BASE+0x04))
39#define I2C_DATA(X) (*(volatile unsigned char*)(I2C_BASE+0xc+(4*X)))
40#define I2C_STATUS (*(volatile unsigned char*)(I2C_BASE+0x1c))
41
42/* I2C_CTRL bit definitions */
43#define I2C_SEND 0x80
44
45/* I2C_STATUS bit definitions */
46#define I2C_BUSY (1<<6)
47
48/* TODO: Fully implement i2c driver */ 37/* TODO: Fully implement i2c driver */
49 38
50/* To be used by drivers that need to do multiple i2c operations 39/* To be used by drivers that need to do multiple i2c operations