You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
Android.bp | 4 months ago | |
BUILD.gn | 4 months ago | |
Makefile | 4 months ago | |
product_package.mk | 4 months ago | |
readme.txt | 4 months ago | |
readme_cn.txt | 4 months ago | |
sample_i2c_read.c | 4 months ago | |
sample_i2c_write.c | 4 months ago |
readme.txt
Purpose: to demonstrate how to communicate with i2c device by calling function of I2C module . Command: read: Usage: i2c_read i2c_channel device_addr register_addr register_addr_len read_bytes_number write: Usage: i2c_write i2c_channel device_addr register_addr register_addr_len write_bytes_number byte0 [... byten] Parameter: see Usage. Notice: to insure that the hardward connection between i2c device and chipset is correctly.