Home
last modified time | relevance | path

Searched refs:ARG_mode (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_hw_spi.c142 ARG_mode, in machine_hw_spi_init() enumerator
158 dev->config.role = args[ARG_mode].u_int; in machine_hw_spi_init()
177 ARG_mode, in machine_hw_spi_make_new() enumerator
222 dev->config.role = args[ARG_mode].u_int; in machine_hw_spi_make_new()
A Dmachine_sw_timer.c88 ARG_mode, in machine_soft_timer_init_helper() enumerator
110 self->reload_mode = args[ARG_mode].u_int; in machine_soft_timer_init_helper()
A Dmachine_timer.c96 ARG_mode, in machine_timer_init_helper() enumerator
119 self->dev.config.reload_mode = args[ARG_mode].u_int; in machine_timer_init_helper()
A Dmachine_pin.c92 ARG_mode, in machine_pin_obj_init_helper() enumerator
114 if (args[ARG_mode].u_obj != mp_const_none) { in machine_pin_obj_init_helper()
115 pin_io_mode = mp_obj_get_int(args[ARG_mode].u_obj); in machine_pin_obj_init_helper()
A Dmachine_hw_i2c.c185 ARG_mode, in machine_hw_i2c_make_new() enumerator
245 mp_int_t mode = args[ARG_mode].u_int; in machine_hw_i2c_make_new()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmachine_hw_spi.c137 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_mode, ARG_len}; in machine_hw_spi_init() enumerator
153 spi->config.role = args[ARG_mode].u_int; in machine_hw_spi_init()
165 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_mode, ARG_len, A… in machine_hw_spi_make_new() enumerator
205 spi->config.role = args[ARG_mode].u_int; in machine_hw_spi_make_new()
A Dmachine_pin.c108 enum { ARG_mode, ARG_pull, ARG_value }; in machine_pin_obj_init_helper() enumerator
127 if (args[ARG_mode].u_obj != mp_const_none) { in machine_pin_obj_init_helper()
128 pin_io_mode = mp_obj_get_int(args[ARG_mode].u_obj); in machine_pin_obj_init_helper()
A Dmachine_hw_i2c.c143 enum { ARG_id, ARG_scl, ARG_sda, ARG_freq, ARG_timeout, ARG_mode, ARG_addr, ARG_addrsize}; in machine_hw_i2c_make_new() enumerator
200 mp_int_t mode = args[ARG_mode].u_int; in machine_hw_i2c_make_new()
A Dmachine_sw_timer.c113 ARG_mode, in machine_soft_timer_init_helper() enumerator
137 self->reload_mode = args[ARG_mode].u_int; in machine_soft_timer_init_helper()
A Dmachine_timer.c140 ARG_mode, in machine_timer_init_helper() enumerator
164 self->device->config.reload_mode = args[ARG_mode].u_int; in machine_timer_init_helper()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmachine_hw_spi.c137 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_mode, ARG_len}; in machine_hw_spi_init() enumerator
153 spi->config.role = args[ARG_mode].u_int; in machine_hw_spi_init()
165 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_mode, ARG_len, A… in machine_hw_spi_make_new() enumerator
205 spi->config.role = args[ARG_mode].u_int; in machine_hw_spi_make_new()
A Dmachine_pin.c108 enum { ARG_mode, ARG_pull, ARG_value }; in machine_pin_obj_init_helper() enumerator
127 if (args[ARG_mode].u_obj != mp_const_none) { in machine_pin_obj_init_helper()
128 pin_io_mode = mp_obj_get_int(args[ARG_mode].u_obj); in machine_pin_obj_init_helper()
A Dmachine_sw_timer.c113 ARG_mode, in machine_soft_timer_init_helper() enumerator
137 self->reload_mode = args[ARG_mode].u_int; in machine_soft_timer_init_helper()
A Dmachine_hw_i2c.c143 enum { ARG_id, ARG_scl, ARG_sda, ARG_freq, ARG_timeout, ARG_mode, ARG_addr, ARG_addrsize}; in machine_hw_i2c_make_new() enumerator
200 mp_int_t mode = args[ARG_mode].u_int; in machine_hw_i2c_make_new()
A Dmachine_timer.c140 ARG_mode, in machine_timer_init_helper() enumerator
164 self->device->config.reload_mode = args[ARG_mode].u_int; in machine_timer_init_helper()
/AliOS-Things-master/components/py_engine/modules/driver/
A Dtimer.c123 ARG_mode, in driver_timer_init_helper() enumerator
144 self->dev.config.reload_mode = args[ARG_mode].u_int; in driver_timer_init_helper()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs.c298 enum { ARG_file, ARG_mode, ARG_encoding }; in mp_vfs_open() enumerator
313 return mp_vfs_posix_file_open(&mp_type_textio, args[ARG_file].u_obj, args[ARG_mode].u_obj); in mp_vfs_open()

Completed in 20 milliseconds