summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/machine.I2C.rst4
-rw-r--r--docs/library/pyb.I2C.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/library/machine.I2C.rst b/docs/library/machine.I2C.rst
index 2a33b1da4..0eb1b67f5 100644
--- a/docs/library/machine.I2C.rst
+++ b/docs/library/machine.I2C.rst
@@ -91,6 +91,10 @@ General Methods
- *sda* is a pin object for the SDA line
- *freq* is the SCL clock rate
+ In the case of hardware I2C the actual clock frequency may be lower than the
+ requested frequency. This is dependant on the platform hardware. The actual
+ rate may be determined by printing the I2C object.
+
.. method:: I2C.deinit()
Turn off the I2C bus.
diff --git a/docs/library/pyb.I2C.rst b/docs/library/pyb.I2C.rst
index 24b9cb8c3..2c526854a 100644
--- a/docs/library/pyb.I2C.rst
+++ b/docs/library/pyb.I2C.rst
@@ -96,6 +96,10 @@ Methods
that DMA transfers have more precise timing but currently do not handle bus
errors properly)
+ The actual clock frequency may be lower than the requested frequency.
+ This is dependant on the platform hardware. The actual rate may be determined
+ by printing the I2C object.
+
.. method:: I2C.is_ready(addr)
Check if an I2C device responds to the given address. Only valid when in controller mode.