Damien George | 075d597 | 2014-11-27 20:30:33 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 29 | Q(help) |
| 30 | |
| 31 | // pyb module |
| 32 | Q(pyb) |
| 33 | Q(info) |
| 34 | Q(freq) |
| 35 | Q(millis) |
| 36 | Q(elapsed_millis) |
| 37 | Q(micros) |
| 38 | Q(elapsed_micros) |
| 39 | Q(delay) |
| 40 | Q(udelay) |
| 41 | Q(sync) |
Paul Sokolovsky | 438b3d2 | 2015-01-18 00:37:22 +0200 | [diff] [blame] | 42 | Q(hard_reset) |
Josef Gajdusek | 286ced4 | 2015-05-15 12:00:39 +0200 | [diff] [blame] | 43 | Q(unique_id) |
Paul Sokolovsky | 6ec650b | 2015-01-23 00:34:16 +0200 | [diff] [blame] | 44 | |
Josef Gajdusek | 59610c4 | 2015-05-18 18:35:25 +0200 | [diff] [blame] | 45 | // uos module |
| 46 | Q(uos) |
| 47 | Q(os) |
| 48 | Q(uname) |
| 49 | Q(sysname) |
| 50 | Q(nodename) |
| 51 | Q(release) |
| 52 | Q(version) |
| 53 | Q(machine) |
| 54 | |
Paul Sokolovsky | 6ec650b | 2015-01-23 00:34:16 +0200 | [diff] [blame] | 55 | Q(esp) |
Josef Gajdusek | 9e00ac8 | 2015-05-02 21:24:25 +0200 | [diff] [blame] | 56 | Q(socket) |
Paul Sokolovsky | 471b2a8 | 2015-02-01 01:36:28 +0200 | [diff] [blame] | 57 | Q(connect) |
Paul Sokolovsky | 1cd47c6 | 2015-02-03 02:02:14 +0200 | [diff] [blame] | 58 | Q(disconnect) |
Bill Owens | a66a99b | 2015-06-10 12:14:10 -0700 | [diff] [blame] | 59 | Q(wifi_mode) |
Josef Gajdusek | 286ced4 | 2015-05-15 12:00:39 +0200 | [diff] [blame] | 60 | Q(phy_mode) |
| 61 | Q(sleep_type) |
| 62 | Q(deepsleep) |
| 63 | Q(adc) |
| 64 | Q(vdd33) |
| 65 | Q(chip_id) |
| 66 | Q(flash_id) |
Paul Sokolovsky | 90202b4 | 2015-11-24 23:28:20 +0200 | [diff] [blame] | 67 | Q(flash_read) |
Alex March | 8140772 | 2016-02-08 11:42:24 +0200 | [diff] [blame] | 68 | Q(flash_write) |
| 69 | Q(flash_erase) |
Josef Gajdusek | 286ced4 | 2015-05-15 12:00:39 +0200 | [diff] [blame] | 70 | Q(sdk_version) |
Josef Gajdusek | 9e00ac8 | 2015-05-02 21:24:25 +0200 | [diff] [blame] | 71 | Q(getaddrinfo) |
| 72 | Q(send) |
| 73 | Q(sendto) |
| 74 | Q(recv) |
| 75 | Q(recvfrom) |
| 76 | Q(listen) |
| 77 | Q(accept) |
| 78 | Q(bind) |
| 79 | Q(settimeout) |
| 80 | Q(setblocking) |
| 81 | Q(setsockopt) |
| 82 | Q(close) |
| 83 | Q(protocol) |
Josef Gajdusek | 286ced4 | 2015-05-15 12:00:39 +0200 | [diff] [blame] | 84 | Q(getpeername) |
Josef Gajdusek | 9e00ac8 | 2015-05-02 21:24:25 +0200 | [diff] [blame] | 85 | Q(onconnect) |
| 86 | Q(onrecv) |
Josef Gajdusek | d39d96b | 2015-05-06 00:17:04 +0200 | [diff] [blame] | 87 | Q(onsent) |
Josef Gajdusek | 9e00ac8 | 2015-05-02 21:24:25 +0200 | [diff] [blame] | 88 | Q(ondisconnect) |
Josef Gajdusek | 286ced4 | 2015-05-15 12:00:39 +0200 | [diff] [blame] | 89 | Q(MODE_11B) |
| 90 | Q(MODE_11G) |
| 91 | Q(MODE_11N) |
| 92 | Q(SLEEP_NONE) |
| 93 | Q(SLEEP_LIGHT) |
| 94 | Q(SLEEP_MODEM) |
Bill Owens | a66a99b | 2015-06-10 12:14:10 -0700 | [diff] [blame] | 95 | Q(STA_MODE) |
| 96 | Q(AP_MODE) |
| 97 | Q(STA_AP_MODE) |
Damien George | 87c6250 | 2015-02-13 22:21:44 +0000 | [diff] [blame] | 98 | |
Paul Sokolovsky | ee3fec3 | 2015-06-12 17:16:52 +0300 | [diff] [blame] | 99 | // network module |
| 100 | Q(network) |
| 101 | Q(WLAN) |
Bill Owens | 60ccb41 | 2015-06-18 05:54:29 -0700 | [diff] [blame] | 102 | Q(scan) |
| 103 | Q(status) |
Bill Owens | e2bfa47 | 2015-06-22 13:22:17 -0700 | [diff] [blame] | 104 | Q(isconnected) |
Paul Sokolovsky | fce0036 | 2015-12-27 10:03:32 +0200 | [diff] [blame] | 105 | Q(mac) |
Damien George | 02ea74d | 2015-12-22 14:28:53 +0000 | [diff] [blame] | 106 | Q(ifconfig) |
Bill Owens | 60ccb41 | 2015-06-18 05:54:29 -0700 | [diff] [blame] | 107 | Q(STAT_IDLE) |
| 108 | Q(STAT_CONNECTING) |
| 109 | Q(STAT_WRONG_PASSWORD) |
| 110 | Q(STAT_NO_AP_FOUND) |
| 111 | Q(STAT_CONNECT_FAIL) |
| 112 | Q(STAT_GOT_IP) |
Paul Sokolovsky | ee3fec3 | 2015-06-12 17:16:52 +0300 | [diff] [blame] | 113 | |
Damien George | 87c6250 | 2015-02-13 22:21:44 +0000 | [diff] [blame] | 114 | // Pin class |
| 115 | Q(Pin) |
| 116 | Q(init) |
| 117 | Q(mode) |
| 118 | Q(pull) |
| 119 | Q(value) |
| 120 | Q(low) |
| 121 | Q(high) |
| 122 | Q(IN) |
| 123 | Q(OUT_PP) |
| 124 | Q(OUT_OD) |
| 125 | Q(PULL_NONE) |
| 126 | Q(PULL_UP) |
| 127 | Q(PULL_DOWN) |
Josef Gajdusek | 103d12a | 2015-05-11 21:11:37 +0200 | [diff] [blame] | 128 | |
| 129 | // RTC |
| 130 | Q(RTC) |
| 131 | Q(datetime) |
| 132 | Q(memory) |
| 133 | |
Josef Gajdusek | 25a8a42 | 2015-05-18 18:35:56 +0200 | [diff] [blame] | 134 | // ADC |
| 135 | Q(ADC) |
| 136 | Q(read) |
| 137 | |
Josef Gajdusek | 103d12a | 2015-05-11 21:11:37 +0200 | [diff] [blame] | 138 | // utime |
| 139 | Q(utime) |
| 140 | Q(localtime) |
| 141 | Q(mktime) |
| 142 | Q(sleep) |
Damien George | 5788499 | 2015-12-28 17:28:16 +0000 | [diff] [blame] | 143 | Q(sleep_ms) |
| 144 | Q(sleep_us) |
| 145 | Q(ticks_ms) |
| 146 | Q(ticks_us) |
| 147 | Q(ticks_cpu) |
| 148 | Q(ticks_diff) |
Josef Gajdusek | 103d12a | 2015-05-11 21:11:37 +0200 | [diff] [blame] | 149 | Q(time) |
Paul Sokolovsky | 7193086 | 2016-01-05 21:23:23 +0200 | [diff] [blame] | 150 | |
| 151 | // machine |
| 152 | Q(Timer) |
| 153 | Q(callback) |
| 154 | Q(deinit) |
| 155 | Q(init) |
| 156 | Q(mode) |
| 157 | Q(period) |
Paul Sokolovsky | c70637b | 2016-03-04 22:26:59 +0200 | [diff] [blame^] | 158 | Q(ONE_SHOT) |
| 159 | Q(PERIODIC) |