/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_lpc11u6x.c | 82 uint32_t baudrate) in lpc11u6x_uart0_config_baudrate() argument 89 * LPC11U6X_UART0_CLK so that we can have every baudrate that is in lpc11u6x_uart0_config_baudrate() 96 dl = pclk / (16 * baudrate + 16 * baudrate / mul); in lpc11u6x_uart0_config_baudrate() 98 /* Configure clock divisor and fractional baudrate generator */ in lpc11u6x_uart0_config_baudrate() 112 /* Check that the baudrate is a multiple of 9600 */ in lpc11u6x_uart0_configure() 113 if (cfg->baudrate % 9600) { in lpc11u6x_uart0_configure() 178 lpc11u6x_uart0_config_baudrate(clk_dev, dev_cfg, cfg->baudrate); in lpc11u6x_uart0_configure() 181 data->baudrate = cfg->baudrate; in lpc11u6x_uart0_configure() 195 cfg->baudrate = data->baudrate; in lpc11u6x_uart0_config_get() 374 /* Configure baudrate, parity and stop bits */ in lpc11u6x_uart0_init() [all …]
|
D | uart_esp32.c | 174 cfg->baudrate = data->uart_config.baudrate; in uart_esp32_config_get() 196 static int uart_esp32_set_baudrate(const struct device *dev, int baudrate) in uart_esp32_set_baudrate() argument 206 uint32_t clk_div = (((sys_clk_freq) << 4) / baudrate); in uart_esp32_set_baudrate() 311 if (uart_esp32_set_baudrate(dev, cfg->baudrate)) { in uart_esp32_configure() 312 DEV_DATA(dev)->uart_config.baudrate = cfg->baudrate; in uart_esp32_configure() 506 .baudrate = DT_PROP(DT_NODELABEL(uart##idx), current_speed),\
|
D | uart_lpc11u6x.h | 132 uint32_t baudrate; member 144 uint32_t baudrate; member 176 uint32_t baudrate; member 185 uint32_t baudrate; member
|
D | uart_numicro.c | 132 UART_SetLineConfig(UART_STRUCT(dev), cfg->baudrate, databits, in uart_numicro_configure() 174 UART_Open(UART_STRUCT(dev), ddata->ucfg.baudrate); in uart_numicro_init() 201 .baudrate = DT_INST_PROP(index, current_speed), \
|
D | uart_sam.c | 52 static int baudrate_set(Uart *const uart, uint32_t baudrate, 146 static int baudrate_set(Uart *const uart, uint32_t baudrate, in baudrate_set() argument 151 __ASSERT(baudrate, in baudrate_set() 153 __ASSERT(mck_freq_hz/16U >= baudrate, in baudrate_set() 156 divisor = mck_freq_hz / 16U / baudrate; in baudrate_set()
|
D | usart_sam.c | 52 static int baudrate_set(Usart *const usart, uint32_t baudrate, 147 static int baudrate_set(Usart *const usart, uint32_t baudrate, in baudrate_set() argument 152 __ASSERT(baudrate, in baudrate_set() 154 __ASSERT(mck_freq_hz/16U >= baudrate, in baudrate_set() 157 divisor = mck_freq_hz / 16U / baudrate; in baudrate_set()
|
D | uart_sam0.c | 33 uint32_t baudrate; member 109 static int uart_sam0_set_baudrate(SercomUsart *const usart, uint32_t baudrate, in uart_sam0_set_baudrate() argument 115 tmp = (uint64_t)baudrate << 20; in uart_sam0_set_baudrate() 480 retval = uart_sam0_set_baudrate(usart, new_cfg->baudrate, in uart_sam0_configure() 486 dev_data->config_cache.baudrate = new_cfg->baudrate; in uart_sam0_configure() 559 retval = uart_sam0_set_baudrate(usart, cfg->baudrate, in uart_sam0_init() 564 dev_data->config_cache.data_bits = cfg->baudrate; in uart_sam0_init() 1226 .baudrate = DT_INST_PROP(n, current_speed), \ 1241 .baudrate = DT_INST_PROP(n, current_speed), \
|
D | uart_nrfx_uart.c | 26 #define BAUDRATE PROP(current_speed) macro 131 * @param baudrate Baud rate 136 static int baudrate_set(const struct device *dev, uint32_t baudrate) in baudrate_set() argument 138 nrf_uart_baudrate_t nrf_baudrate; /* calculated baudrate divisor */ in baudrate_set() 140 switch (baudrate) { in baudrate_set() 381 if (baudrate_set(dev, cfg->baudrate) != 0) { in uart_nrfx_configure() 1173 .baudrate = BAUDRATE,
|
D | uart_xmc4xxx.c | 69 .config.baudrate = DT_INST_PROP(index, current_speed) \
|
D | uart_b91.c | 141 static void uart_b91_cal_div_and_bwpc(uint32_t baudrate, uint32_t pclk, in uart_b91_cal_div_and_bwpc() argument 150 primeInt = pclk / baudrate; in uart_b91_cal_div_and_bwpc() 151 primeDec = 10 * pclk / baudrate - 10 * primeInt; in uart_b91_cal_div_and_bwpc() 283 uart_b91_cal_div_and_bwpc(cfg->baudrate, sys_clk.pclk * 1000 * 1000, ÷r, &bwpc); in uart_b91_configure()
|
/Zephyr-Core-2.7.6/samples/subsys/usb/cdc_acm/src/ |
D | main.c | 78 uint32_t baudrate, dtr = 0U; in main() local 123 ret = uart_line_ctrl_get(dev, UART_LINE_CTRL_BAUD_RATE, &baudrate); in main() 125 LOG_WRN("Failed to get baudrate, ret code %d", ret); in main() 127 LOG_INF("Baudrate detected: %d", baudrate); in main()
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_mcux_lpi2c.c | 22 #define SCAN_DELAY_US(baudrate) (12 * USEC_PER_SEC / baudrate) argument 47 uint32_t baudrate; in mcux_lpi2c_configure() local 60 baudrate = KHZ(100); in mcux_lpi2c_configure() 63 baudrate = KHZ(400); in mcux_lpi2c_configure() 66 baudrate = MHZ(1); in mcux_lpi2c_configure() 82 LPI2C_MasterSetBaudRate(base, clock_freq, baudrate); in mcux_lpi2c_configure()
|
D | i2c_rv32m1_lpi2c.c | 42 uint32_t baudrate; in rv32m1_lpi2c_configure() local 60 baudrate = KHZ(100); in rv32m1_lpi2c_configure() 63 baudrate = KHZ(400); in rv32m1_lpi2c_configure() 66 baudrate = MHZ(1); in rv32m1_lpi2c_configure() 70 /* baudrate = KHZ(3400); */ in rv32m1_lpi2c_configure() 74 /* baudrate = MHZ(5); */ in rv32m1_lpi2c_configure() 87 LPI2C_MasterSetBaudRate(config->base, clk_freq, baudrate); in rv32m1_lpi2c_configure()
|
D | i2c_gecko.c | 83 uint32_t baudrate; in i2c_gecko_configure() local 91 baudrate = KHZ(100); in i2c_gecko_configure() 94 baudrate = KHZ(400); in i2c_gecko_configure() 97 baudrate = MHZ(1); in i2c_gecko_configure() 104 i2cInit.freq = baudrate; in i2c_gecko_configure()
|
D | i2c_mcux.c | 49 uint32_t baudrate; in i2c_mcux_configure() local 61 baudrate = KHZ(100); in i2c_mcux_configure() 64 baudrate = KHZ(400); in i2c_mcux_configure() 67 baudrate = MHZ(1); in i2c_mcux_configure() 75 I2C_MasterSetBaudRate(base, baudrate, clock_freq); in i2c_mcux_configure()
|
D | i2c_mcux_flexcomm.c | 40 uint32_t baudrate; in mcux_flexcomm_configure() local 52 baudrate = KHZ(100); in mcux_flexcomm_configure() 55 baudrate = KHZ(400); in mcux_flexcomm_configure() 58 baudrate = MHZ(1); in mcux_flexcomm_configure() 70 I2C_MasterSetBaudRate(base, baudrate, clock_freq); in mcux_flexcomm_configure()
|
D | i2c_imx.c | 130 uint32_t baudrate; in i2c_imx_configure() local 152 baudrate = KHZ(100); in i2c_imx_configure() 155 baudrate = KHZ(400); in i2c_imx_configure() 158 baudrate = MHZ(1); in i2c_imx_configure() 166 .baudRate = baudrate, in i2c_imx_configure()
|
/Zephyr-Core-2.7.6/samples/subsys/usb/cdc_acm_composite/src/ |
D | main.c | 88 uint32_t baudrate; in uart_line_set() local 105 ret = uart_line_ctrl_get(dev, UART_LINE_CTRL_BAUD_RATE, &baudrate); in uart_line_set() 107 LOG_DBG("Failed to get baudrate, ret code %d", ret); in uart_line_set() 109 LOG_DBG("Baudrate detected: %d", baudrate); in uart_line_set()
|
/Zephyr-Core-2.7.6/samples/subsys/usb/cdc_acm_composite/ |
D | README.rst | 53 Baudrate detected: 115200 54 Baudrate detected: 115200
|
/Zephyr-Core-2.7.6/samples/bluetooth/hci_uart/ |
D | README.rst | 22 * Baudrate: 1Mbit/s 75 If using the BBC micro:bit you will need to modify the baudrate argument 108 If using the BBC micro:bit you will need to modify the baudrate argument
|
/Zephyr-Core-2.7.6/dts/bindings/wifi/ |
D | espressif,esp-at.yaml | 26 UART baudrate which will be requested using AT commands and to which
|
/Zephyr-Core-2.7.6/subsys/debug/gdbstub/ |
D | gdbstub_backend_serial.c | 17 .baudrate = 115200, in z_gdb_backend_init()
|
/Zephyr-Core-2.7.6/samples/net/wpan_serial/src/ |
D | main.c | 531 uint32_t baudrate, dtr = 0U; in main() local 564 ret = uart_line_ctrl_get(dev, UART_LINE_CTRL_BAUD_RATE, &baudrate); in main() 566 LOG_WRN("Failed to get baudrate, ret code %d", ret); in main() 568 LOG_DBG("Baudrate detected: %d", baudrate); in main()
|
/Zephyr-Core-2.7.6/scripts/tracing/ |
D | trace_capture_uart.py | 22 help="serial baudrate")
|
/Zephyr-Core-2.7.6/samples/sensor/tmp116/ |
D | README.rst | 51 * Baudrate: 115200
|