Skip to content

Commit 382d9fd

Browse files
authored
Merge pull request #210 from pycom/AnkithB2020-patch-1
Ankith b2020 patch 1
2 parents 85fa20a + 330d488 commit 382d9fd

File tree

2 files changed

+3
-115
lines changed

2 files changed

+3
-115
lines changed

content/firmwareapi/pycom/machine/README.md

Lines changed: 0 additions & 111 deletions
This file was deleted.

content/firmwareapi/pycom/machine/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ _Note: in light sleep mode LoRa/Lte modems are stopped and have to be re-initial
6161

6262
Stops the CPU and all peripherals, including the networking interfaces (except for LTE). Execution is resumed from the main script, just as with a reset. If a value in milliseconds is given then the device will wake up after that period of time, otherwise it will remain in deep sleep until the reset button is pressed.
6363

64-
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).
64+
Products with LTE connectivity, such as the FiPy, GPy, G01, need to have the LTE radio disabled separately via the LTE class before entering deepsleep. This is necessary because the LTE radio is powered independently, which allows for use cases that wake the system from deepsleep by an event from the LTE network, for example receiving data or an SMS.
6565

6666
#### machine.pin\_sleep\_wakeup(pins, mode, enable\_pull)
6767

6868
Configure pins to wake up from deep/light sleep mode. The pins which have this capability are: `P2, P3, P4, P6, P8 to P10 and P13 to P23`.
6969

7070
The arguments are:
7171

72-
* `pins` a list or tuple containing the `GPIO` to setup for deepsleep wakeup.
72+
* `pins` a list or tuple containing the `GPIO` to setup for sleep wakeup.
7373
* `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`.
74-
* `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.
74+
* `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.
7575

7676
#### machine.wake\_reason()
7777

@@ -118,4 +118,3 @@ Returns the high water mark of the stack associated with various system tasks, i
118118
### Pin Wakeup Modes
119119

120120
`machine.WAKEUP_ALL_LOW`, `machine.WAKEUP_ANY_HIGH`
121-

0 commit comments

Comments
 (0)