summaryrefslogtreecommitdiff
path: root/docs/library/machine.ADCBlock.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/machine.ADCBlock.rst')
-rw-r--r--docs/library/machine.ADCBlock.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/library/machine.ADCBlock.rst b/docs/library/machine.ADCBlock.rst
index 56a468dd6..eb94362d5 100644
--- a/docs/library/machine.ADCBlock.rst
+++ b/docs/library/machine.ADCBlock.rst
@@ -39,9 +39,9 @@ Methods
Configure the ADC peripheral. *bits* will set the resolution of the
conversion process.
-.. method:: ADCBlock.connect(channel)
- ADCBlock.connect(source)
- ADCBlock.connect(channel, source)
+.. method:: ADCBlock.connect(channel, *, ...)
+ ADCBlock.connect(source, *, ...)
+ ADCBlock.connect(channel, source, *, ...)
Connect up a channel on the ADC peripheral so it is ready for sampling,
and return an :ref:`ADC <machine.ADC>` object that represents that connection.
@@ -56,3 +56,6 @@ Methods
If both *channel* and *source* are given then they are connected together
and made ready for sampling.
+
+ Any additional keyword arguments are used to configure the returned ADC object,
+ via its :meth:`init <machine.ADC.init>` method.