Skip to content

Commit d8627e8

Browse files
NikhitaR-IFXactions-user
authored andcommitted
docs/psoc6/quickref: Documented gpio deinit function.
Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
1 parent 818fab3 commit d8627e8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/psoc6/quickref.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ Trigger can be ``Pin.IRQ_FALLING`` or ``Pin.IRQ_RISING`` or ``PIN.IRQ_FALLING |
155155

156156
Set pin value to its complement.
157157

158+
.. method:: Pin.deinit()
159+
160+
Deinitializes the pin object. This will release any resources associated with it. The pin object created from MicroPython side would still be available, but it will not be functional anymore.
161+
The pin can be re-initialised by calling the :meth:`Pin.init` function.
162+
163+
158164
Signal
159165
^^^^^^
160166

0 commit comments

Comments
 (0)