Home
last modified time | relevance | path

Searched refs:ARG_bits (Results 1 – 12 of 12) sorted by relevance

/dports/lang/micropython/micropython-1.17/ports/zephyr/
H A Dmachine_spi.c68 …enum {ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, AR… in machine_hard_spi_make_new() enumerator
103 args[ARG_bits].u_int << 5 | in machine_hard_spi_make_new()
119 enum {ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit}; in machine_hard_spi_init() enumerator
151 if (args[ARG_bits].u_int != -1) { in machine_hard_spi_init()
152 operation = (operation & 0x1F) | (args[ARG_bits].u_int << 5); in machine_hard_spi_init()
/dports/lang/micropython/micropython-1.17/ports/stm32/
H A Dmachine_spi.c51 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, A… in machine_hard_spi_make_new() enumerator
90 args[ARG_polarity].u_int, args[ARG_phase].u_int, args[ARG_bits].u_int, in machine_hard_spi_make_new()
102 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit }; in machine_hard_spi_init() enumerator
115 args[ARG_polarity].u_int, args[ARG_phase].u_int, args[ARG_bits].u_int, in machine_hard_spi_init()
H A Dmachine_i2s.c682 ARG_bits, in machine_i2s_init_helper() enumerator
749 int8_t i2s_bits = args[ARG_bits].u_int; in machine_i2s_init_helper()
931 enum { ARG_buf, ARG_bits, ARG_shift}; in machine_i2s_shift() enumerator
948 uint8_t bits = args[ARG_bits].u_int; in machine_i2s_shift()
/dports/lang/micropython/micropython-1.17/ports/rp2/
H A Dmachine_spi.c96 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, A… in machine_spi_make_new() enumerator
150 self->bits = args[ARG_bits].u_int; in machine_spi_make_new()
168 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit }; in machine_spi_init() enumerator
197 if (args[ARG_bits].u_int != -1) { in machine_spi_init()
198 self->bits = args[ARG_bits].u_int; in machine_spi_init()
H A Dmachine_uart.c166 enum { ARG_id, ARG_baudrate, ARG_bits, ARG_parity, ARG_stop, ARG_tx, ARG_rx, ARG_cts, ARG_rts, in machine_uart_make_new() enumerator
205 if (args[ARG_bits].u_int > 0) { in machine_uart_make_new()
206 self->bits = args[ARG_bits].u_int; in machine_uart_make_new()
/dports/lang/micropython/micropython-1.17/ports/mimxrt/
H A Dmachine_spi.c120 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_gap_ns, ARG_driv… in machine_spi_make_new() enumerator
174 self->master_config->bitsPerFrame = args[ARG_bits].u_int; in machine_spi_make_new()
185 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_gap_ns }; in machine_spi_init() enumerator
212 if (args[ARG_bits].u_int != -1) { in machine_spi_init()
213 self->master_config->bitsPerFrame = args[ARG_bits].u_int; in machine_spi_init()
H A Dmachine_uart.c131 enum { ARG_baudrate, ARG_bits, ARG_parity, ARG_stop, in machine_uart_init_helper() enumerator
155 if (args[ARG_bits].u_int > 0) { in machine_uart_init_helper()
156 self->config.dataBitsCount = 8 - args[ARG_bits].u_int; in machine_uart_init_helper()
/dports/lang/micropython/micropython-1.17/ports/esp32/
H A Dmachine_hw_spi.c380 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, A… in machine_hw_spi_init() enumerator
423 args[ARG_polarity].u_int, args[ARG_phase].u_int, args[ARG_bits].u_int, in machine_hw_spi_init()
430 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, A… in machine_hw_spi_make_new() enumerator
488 args[ARG_bits].u_int, in machine_hw_spi_make_new()
H A Dmachine_i2s.c371 ARG_bits, in machine_i2s_init_helper() enumerator
408 i2s_bits_per_sample_t bits = args[ARG_bits].u_int; in machine_i2s_init_helper()
595 enum { ARG_buf, ARG_bits, ARG_shift}; in machine_i2s_shift() enumerator
612 uint8_t bits = args[ARG_bits].u_int; in machine_i2s_shift()
H A Dmachine_uart.c129 …enum { ARG_baudrate, ARG_bits, ARG_parity, ARG_stop, ARG_tx, ARG_rx, ARG_rts, ARG_cts, ARG_txbuf, … in machine_uart_init_helper() enumerator
200 switch (args[ARG_bits].u_int) { in machine_uart_init_helper()
/dports/lang/micropython/micropython-1.17/ports/esp8266/
H A Dmachine_uart.c68 …enum { ARG_baudrate, ARG_bits, ARG_parity, ARG_stop, ARG_tx, ARG_rx, ARG_rxbuf, ARG_timeout, ARG_t… in pyb_uart_init_helper() enumerator
90 switch (args[ARG_bits].u_int) { in pyb_uart_init_helper()
/dports/lang/micropython/micropython-1.17/extmod/
H A Dmachine_spi.c160 …enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, ARG_miso … in mp_machine_soft_spi_make_new() enumerator
182 if (args[ARG_bits].u_int != 8) { in mp_machine_soft_spi_make_new()