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
v811_spc009_project
4 months ago
..
Android.bp v811_spc009_project 4 months ago
BUILD.gn v811_spc009_project 4 months ago
Makefile v811_spc009_project 4 months ago
product_package.mk v811_spc009_project 4 months ago
readme.txt v811_spc009_project 4 months ago
readme_cn.txt v811_spc009_project 4 months ago
sample_i2c_read.c v811_spc009_project 4 months ago
sample_i2c_write.c v811_spc009_project 4 months ago

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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.