Skip to content

Commit 85fa20a

Browse files
authored
Merge pull request #208 from pycom/AnkithB2020-patch-1
Ankith b2020 patch 1
2 parents e032141 + 468b246 commit 85fa20a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/firmwareapi/pycom/machine/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ Stops the CPU and all peripherals, including the networking interfaces (except f
5353

5454
The products with LTE connectivity (FiPy, GPy, G01), require the LTE radio to be disabled separately via the LTE class before entering deepsleep. This is required due to the LTE radio being powered independently and allowing use cases which require the system to be taken out from deepsleep by an event from the LTE network (data or SMS received for instance).
5555

56-
#### machine.pin\_deepsleep\_wakeup(pins, mode, enable\_pull)
56+
#### machine.pin\_sleep\_wakeup(pins, mode, enable\_pull)
5757

58-
Configure pins to wake up from deep sleep mode. The pins which have this capability are: `P2, P3, P4, P6, P8 to P10 and P13 to P23`.
58+
Configure pins to wake up from sleep mode. The pins which have this capability are: `P2, P3, P4, P6, P8 to P10 and P13 to P23`.
5959

6060
The arguments are:
6161

62-
* `pins` a list or tuple containing the `GPIO` to setup for deepsleep wakeup.
62+
* `pins` a list or tuple containing the `GPIO` to setup for sleep wakeup.
6363
* `mode` selects the way the configure `GPIO`s can wake up the module. The possible values are: `machine.WAKEUP_ALL_LOW` and `machine.WAKEUP_ANY_HIGH`.
64-
* `enable_pull` if set to `True` keeps the pull up or pull down resistors enabled during deep sleep. If this variable is set to `True`, then `ULP` or capacitive touch wakeup cannot be used in combination with `GPIO` wakeup.
64+
* `enable_pull` if set to `True` keeps the pull up or pull down resistors enabled during sleep. If this variable is set to `True`, then `ULP` or capacitive touch wakeup cannot be used in combination with `GPIO` wakeup.
6565

6666
#### machine.wake\_reason()
6767

0 commit comments

Comments
 (0)