Home
last modified time | relevance | path

Searched refs:MP_ARG_KW_ONLY (Results 1 – 25 of 37) sorted by relevance

12

/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_hw_spi.c146 { MP_QSTR_baudrate, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 500000 } }, in machine_hw_spi_init()
147 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_hw_spi_init()
148 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_hw_spi_init()
151 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = SPI_ROLE_MASTER } }, in machine_hw_spi_init()
185 { MP_QSTR_baudrate, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 500000 } }, in machine_hw_spi_make_new()
186 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_hw_spi_make_new()
187 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_hw_spi_make_new()
190 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = SPI_ROLE_MASTER } }, in machine_hw_spi_make_new()
192 { MP_QSTR_sck, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = MP_OBJ_NULL } }, in machine_hw_spi_make_new()
193 { MP_QSTR_mosi, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = MP_OBJ_NULL } }, in machine_hw_spi_make_new()
[all …]
A Dmachine_uart.c94 { MP_QSTR_tx, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = -1 } }, in machine_uart_init_helper()
95 { MP_QSTR_rx, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = -1 } }, in machine_uart_init_helper()
96 { MP_QSTR_rts, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_uart_init_helper()
97 { MP_QSTR_cts, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_uart_init_helper()
98 { MP_QSTR_txbuf, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = -1 } }, in machine_uart_init_helper()
99 { MP_QSTR_rxbuf, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = -1 } }, in machine_uart_init_helper()
100 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_uart_init_helper()
101 { MP_QSTR_timeout_char, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_uart_init_helper()
102 { MP_QSTR_invert, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0 } }, in machine_uart_init_helper()
A Dmachine_hw_i2c.c191 { MP_QSTR_scl, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = MP_OBJ_NULL } }, in machine_hw_i2c_make_new()
192 { MP_QSTR_sda, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = MP_OBJ_NULL } }, in machine_hw_i2c_make_new()
193 { MP_QSTR_freq, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = I2C_BUS_BIT_RATES_400K } }, in machine_hw_i2c_make_new()
194 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = I2C_DEFAULT_TIMEOUT_US } }, in machine_hw_i2c_make_new()
195 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = I2C_MODE_MASTER } }, in machine_hw_i2c_make_new()
196 { MP_QSTR_addr, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = 0x00 } }, in machine_hw_i2c_make_new()
197 { MP_QSTR_addrsize, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = I2C_HAL_ADDRESS_WIDTH_7BIT } }, in machine_hw_i2c_make_new()
A Dmachine_sw_timer.c93 … { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN } }, in machine_soft_timer_init_helper()
94 { MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = mp_const_none } }, in machine_soft_timer_init_helper()
95 { MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = TIMER_DEFAULT_PERIOD } }, in machine_soft_timer_init_helper()
A Dmachine_timer.c101 { MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = TIMER_DEFAULT_PERIOD } }, in machine_timer_init_helper()
102 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = TIMER_MODE_PERIODIC } }, in machine_timer_init_helper()
103 { MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = mp_const_none } }, in machine_timer_init_helper()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmachine_hw_spi.c139 { MP_QSTR_baudrate, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 500000} }, in machine_hw_spi_init()
140 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_init()
141 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_init()
144 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = SPI_ROLE_MASTER} }, in machine_hw_spi_init()
168 { MP_QSTR_baudrate, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 500000} }, in machine_hw_spi_make_new()
169 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_make_new()
170 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_make_new()
173 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = SPI_ROLE_MASTER} }, in machine_hw_spi_make_new()
175 { MP_QSTR_sck, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_spi_make_new()
176 { MP_QSTR_mosi, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_spi_make_new()
[all …]
A Dmachine_hw_i2c.c146 { MP_QSTR_scl, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_i2c_make_new()
147 { MP_QSTR_sda, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_i2c_make_new()
148 { MP_QSTR_freq, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_BUS_BIT_RATES_400K} }, in machine_hw_i2c_make_new()
149 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_DEFAULT_TIMEOUT_US} }, in machine_hw_i2c_make_new()
150 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_MODE_MASTER} }, in machine_hw_i2c_make_new()
151 { MP_QSTR_addr, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_NUM_0} }, in machine_hw_i2c_make_new()
152 { MP_QSTR_addrsize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_HAL_ADDRESS_WIDTH_7BIT} }, in machine_hw_i2c_make_new()
A Dmachine_uart.c97 { MP_QSTR_tx, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
98 { MP_QSTR_rx, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
99 { MP_QSTR_rts, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
100 { MP_QSTR_cts, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
101 { MP_QSTR_txbuf, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
102 { MP_QSTR_rxbuf, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
103 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
104 { MP_QSTR_timeout_char, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
105 { MP_QSTR_invert, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
A Dmachine_sw_timer.c118 {MP_QSTR_index, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0}}, in machine_soft_timer_init_helper()
119 … {MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN}}, in machine_soft_timer_init_helper()
120 {MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = mp_const_none}}, in machine_soft_timer_init_helper()
121 {MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = TIMER_DEFAULT_PERIOD}}, in machine_soft_timer_init_helper()
A Dmachine_timer.c145 {MP_QSTR_index, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0}}, in machine_timer_init_helper()
146 {MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = TIMER_MODE_PERIODIC}}, in machine_timer_init_helper()
147 {MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = mp_const_none}}, in machine_timer_init_helper()
148 {MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = TIMER_DEFAULT_PERIOD}}, in machine_timer_init_helper()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmachine_hw_spi.c139 { MP_QSTR_baudrate, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 500000} }, in machine_hw_spi_init()
140 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_init()
141 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_init()
144 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = SPI_ROLE_MASTER} }, in machine_hw_spi_init()
168 { MP_QSTR_baudrate, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 500000} }, in machine_hw_spi_make_new()
169 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_make_new()
170 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_hw_spi_make_new()
173 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = SPI_ROLE_MASTER} }, in machine_hw_spi_make_new()
175 { MP_QSTR_sck, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_spi_make_new()
176 { MP_QSTR_mosi, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_spi_make_new()
[all …]
A Dmachine_hw_i2c.c146 { MP_QSTR_scl, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_i2c_make_new()
147 { MP_QSTR_sda, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in machine_hw_i2c_make_new()
148 { MP_QSTR_freq, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_BUS_BIT_RATES_400K} }, in machine_hw_i2c_make_new()
149 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_DEFAULT_TIMEOUT_US} }, in machine_hw_i2c_make_new()
150 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_MODE_MASTER} }, in machine_hw_i2c_make_new()
151 { MP_QSTR_addr, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_NUM_0} }, in machine_hw_i2c_make_new()
152 { MP_QSTR_addrsize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = I2C_HAL_ADDRESS_WIDTH_7BIT} }, in machine_hw_i2c_make_new()
A Dmachine_uart.c97 { MP_QSTR_tx, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
98 { MP_QSTR_rx, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
99 { MP_QSTR_rts, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
100 { MP_QSTR_cts, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
101 { MP_QSTR_txbuf, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
102 { MP_QSTR_rxbuf, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in machine_uart_init_helper()
103 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
104 { MP_QSTR_timeout_char, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
105 { MP_QSTR_invert, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in machine_uart_init_helper()
A Dmachine_sw_timer.c118 {MP_QSTR_index, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0}}, in machine_soft_timer_init_helper()
119 … {MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = AOS_TIMER_REPEAT | AOS_TIMER_AUTORUN}}, in machine_soft_timer_init_helper()
120 {MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = mp_const_none}}, in machine_soft_timer_init_helper()
121 {MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = TIMER_DEFAULT_PERIOD}}, in machine_soft_timer_init_helper()
A Dmachine_timer.c145 {MP_QSTR_index, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0}}, in machine_timer_init_helper()
146 {MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = TIMER_MODE_PERIODIC}}, in machine_timer_init_helper()
147 {MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = mp_const_none}}, in machine_timer_init_helper()
148 {MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = TIMER_DEFAULT_PERIOD}}, in machine_timer_init_helper()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmachine_spi.c163 { MP_QSTR_polarity, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in mp_machine_soft_spi_make_new()
164 { MP_QSTR_phase, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in mp_machine_soft_spi_make_new()
165 { MP_QSTR_bits, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 8} }, in mp_machine_soft_spi_make_new()
166 { MP_QSTR_firstbit, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = MICROPY_PY_MACHINE_SPI_MSB} }, in mp_machine_soft_spi_make_new()
167 { MP_QSTR_sck, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in mp_machine_soft_spi_make_new()
168 { MP_QSTR_mosi, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in mp_machine_soft_spi_make_new()
169 { MP_QSTR_miso, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in mp_machine_soft_spi_make_new()
211 { MP_QSTR_sck, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in mp_machine_soft_spi_init()
212 { MP_QSTR_mosi, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in mp_machine_soft_spi_init()
213 { MP_QSTR_miso, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, in mp_machine_soft_spi_init()
A Dvfs_lfs.c39 { MP_QSTR_readsize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 32} },
40 { MP_QSTR_progsize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 32} },
41 { MP_QSTR_lookahead, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 32} },
42 { MP_QSTR_mtime, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = true} },
A Dmodussl_axtls.c331 { MP_QSTR_key, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in mod_ssl_wrap_socket()
332 { MP_QSTR_cert, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in mod_ssl_wrap_socket()
333 { MP_QSTR_server_side, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = false} }, in mod_ssl_wrap_socket()
334 { MP_QSTR_server_hostname, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in mod_ssl_wrap_socket()
335 { MP_QSTR_do_handshake, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = true} }, in mod_ssl_wrap_socket()
A Dmodussl_mbedtls.c391 { MP_QSTR_key, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in mod_ssl_wrap_socket()
392 { MP_QSTR_cert, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in mod_ssl_wrap_socket()
393 { MP_QSTR_server_side, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = false} }, in mod_ssl_wrap_socket()
394 { MP_QSTR_server_hostname, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in mod_ssl_wrap_socket()
395 { MP_QSTR_do_handshake, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = true} }, in mod_ssl_wrap_socket()
A Dnetwork_cyw43.c168 { MP_QSTR_passive, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = false} }, in network_cyw43_scan()
169 { MP_QSTR_essid, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in network_cyw43_scan()
170 { MP_QSTR_bssid, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in network_cyw43_scan()
217 { MP_QSTR_auth, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in network_cyw43_connect()
218 { MP_QSTR_bssid, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} }, in network_cyw43_connect()
219 { MP_QSTR_channel, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = -1} }, in network_cyw43_connect()
A Dmodbtree.c339 { MP_QSTR_flags, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in mod_btree_open()
340 { MP_QSTR_cachesize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in mod_btree_open()
341 { MP_QSTR_pagesize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in mod_btree_open()
342 { MP_QSTR_minkeypage, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 0} }, in mod_btree_open()
A Dmachine_i2c.c553 { MP_QSTR_addrsize, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 8} },
657 { MP_QSTR_freq, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 400000} }, in mp_machine_soft_i2c_init()
658 { MP_QSTR_timeout, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = 255} }, in mp_machine_soft_i2c_init()
/AliOS-Things-master/components/py_engine/modules/driver/
A Dtimer.c127 { MP_QSTR_period, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = TIMER_DEFAULT_PERIOD } }, in driver_timer_init_helper()
128 { MP_QSTR_mode, MP_ARG_KW_ONLY | MP_ARG_INT, { .u_int = TIMER_MODE_PERIODIC } }, in driver_timer_init_helper()
129 { MP_QSTR_callback, MP_ARG_KW_ONLY | MP_ARG_OBJ, { .u_obj = mp_const_none } }, in driver_timer_init_helper()
/AliOS-Things-master/components/py_engine/engine/py/
A Dargcheck.c84 if (allowed[i].flags & MP_ARG_KW_ONLY) { in mp_arg_parse_all()
A Dmodmath.c209 {MP_QSTR_rel_tol, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL}}, in MATH_FUN_2()
210 {MP_QSTR_abs_tol, MP_ARG_KW_ONLY | MP_ARG_OBJ, {.u_obj = MP_OBJ_NEW_SMALL_INT(0)}}, in MATH_FUN_2()

Completed in 35 milliseconds

12