/dports/lang/micropython/micropython-1.17/ports/zephyr/ |
H A D | machine_spi.c | 68 …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 97 .frequency = args[ARG_baudrate].u_int, in machine_hard_spi_make_new() 119 enum {ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit}; in machine_hard_spi_init() enumerator 137 if (args[ARG_baudrate].u_int != -1) { in machine_hard_spi_init() 138 baudrate = args[ARG_baudrate].u_int; in machine_hard_spi_init()
|
/dports/lang/micropython/micropython-1.17/ports/stm32/ |
H A D | machine_spi.c | 51 …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 89 spi_set_params(self->spi, 0xffffffff, args[ARG_baudrate].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 114 spi_set_params(self->spi, 0xffffffff, args[ARG_baudrate].u_int, in machine_hard_spi_init()
|
H A D | pyb_can.c | 177 …extframe, ARG_prescaler, ARG_sjw, ARG_bs1, ARG_bs2, ARG_auto_restart, ARG_baudrate, ARG_sample_poi… in pyb_can_init_helper() enumerator 200 if (args[ARG_baudrate].u_int != 0) { in pyb_can_init_helper() 201 uint32_t baudrate = args[ARG_baudrate].u_int; in pyb_can_init_helper()
|
/dports/lang/micropython/micropython-1.17/ports/rp2/ |
H A D | machine_spi.c | 96 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, A… in machine_spi_make_new() enumerator 147 self->baudrate = args[ARG_baudrate].u_int; in machine_spi_make_new() 168 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit }; in machine_spi_init() enumerator 183 if (args[ARG_baudrate].u_int != -1) { in machine_spi_init() 184 self->baudrate = spi_set_baudrate(self->spi_inst, args[ARG_baudrate].u_int); in machine_spi_init()
|
H A D | machine_uart.c | 166 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 200 if (args[ARG_baudrate].u_int > 0) { in machine_uart_make_new() 201 self->baudrate = args[ARG_baudrate].u_int; in machine_uart_make_new()
|
/dports/lang/micropython/micropython-1.17/extmod/ |
H A D | machine_spi.c | 160 …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 179 self->spi.delay_half = baudrate_to_delay_half(args[ARG_baudrate].u_int); in mp_machine_soft_spi_make_new() 206 enum { ARG_baudrate, ARG_polarity, ARG_phase, ARG_sck, ARG_mosi, ARG_miso }; in mp_machine_soft_spi_init() enumerator 218 if (args[ARG_baudrate].u_int != -1) { in mp_machine_soft_spi_init() 219 self->spi.delay_half = baudrate_to_delay_half(args[ARG_baudrate].u_int); in mp_machine_soft_spi_init()
|
/dports/lang/micropython/micropython-1.17/ports/esp8266/ |
H A D | machine_hspi.c | 106 enum { ARG_baudrate, ARG_polarity, ARG_phase }; in machine_hspi_init() enumerator 116 if (args[ARG_baudrate].u_int != -1) { in machine_hspi_init() 117 self->baudrate = args[ARG_baudrate].u_int; in machine_hspi_init()
|
H A D | machine_uart.c | 68 …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 84 if (args[ARG_baudrate].u_int > 0) { in pyb_uart_init_helper() 85 self->baudrate = args[ARG_baudrate].u_int; in pyb_uart_init_helper()
|
/dports/lang/micropython/micropython-1.17/ports/mimxrt/ |
H A D | machine_spi.c | 120 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_gap_ns, ARG_driv… in machine_spi_make_new() enumerator 170 self->master_config->baudRate = args[ARG_baudrate].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 201 if (args[ARG_baudrate].u_int != -1) { in machine_spi_init() 202 self->master_config->baudRate = args[ARG_baudrate].u_int; in machine_spi_init()
|
H A D | machine_uart.c | 131 enum { ARG_baudrate, ARG_bits, ARG_parity, ARG_stop, in machine_uart_init_helper() enumerator 150 if (args[ARG_baudrate].u_int > 0) { in machine_uart_init_helper() 151 self->config.baudRate_Bps = args[ARG_baudrate].u_int; in machine_uart_init_helper()
|
/dports/lang/micropython/micropython-1.17/ports/nrf/modules/machine/ |
H A D | uart.c | 185 enum { ARG_id, ARG_baudrate }; in machine_hard_uart_make_new() enumerator 217 if (args[ARG_baudrate].u_int < 1200 || args[ARG_baudrate].u_int > 1000000) { in machine_hard_uart_make_new() 229 …config.baudrate = args[ARG_baudrate].u_int / 400 * (uint32_t)(400ULL * (uint64_t)UINT32_MAX / 1600… in machine_hard_uart_make_new()
|
/dports/lang/micropython/micropython-1.17/ports/esp32/ |
H A D | machine_hw_spi.c | 380 …enum { ARG_id, ARG_baudrate, ARG_polarity, ARG_phase, ARG_bits, ARG_firstbit, ARG_sck, ARG_mosi, A… in machine_hw_spi_init() enumerator 422 machine_hw_spi_init_internal(self, args[ARG_id].u_int, args[ARG_baudrate].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 485 args[ARG_baudrate].u_int, in machine_hw_spi_make_new()
|
H A D | machine_uart.c | 129 …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 177 if (args[ARG_baudrate].u_int > 0) { in machine_uart_init_helper() 178 uart_set_baudrate(self->uart_num, args[ARG_baudrate].u_int); in machine_uart_init_helper()
|