Home
last modified time | relevance | path

Searched refs:data_bits (Results 1 – 25 of 47) sorted by relevance

12

/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/uart/
Duart_esp32u4.c44 #define OH_ESP_DATABITS_EX(data_bits) (3 - (data_bits)) argument
66 … uart_config->data_bits = GetWordLengthFromStr(cur_uart_attr.data_bits); \
74 … HDF_LOGE("data_bits = %s[%d]", cur_uart_attr.data_bits, uart_config->data_bits); \
122 char *data_bits; member
132 int data_bits; member
276 uartConfig.data_bits = uart_config->data_bits; in UartHostDevInit()
405 uart_config->data_bits = OH_ESP_DATABITS_EX(attribute->dataBits); in UartHostDevSetAttribute()
432 attribute->dataBits = OH_ESP_DATABITS_EX(uart_config->data_bits); in UartHostDevGetAttribute()
/device/soc/beken/bk7235/hals/iot_hardware/wifiiot_lite/
Dhal_iot_uart.c36 dst->data_bits = UART_DATA_5_BITS; in convert_uart_config()
38 dst->data_bits = UART_DATA_6_BITS; in convert_uart_config()
40 dst->data_bits = UART_DATA_7_BITS; in convert_uart_config()
42 dst->data_bits = UART_DATA_8_BITS; in convert_uart_config()
/device/board/kaihong/khdvk_3566b/kernel/bluetooth/src/
Duserial_vendor.c199 uint8_t data_bits; in userial_vendor_open() local
203 (void) data_bits; in userial_vendor_open()
213 data_bits = CS8; in userial_vendor_open()
215 data_bits = CS7; in userial_vendor_open()
217 data_bits = CS6; in userial_vendor_open()
219 data_bits = CS5; in userial_vendor_open()
/device/board/osware/imx8mm/drivers/bluetooth/source/src/
Duserial_vendor.c198 uint8_t data_bits; in userial_vendor_open() local
209 data_bits = CS8; in userial_vendor_open()
211 data_bits = CS7; in userial_vendor_open()
213 data_bits = CS6; in userial_vendor_open()
215 data_bits = CS5; in userial_vendor_open()
/device/soc/goodix/gr551x/adapter/hals/iot_hardware/wifiiot_lite/
Dhal_iot_uart.c114 params->init.data_bits = UART_DATABITS_5; in uart_cfg()
117 params->init.data_bits = UART_DATABITS_6; in uart_cfg()
120 params->init.data_bits = UART_DATABITS_7; in uart_cfg()
123 params->init.data_bits = UART_DATABITS_8; in uart_cfg()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/
Dcli_uart.c70 config.data_bits = os_strtoul(argv[4], NULL, 10); in cli_uart_cmd()
165 uint32_t data_bits = os_strtoul(argv[3], NULL, 10); in cli_uart_config_cmd() local
166 BK_LOG_ON_ERR(bk_uart_set_data_bits(uart_id, data_bits)); in cli_uart_config_cmd()
167 CLI_LOGI("uart(%d) config data_bits:%d\n", uart_id, data_bits); in cli_uart_config_cmd()
324 config.data_bits = UART_DATA_8_BITS; in cli_uart_test_cmd()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/drivers/inc/
Dgr55xx_ll_uart.h81 uint32_t data_bits; /**< Specifies the number of member
250 .data_bits = LL_UART_DATABITS_8B, \
396 __STATIC_INLINE void ll_uart_set_data_bits_length(uart_regs_t *UARTx, uint32_t data_bits) in ll_uart_set_data_bits_length() argument
398 MODIFY_REG(UARTx->LCR, UART_LCR_DLS, data_bits); in ll_uart_set_data_bits_length()
546 __STATIC_INLINE void ll_uart_config_character(uart_regs_t *UARTx, uint32_t data_bits, in ll_uart_config_character() argument
549 …FY_REG(UARTx->LCR, UART_LCR_PARITY | UART_LCR_STOP | UART_LCR_DLS, parity | stop_bits | data_bits); in ll_uart_config_character()
Dgr55xx_hal_uart.h120 …uint32_t data_bits; /**< Specifies the number of data bits transmitted or received in a fr… member
442 .data_bits = UART_DATABITS_8, \
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/stdio_uart/
Dstdio_uart.c138 uint8_t data_bits = (uint8_t)(bits - 5); in stdio_uart_format_set() local
148 data_bits); //data bits 0 = 5 bits, 1 = 6 bits, 2 = 7 bits, 3 = 8 bits in stdio_uart_format_set()
/device/board/openvalley/niobeu4/liteos_m/hals/iot_hardware/wifiiot_lite/
Dhal_iot_uart.c157 uart->attr.data_bits = HoDataBitsToESPDataBits(param->dataBits); in IoTUartInit()
158 assert(uart->attr.data_bits != UART_DATA_BITS_MAX); in IoTUartInit()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/
Dhi_uart.c67 uart_attr->data_bits = attr->data_bits; in init_uart_param()
98 attr->data_bits = udd->attr.data_bits; in get_uart_param()
Duart.c240 && attr->data_bits <= 8 && attr->data_bits >= 5 /* bits>=5 bits<=8 */ in uart_check_ioctrl_param()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_system/
Dprintf_base.c51 .data_bits = UART_DATA_8_BITS, in bk_printf_init()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/hal/
Dhal_uart_types.h102 uart_data_bits_t data_bits; /**< UART data bits */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
Dapp_demo_uart.c55 .data_bits = 8, /* data_bits: 8bits */ in uart_demo()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/include/
Duart_hal.h56 #define uart_hal_set_data_bits(hal, id, data_bits) uart_ll_set_data_bits((hal)->hw, id, data_bits) argument
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/iot_hardware/wifiiot_lite/
Dhal_iot_uart.c30 attr.data_bits = param->dataBits; in IoTUartInit()
/device/soc/esp/esp32/components/hal/include/hal/
Duart_types.h141 uart_word_length_t data_bits; /*!< UART byte size*/ member
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/usb/usb_dev/inc/
Dusb_cdc.h86 uint8_t data_bits; member
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/soc/
Duart_struct.h34 uint32_t data_bits: 2; /**< bit[3:4] data bits */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_uart.h135 hi_u8 data_bits; /**< Data bit. CNcomment:数据位。CNend */ member
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
Ddrv_rsa.h154 rsa_data_bits_e data_bits,
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/
Duart.h122 bk_err_t bk_uart_set_data_bits(uart_id_t id, uart_data_bits_t data_bits);
/device/board/bearpi/bearpi_hm_nano/app/B6_basic_uart/
DREADME.md73 //data_bits: 8bits
/device/soc/goodix/gr551x/sdk_liteos/platform/uart/
Duart.c51 uart_param.init.data_bits = UART_DATABITS_8; in bsp_uart_init()

12