文件名称:
UartAttribute.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
5.67 KB
下载地址:
文本预览:
# UartAttribute
## **Overview**
**Related Modules:**
[UART](UART.md)
**Description:**
Defines basic attributes of the UART port.
You can configure the attributes via [UartSetAttribute](UART.md#gadb447d9e1624cf778175af2d827c9d67). If the parameters are not set, default attributes are used.
**Since:**
1.0
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## cts
```
unsigned int UartAttribute::cts
```
## dataBits
```
unsigned int UartAttribute::dataBits
```
## fifoRxEn
```
unsigned int UartAttribute::fifoRxEn
```
## fifoTxEn
```
unsigned int UartAttribute::fifoTxEn
```
## parity
```
unsigned int UartAttribute::parity
```
## reserved
```
unsigned int UartAttribute::reserved
```
**Description:**
Reserved bits
## rts
```
unsigned int UartAttribute::rts
```
## stopBits
```
unsigned int UartAttribute::stopBits
```
## **Overview**
**Related Modules:**
[UART](UART.md)
**Description:**
Defines basic attributes of the UART port.
You can configure the attributes via [UartSetAttribute](UART.md#gadb447d9e1624cf778175af2d827c9d67). If the parameters are not set, default attributes are used.
**Since:**
1.0
## **Summary**
## Data Fields
dataBits: 4 | |
parity: 4 | |
stopBits: 4 | |
rts: 1 | |
cts: 1 | |
fifoRxEn: 1 | |
fifoTxEn: 1 | |
reserved: 16 |
## **Details**
## **Field Documentation**
## cts
```
unsigned int UartAttribute::cts
```
## dataBits
```
unsigned int UartAttribute::dataBits
```
## fifoRxEn
```
unsigned int UartAttribute::fifoRxEn
```
## fifoTxEn
```
unsigned int UartAttribute::fifoTxEn
```
## parity
```
unsigned int UartAttribute::parity
```
## reserved
```
unsigned int UartAttribute::reserved
```
**Description:**
Reserved bits
## rts
```
unsigned int UartAttribute::rts
```
## stopBits
```
unsigned int UartAttribute::stopBits
```
点赞
回复
X