Home
last modified time | relevance | path

Searched full:baud (Results 1 – 25 of 130) sorted by relevance

123456

/Zephyr-Core-3.5.0/soc/x86/apollo_lake/doc/
Dsupported_features.txt18 Baud rates beyond 115.2kbps (up to 3.6864Mbps) are supported, with additional
20 in turn outputs the baud master clock. The PLL is controlled by a per-UART
30 The resulting baud master clock frequency is ``(n/m)`` * master.
34 results in the de-facto standard 1.8432MHz master clock and a max baud rate
35 of 115.2k. Higher baud rates are enabled by changing the PCP and telling
56 and ``clock-frequency`` (the resulting baud master clock). The meaning of
57 ``current-speed`` is unchanged, and as usual indicates the initial baud rate.
/Zephyr-Core-3.5.0/scripts/west_commands/runners/
Desp32.py19 app_address, erase=False, reset=False, baud=921600, argument
32 self.baud = baud
63 parser.add_argument('--esp-baud-rate', default='921600',
64 help='serial baud rate, default 921600')
96 baud=args.esp_baud_rate, flash_size=args.esp_flash_size,
116 cmd_flash.extend(['--baud', self.baud])
133 format(self.device, self.baud))
Dstm32flash.py19 def __init__(self, cfg, device, action='write', baud=57600, argument
26 self.baud = baud
56 parser.add_argument('--baud-rate', default='57600', required=False,
60 help='serial baud rate, default \'57600\'')
83 baud=args.baud_rate, force_binary=args.force_binary,
94 cmd_flash = ['stm32flash', '-b', self.baud,
/Zephyr-Core-3.5.0/include/zephyr/drivers/uart/
Dcdc_acm.h25 * @brief A function that is called when the USB host changes the baud
29 * @param rate New USB baud rate
37 * The callback is invoked when the USB host changes the baud rate.
/Zephyr-Core-3.5.0/drivers/serial/
Duart_opentitan.c65 /* Set baud and enable TX and RX. */ in uart_opentitan_init()
102 /* The baud rate is set by writing to the CTRL.NCO register, which is
103 * calculated based on baud ticks per system clock tick multiplied by a
106 #define NCO_REG(baud, clk) (BIT64(20) * (baud) / (clk)) argument
Duart_stellaris.c81 uint32_t baud_rate; /* Baud rate */
118 * @brief Set the baud rate
120 * This routine set the given baud rate for the UART.
123 * @param baudrate Baud rate
138 * floating part of baud rate (LM3S6965 p.433), equivalent to in baudrate_set()
143 /* integer part of baud rate (LM3S6965 p.433) */ in baudrate_set()
358 uint32_t saved_ibrd; /* saved UARTIBRD (integer baud rate) register */ in uart_stellaris_irq_tx_enable()
359 uint32_t saved_fbrd; /* saved UARTFBRD (fractional baud rate) register in uart_stellaris_irq_tx_enable()
373 /* save current control and baud rate settings */ in uart_stellaris_irq_tx_enable()
389 /* restore control and baud rate settings */ in uart_stellaris_irq_tx_enable()
Duart_xlnx_ps.c52 #define XUARTPS_BAUDGEN_OFFSET 0x0018U /**< Baud Rate Generator [15:0] */
59 #define XUARTPS_BAUDDIV_OFFSET 0x0034U /**< Baud Rate Divider [7:0] */
219 * the target baud rate, which is provided as a decimal value.
222 * registers is described in the Zynq-7000 TRM, chapter 19.2.3 'Baud Rate
226 * @param baud_rate The desired baud rate as a decimal value
231 uint32_t baud = dev_cfg->baud_rate; in set_baudrate() local
236 /* Calculate divisor and baud rate generator value */ in set_baudrate()
237 if ((baud != 0) && (clk_freq != 0)) { in set_baudrate()
239 if (clk_freq < 1000000U && baud > 4800U) { in set_baudrate()
240 baud = 4800; in set_baudrate()
[all …]
/Zephyr-Core-3.5.0/boards/xtensa/m5stickc_plus/
Dboard.cmake11 # the default ESP32 baud rate is not supported
12 board_runner_args(esp32 "--esp-baud-rate=1500000")
/Zephyr-Core-3.5.0/dts/bindings/serial/
Dnordic,nrf-uart-common.yaml21 Initial baud rate setting for UART. Only a fixed set of baud
Dzephyr,native-tty-uart.yaml16 Initial baud rate setting for UART. Only a fixed set of baud rates are
Drenesas,smartbond-uart.yaml21 Initial baud rate setting for UART. Only a fixed set of baud
Dcdns,uart.yaml16 description: Baud Rate in bps.
24 description: Baud Rate Divide register value.
Daltr,uart.yaml19 Baud rate cannot be changed by software (Divisor register is not writable)
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_sam0.c539 uint32_t baud; in i2c_sam0_set_apply_bitrate() local
560 baud = (SOC_ATMEL_SAM0_GCLK0_FREQ_HZ / 100000U - 5U - 10U) / 2U; in i2c_sam0_set_apply_bitrate()
561 if (baud > 255U || baud < 1U) { in i2c_sam0_set_apply_bitrate()
566 dev->name, baud); in i2c_sam0_set_apply_bitrate()
568 i2c->BAUD.reg = SERCOM_I2CM_BAUD_BAUD(baud); in i2c_sam0_set_apply_bitrate()
577 baud = (SOC_ATMEL_SAM0_GCLK0_FREQ_HZ / 400000U - 5U - 10U) / 2U; in i2c_sam0_set_apply_bitrate()
578 if (baud > 255U || baud < 1U) { in i2c_sam0_set_apply_bitrate()
583 dev->name, baud); in i2c_sam0_set_apply_bitrate()
585 i2c->BAUD.reg = SERCOM_I2CM_BAUD_BAUD(baud); in i2c_sam0_set_apply_bitrate()
597 baud = (SOC_ATMEL_SAM0_GCLK0_FREQ_HZ / 1000000U - 5U - 10U); in i2c_sam0_set_apply_bitrate()
[all …]
/Zephyr-Core-3.5.0/soc/arm/microchip_mec/common/reg/
Dmec_uart.h24 * LCR DLAB=1, BAUD rate divisor LSB
32 * LCR DLAB=1, BAUD rate divisor MSB
144 /* BAUD rate generator */
160 /* 24MHz internal clock source. n = 24e6 / (BAUD * 16) = 1500000 / BAUD */
/Zephyr-Core-3.5.0/subsys/usb/device/class/
DKconfig.cdc49 bool "Support callbacks when the USB host changes the virtual baud rate"
53 remote host changes the virtual baud rate. This is used
/Zephyr-Core-3.5.0/soc/arm/atmel_sam0/common/
Dbossa.c35 /* The programmer set the baud rate to 1200 baud. Reset into the in bossa_reset()
/Zephyr-Core-3.5.0/tests/subsys/modbus/src/
Dtest_modbus_server.c181 .baud = MB_TEST_BAUDRATE_LOW,
205 server_param.serial.baud = MB_TEST_BAUDRATE_LOW; in test_server_setup_low_odd()
222 server_param.serial.baud = MB_TEST_BAUDRATE_LOW; in test_server_setup_low_none()
239 server_param.serial.baud = MB_TEST_BAUDRATE_HIGH; in test_server_setup_high_even()
256 server_param.serial.baud = MB_TEST_BAUDRATE_HIGH; in test_server_setup_ascii()
/Zephyr-Core-3.5.0/scripts/west_commands/tests/
Dtest_stm32flash.py85 action=action, baud=TEST_BAUD, force_binary=TEST_FORCE_BINARY,
100 args = ['--action', action, '--baud-rate', TEST_BAUD, '--start-addr', TEST_ADDR,
103 args = ['--action', action, '--baud-rate', TEST_BAUD, '--start-addr', TEST_ADDR]
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py23 baud: int = 115200 variable in DeviceConfig
55 baud=config.option.device_serial_baud,
/Zephyr-Core-3.5.0/boards/arm/96b_wistrio/
Dboard.cmake3 board_runner_args(stm32flash "--baud-rate=115200" "--start-addr=0x08000000")
/Zephyr-Core-3.5.0/dts/bindings/test/
Dvnd,serial.yaml8 baud-rate:
/Zephyr-Core-3.5.0/arch/x86/core/
Dearly_serial.c51 #define REG_BRDL 0x00 /* Baud rate divisor (LSB) */
52 #define REG_BRDH 0x01 /* Baud rate divisor (MSB) */
106 OUT(REG_BRDL, 1); /* Baud divisor = 1 */ in z_x86_early_serial_init()
/Zephyr-Core-3.5.0/subsys/mgmt/osdp/
DKconfig31 int "OSDP UART baud rate"
34 OSDP defines that baud rate can be either 9600 or 38400 or
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Dhardwaremap.py55 self.baud = serial_baud or 115200
178 baud=self.options.device_serial_baud,
210 …def add_device(self, serial, platform, pre_script, is_pty, baud=None, flash_timeout=60, flash_with… argument
211 device = DUT(platform=platform, connected=True, pre_script=pre_script, serial_baud=baud,
238 baud = dut.get('baud', None)
251 serial_baud=baud,

123456