/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/ |
D | i2c_hal.c | 29 bk_err_t i2c_hal_set_baud_rate(i2c_hal_t *hal, uint32_t baud_rate) in i2c_hal_set_baud_rate() argument 31 uint32_t freq_div = I2C_CLK_DIVID(baud_rate); in i2c_hal_set_baud_rate() 38 uint32_t baud_rate = cfg->baud_rate; in i2c_hal_configure() local 39 if (!baud_rate) { in i2c_hal_configure() 40 baud_rate = I2C_DEFAULT_BAUD_RATE; in i2c_hal_configure() 42 uint32_t freq_div = I2C_CLK_DIVID(baud_rate); in i2c_hal_configure()
|
D | spi_hal.c | 87 spi_hal_set_baud_rate(hal, config->baud_rate); in spi_hal_configure() 126 bk_err_t spi_hal_set_baud_rate(spi_hal_t *hal, uint32_t baud_rate) in spi_hal_set_baud_rate() argument 129 uint32_t spi_clk = baud_rate; in spi_hal_set_baud_rate() 132 if (baud_rate > CONFIG_SPI_MAX_BAUD_RATE) { in spi_hal_set_baud_rate() 133 …HAL_LOGW("baud_rate(%d) not support, spi support max baud_rate:%d\r\n", baud_rate, CONFIG_SPI_MAX_… in spi_hal_set_baud_rate() 137 if (binary_search(s_spi_clk_list, ARRAY_SIZE(s_spi_clk_list), baud_rate) >= 0) { in spi_hal_set_baud_rate()
|
D | uart_hal.c | 41 uart_hal_set_baud_rate(hal, id, config->src_clk, config->baud_rate); in uart_hal_init_uart() 84 bk_err_t uart_hal_set_baud_rate(uart_hal_t *hal, uart_id_t id, uint32_t sclk, uint32_t baud_rate) in uart_hal_set_baud_rate() argument 88 clk_div = UART_CLOCK_FREQ_120M / baud_rate - 1; in uart_hal_set_baud_rate() 90 clk_div = UART_CLOCK / baud_rate - 1; in uart_hal_set_baud_rate()
|
/device/soc/esp/esp32/components/esp_rom/patches/ |
D | esp_rom_uart.c | 44 …M_ATTR void esp_rom_uart_set_clock_baudrate(uint8_t uart_no, uint32_t clock_hz, uint32_t baud_rate) in esp_rom_uart_set_clock_baudrate() argument 47 uart_div_modify(uart_no, (clock_hz << 4) / baud_rate); in esp_rom_uart_set_clock_baudrate()
|
/device/soc/esp/esp32/components/hal/ |
D | uart_hal.c | 28 void uart_hal_set_baudrate(uart_hal_context_t *hal, uint32_t baud_rate) in uart_hal_set_baudrate() argument 30 uart_ll_set_baudrate(hal->dev, baud_rate); in uart_hal_set_baudrate() 33 void uart_hal_get_baudrate(uart_hal_context_t *hal, uint32_t *baud_rate) in uart_hal_get_baudrate() argument 35 *baud_rate = uart_ll_get_baudrate(hal->dev); in uart_hal_get_baudrate()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/ |
D | cli_uart.c | 69 config.baud_rate = os_strtoul(argv[3], NULL, 10); in cli_uart_cmd() 160 uint32_t baud_rate = os_strtoul(argv[3], NULL, 10); in cli_uart_config_cmd() local 161 BK_LOG_ON_ERR(bk_uart_set_baud_rate(uart_id, baud_rate)); in cli_uart_config_cmd() 162 CLI_LOGI("uart(%d) config baud_rate:%d\n", uart_id, baud_rate); in cli_uart_config_cmd() 323 config.baud_rate = UART_BAUD_RATE; in cli_uart_test_cmd()
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/libraries/hal_flash/ |
D | hal_flash.c | 69 const uint32_t baud_rate[6] = {XQSPI_BAUD_RATE_64M, XQSPI_BAUD_RATE_48M, XQSPI_BAUD_RATE_16M, variable 88 g_xqspi_handle.init.baud_rate = baud_rate[clk_type]; in hal_flash_init()
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/drivers/inc/ |
D | gr55xx_ll_uart.h | 77 …uint32_t baud_rate; /**< This field defines expected Usart communication baud rate. member 249 .baud_rate = 9600U, \ 339 …NLINE void ll_uart_set_baud_rate(uart_regs_t *UARTx, uint32_t peripheral_clock, uint32_t baud_rate) in ll_uart_set_baud_rate() argument 341 register uint32_t uartdiv = LL_UART_DIV(peripheral_clock, baud_rate); in ll_uart_set_baud_rate() 347 WRITE_REG(UARTx->DLF, LL_UART_DLF(peripheral_clock, baud_rate)); in ll_uart_set_baud_rate()
|
D | gr55xx_ll_spi.h | 107 … uint32_t baud_rate; /**< Specifies the BaudRate prescaler value which will be used to member 194 …uint32_t baud_rate; /**< Specifies the BaudRate prescaler value which will be used… member 522 .baud_rate = SystemCoreClock / 2000000, \ 548 .baud_rate = SystemCoreClock / 1000000, \ 1351 __STATIC_INLINE void ll_spi_set_baud_rate_prescaler(ssi_regs_t *SPIx, uint32_t baud_rate) in ll_spi_set_baud_rate_prescaler() argument 1353 WRITE_REG(SPIx->BAUD, baud_rate); in ll_spi_set_baud_rate_prescaler()
|
D | gr55xx_hal_uart.h | 118 uint32_t baud_rate; /**< This member configures the UART communication baud rate. */ member 441 .baud_rate = 9600, \
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/uart/ |
D | uart_driver.c | 91 #define UART_RETURN_ON_BAUD_RATE_NOT_SUPPORT(baud_rate) do {\ argument 92 if ((baud_rate) < CONFIG_UART_MIN_BAUD_RATE ||\ 93 (baud_rate) > CONFIG_UART_MAX_BAUD_RATE) {\ 94 UART_LOGE("UART baud rate(%d) not support\r\n", (baud_rate));\ 549 UART_RETURN_ON_BAUD_RATE_NOT_SUPPORT(config->baud_rate); in bk_uart_init() 580 bk_err_t bk_uart_set_baud_rate(uart_id_t id, uint32_t baud_rate) in bk_uart_set_baud_rate() argument 584 UART_RETURN_ON_BAUD_RATE_NOT_SUPPORT(baud_rate); in bk_uart_set_baud_rate() 586 uart_hal_set_baud_rate(&s_uart[id].hal, id, uart_clk, baud_rate); in bk_uart_set_baud_rate()
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/startup/ |
D | board.c | 127 uart_0.config.baud_rate = UART_BAUDRATE_115200; in board_uart_init() 142 uart_config_struct.config.baud_rate = UART_BAUDRATE_115200; in board_uart_init()
|
/device/soc/esp/esp32/components/hal/include/hal/ |
D | uart_hal.h | 217 void uart_hal_set_baudrate(uart_hal_context_t *hal, uint32_t baud_rate); 422 void uart_hal_get_baudrate(uart_hal_context_t *hal, uint32_t *baud_rate);
|
D | uart_types.h | 140 int baud_rate; /*!< UART baud rate*/ member
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/hal/ |
D | hal_i2c_types.h | 59 uint32_t baud_rate; /**< i2c clock rate */ member
|
D | hal_uart_types.h | 101 uint32_t baud_rate; /**< UART baud rate */ member
|
D | hal_spi_types.h | 110 uint32_t baud_rate; /**< SPI transmit and receive SCK clock */ member
|
/device/soc/esp/esp32/components/esp_rom/include/ |
D | esp_rom_uart.h | 45 void esp_rom_uart_set_clock_baudrate(uint8_t uart_no, uint32_t clock_hz, uint32_t baud_rate);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
D | hi_uart.c | 66 uart_attr->baud_rate = attr->baud_rate; in init_uart_param() 97 attr->baud_rate = udd->attr.baud_rate; in get_uart_param()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_system/ |
D | printf_base.c | 50 .baud_rate = UART_BAUD_RATE, in bk_printf_init()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
D | app_demo_uart.c | 54 .baud_rate = 115200, /* baud_rate: 115200 */ in uart_demo()
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/hal/inc/ |
D | uart.h | 79 uint32_t baud_rate; member
|
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/iot_hardware/wifiiot_lite/ |
D | hal_iot_uart.c | 29 attr.baud_rate = param->baudRate; in IoTUartInit()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/ |
D | i2c.h | 210 bk_err_t bk_i2c_set_baud_rate(i2c_id_t id, uint32_t baud_rate);
|
D | spi.h | 133 bk_err_t bk_spi_set_baud_rate(spi_id_t id, uint32_t baud_rate);
|