openharmony 鸿蒙 capi-serialddk-usbserial-params

2026-08-25 浏览 (1)

UsbSerial_Params

typedef struct UsbSerial_Params {...} __attribute__((aligned(8))) UsbSerial_Params

Overview

Defines the USB serial port parameters for the USB Serial DDK.

Since: 18

Related module: USBSerialDDK

Header file: usb_serial_types.h

Summary

Member Variables

NameDescription
uint32_t baudRateBaud rate, in bauds.
uint8_t nDataBitsNumber of data bits.
uint8_t nStopBitsNumber of stop bits.
uint8_t parityParity parameter setting. 0: no parity; 1: odd parity; 2: even parity; 3: mark parity (parity bit always 1); 4: space parity (parity bit always 0)

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request

openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor

openharmony 鸿蒙 capi-hidddk

openharmony 鸿蒙 capi-usbddk

openharmony 鸿蒙 capi-hidddk-hid-absaxesarray

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response

openharmony 鸿蒙 capi-scsi-peripheral-api-h

openharmony 鸿蒙 capi-hidddk-hid-relaxesarray

openharmony 鸿蒙 js-apis-driver-deviceManager

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/kgo77eB5