From 3e073546f01652c34eb21dc4c6c5144ba4a9cc6a Mon Sep 17 00:00:00 2001 From: enriquezgarc Date: Tue, 23 Jan 2024 09:58:17 +0100 Subject: [PATCH] docs/psoc6/quickref.rst: Added unsupported Signal functionality. Signed-off-by: enriquezgarc --- docs/psoc6/quickref.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/psoc6/quickref.rst b/docs/psoc6/quickref.rst index 4c432b2fd20c..39b555e2347b 100644 --- a/docs/psoc6/quickref.rst +++ b/docs/psoc6/quickref.rst @@ -154,11 +154,16 @@ Trigger can be ``Pin.IRQ_FALLING`` or ``Pin.IRQ_RISING`` or ``PIN.IRQ_FALLING||P Set pin value to its complement. +Signal +^^^^^^ There's a higher-level abstraction :ref:`machine.Signal ` which can be used to invert a pin. Useful for illuminating active-low LEDs using ``on()`` or ``value(1)``. +.. warning:: + + The :ref:`machine.Signal value()` getter functionality is not supported in this port, and the returned value is undefined. This is the same behavior as the :ref:`machine.Pin value()` for Pin.OUT mode, which is the object supporting the Signal object. Software I2C bus ----------------