UsbSerial_Params
typedef struct UsbSerial_Params {...} __attribute__((aligned(8))) UsbSerial_Params
概述
定义USB Serial DDK使用的USB串口参数。
起始版本: 18
相关模块: USBSerialDDK
所在头文件: usb_serial_types.h
汇总
成员变量
| 名称 | 描述 |
|---|---|
| uint32_t baudRate | 波特率,单位为波特。 |
| uint8_t nDataBits | 数据位比特数。 |
| uint8_t nStopBits | 停止位比特数。 |
| uint8_t parity | 校验参数设置(0:无校验;1:奇校验;2:偶校验;3:1校验;4:0校验;)。 |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request
openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor
openharmony 鸿蒙 capi-hidddk-hid-absaxesarray
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response
openharmony 鸿蒙 capi-scsi-peripheral-api-h
openharmony 鸿蒙 capi-hidddk-hid-relaxesarray