|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module containing stubs for API generation of the def 'esp' module. |
|
8 """ |
|
9 |
|
10 SLEEP_NONE = 0 |
|
11 SLEEP_MODEM = 0 |
|
12 SLEEP_LIGHT = 0 |
|
13 |
|
14 def sleep_type(sleep_type=None): |
|
15 pass |
|
16 |
|
17 def deepsleep(time=0): |
|
18 pass |
|
19 |
|
20 def flash_id(): |
|
21 pass |
|
22 |
|
23 def flash_size(): |
|
24 pass |
|
25 |
|
26 def flash_user_start(): |
|
27 pass |
|
28 |
|
29 def flash_read(byte_offset, length_or_buffer): |
|
30 pass |
|
31 |
|
32 def flash_write(byte_offset, bytes): |
|
33 pass |
|
34 |
|
35 def flash_erase(sector_no): |
|
36 pass |
|
37 |
|
38 def set_native_code_location(start, length): |
|
39 pass |