Advertising
- Stuff
- Saturday, April 19th, 2008 at 1:04:31pm MDT
- #define IMX31_IADR 0x00
- #define IMX31_IFDR 0x04
- #define IMX31_I2CR 0x08
- #define IMX31_I2SR 0x0c
- #define IMX31_I2DR 0x10
- #define IMX31_I2CR_IEN (1 << 7)
- #define IMX31_I2CR_IIEN (1 << 6)
- #define IMX31_I2CR_MSTA (1 << 5)
- #define IMX31_I2CR_MTX (1 << 4)
- #define IMX31_I2CR_TX_NO_AK (1 << 3)
- #define IMX31_2CR_RSTA (1 << 2)
- #define IMX31_I2SR_ICF (1 << 7)
- #define IMX31_I2SR_IBB (1 << 5)
- #define IMX31_I2SR_IIF (1 << 1)
- #define IMX31_I2SR_RX_NO_AK (1 << 0)
- #ifdef I2C_IMX31_CFG_PORT1
- #define IMX31_I2C_BASE 0x43f80000
- #elif defined (I2C_IMX31_CFG_PORT2)
- #define IMX31_I2C_BASE 0x43f98000
- #elif defined (I2C_IMX31_CFG_PORT3)
- #define IMX31_I2C_BASE 0x43f84000
- #else
- #error "define I2C_IMX31_CFG_PORTx to use the imx31 I2C driver"
- #endif
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.