mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
esp32[c3|c6|h2]: Add I2C master support
This commit is contained in:
committed by
Xiang Xiao
parent
63375bf9cd
commit
dda55419f9
@@ -84,6 +84,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
|
||||
The pin is configured as a rising edge interrupt, so after issuing the
|
||||
above command, connect it to 3.3V.
|
||||
|
||||
i2c
|
||||
---
|
||||
|
||||
This configuration can be used to scan and manipulate I2C devices.
|
||||
You can scan for all I2C devices using the following command::
|
||||
|
||||
nsh> i2c dev 0x00 0x7f
|
||||
|
||||
nsh
|
||||
---
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ CDC Console Yes Rev.3
|
||||
DMA No
|
||||
eFuse No
|
||||
GPIO Yes
|
||||
I2C No
|
||||
I2C Yes
|
||||
LED_PWM Yes
|
||||
RNG No
|
||||
RSA No
|
||||
|
||||
@@ -119,6 +119,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
|
||||
The pin is configured as a rising edge interrupt, so after issuing the
|
||||
above command, connect it to 3.3V.
|
||||
|
||||
i2c
|
||||
---
|
||||
|
||||
This configuration can be used to scan and manipulate I2C devices.
|
||||
You can scan for all I2C devices using the following command::
|
||||
|
||||
nsh> i2c dev 0x00 0x7f
|
||||
|
||||
nsh
|
||||
---
|
||||
|
||||
|
||||
@@ -119,6 +119,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
|
||||
The pin is configured as a rising edge interrupt, so after issuing the
|
||||
above command, connect it to 3.3V.
|
||||
|
||||
i2c
|
||||
---
|
||||
|
||||
This configuration can be used to scan and manipulate I2C devices.
|
||||
You can scan for all I2C devices using the following command::
|
||||
|
||||
nsh> i2c dev 0x00 0x7f
|
||||
|
||||
nsh
|
||||
---
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ ECC No
|
||||
eFuse No
|
||||
GPIO Yes
|
||||
HMAC No
|
||||
I2C No
|
||||
I2C Yes
|
||||
I2S No
|
||||
Int. Temp. No
|
||||
LED No
|
||||
|
||||
@@ -118,6 +118,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
|
||||
The pin is configured as a rising edge interrupt, so after issuing the
|
||||
above command, connect it to 3.3V.
|
||||
|
||||
i2c
|
||||
---
|
||||
|
||||
This configuration can be used to scan and manipulate I2C devices.
|
||||
You can scan for all I2C devices using the following command::
|
||||
|
||||
nsh> i2c dev 0x00 0x7f
|
||||
|
||||
nsh
|
||||
---
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ ECC No
|
||||
eFuse No
|
||||
GPIO Yes
|
||||
HMAC No
|
||||
I2C No
|
||||
I2C Yes
|
||||
I2S No
|
||||
Int. Temp. No
|
||||
LED No
|
||||
|
||||
Reference in New Issue
Block a user