blob: e0d5762660cf0b8041b02c2e58bf513dfece30b7 [file] [log] [blame]
Damien George075d5972014-11-27 20:30:33 +00001/*
2 * This file is part of the Micro Python project, http://micropython.org/
3 *
4 * The MIT License (MIT)
5 *
6 * Copyright (c) 2014 Damien P. George
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26
27// qstrs specific to this port
28
29Q(help)
30
31// pyb module
32Q(pyb)
33Q(info)
34Q(freq)
35Q(millis)
36Q(elapsed_millis)
37Q(micros)
38Q(elapsed_micros)
39Q(delay)
40Q(udelay)
41Q(sync)
Paul Sokolovsky438b3d22015-01-18 00:37:22 +020042Q(hard_reset)
Josef Gajdusek286ced42015-05-15 12:00:39 +020043Q(unique_id)
Paul Sokolovsky6ec650b2015-01-23 00:34:16 +020044
Josef Gajdusek59610c42015-05-18 18:35:25 +020045// uos module
46Q(uos)
47Q(os)
48Q(uname)
49Q(sysname)
50Q(nodename)
51Q(release)
52Q(version)
53Q(machine)
54
Paul Sokolovsky6ec650b2015-01-23 00:34:16 +020055Q(esp)
Josef Gajdusek9e00ac82015-05-02 21:24:25 +020056Q(socket)
Paul Sokolovsky471b2a82015-02-01 01:36:28 +020057Q(connect)
Paul Sokolovsky1cd47c62015-02-03 02:02:14 +020058Q(disconnect)
Bill Owensa66a99b2015-06-10 12:14:10 -070059Q(wifi_mode)
Josef Gajdusek286ced42015-05-15 12:00:39 +020060Q(phy_mode)
61Q(sleep_type)
62Q(deepsleep)
63Q(adc)
64Q(vdd33)
65Q(chip_id)
66Q(flash_id)
Paul Sokolovsky90202b42015-11-24 23:28:20 +020067Q(flash_read)
Alex March81407722016-02-08 11:42:24 +020068Q(flash_write)
69Q(flash_erase)
Josef Gajdusek286ced42015-05-15 12:00:39 +020070Q(sdk_version)
Josef Gajdusek9e00ac82015-05-02 21:24:25 +020071Q(getaddrinfo)
72Q(send)
73Q(sendto)
74Q(recv)
75Q(recvfrom)
76Q(listen)
77Q(accept)
78Q(bind)
79Q(settimeout)
80Q(setblocking)
81Q(setsockopt)
82Q(close)
83Q(protocol)
Josef Gajdusek286ced42015-05-15 12:00:39 +020084Q(getpeername)
Josef Gajdusek9e00ac82015-05-02 21:24:25 +020085Q(onconnect)
86Q(onrecv)
Josef Gajdusekd39d96b2015-05-06 00:17:04 +020087Q(onsent)
Josef Gajdusek9e00ac82015-05-02 21:24:25 +020088Q(ondisconnect)
Josef Gajdusek286ced42015-05-15 12:00:39 +020089Q(MODE_11B)
90Q(MODE_11G)
91Q(MODE_11N)
92Q(SLEEP_NONE)
93Q(SLEEP_LIGHT)
94Q(SLEEP_MODEM)
Bill Owensa66a99b2015-06-10 12:14:10 -070095Q(STA_MODE)
96Q(AP_MODE)
97Q(STA_AP_MODE)
Damien George87c62502015-02-13 22:21:44 +000098
Paul Sokolovskyee3fec32015-06-12 17:16:52 +030099// network module
100Q(network)
101Q(WLAN)
Bill Owens60ccb412015-06-18 05:54:29 -0700102Q(scan)
103Q(status)
Bill Owense2bfa472015-06-22 13:22:17 -0700104Q(isconnected)
Paul Sokolovskyfce00362015-12-27 10:03:32 +0200105Q(mac)
Damien George02ea74d2015-12-22 14:28:53 +0000106Q(ifconfig)
Bill Owens60ccb412015-06-18 05:54:29 -0700107Q(STAT_IDLE)
108Q(STAT_CONNECTING)
109Q(STAT_WRONG_PASSWORD)
110Q(STAT_NO_AP_FOUND)
111Q(STAT_CONNECT_FAIL)
112Q(STAT_GOT_IP)
Paul Sokolovskyee3fec32015-06-12 17:16:52 +0300113
Damien George87c62502015-02-13 22:21:44 +0000114// Pin class
115Q(Pin)
116Q(init)
117Q(mode)
118Q(pull)
119Q(value)
120Q(low)
121Q(high)
122Q(IN)
123Q(OUT_PP)
124Q(OUT_OD)
125Q(PULL_NONE)
126Q(PULL_UP)
127Q(PULL_DOWN)
Josef Gajdusek103d12a2015-05-11 21:11:37 +0200128
129// RTC
130Q(RTC)
131Q(datetime)
132Q(memory)
133
Josef Gajdusek25a8a422015-05-18 18:35:56 +0200134// ADC
135Q(ADC)
136Q(read)
137
Josef Gajdusek103d12a2015-05-11 21:11:37 +0200138// utime
139Q(utime)
140Q(localtime)
141Q(mktime)
142Q(sleep)
Damien George57884992015-12-28 17:28:16 +0000143Q(sleep_ms)
144Q(sleep_us)
145Q(ticks_ms)
146Q(ticks_us)
147Q(ticks_cpu)
148Q(ticks_diff)
Josef Gajdusek103d12a2015-05-11 21:11:37 +0200149Q(time)
Paul Sokolovsky71930862016-01-05 21:23:23 +0200150
151// machine
152Q(Timer)
153Q(callback)
154Q(deinit)
155Q(init)
156Q(mode)
157Q(period)
Paul Sokolovskyc70637b2016-03-04 22:26:59 +0200158Q(ONE_SHOT)
159Q(PERIODIC)