Home
last modified time | relevance | path

Searched refs:stopBits (Results 1 - 10 of 10) sorted by relevance

/drivers/hdf_core/framework/sample/platform/uart/src/
H A Duart_pl011_sample.c56 void UartPl011SetDataFormat(struct UartRegisterMap *regMap, uint32_t wordLen, uint32_t parity, uint32_t stopBits) in UartPl011SetDataFormat() argument
62 lcr |= stopBits & UART_PL011_LCR_H_STOPBIT_MASK; in UartPl011SetDataFormat()
/drivers/hdf_core/adapter/platform/uart/
H A Duart_gr5xx.c107 uint32_t stopBits; in GetUartStopBits() local
111 stopBits = UART_STOPBITS_1; in GetUartStopBits()
114 stopBits = UART_STOPBITS_1_5; in GetUartStopBits()
117 stopBits = UART_STOPBITS_2; in GetUartStopBits()
120 stopBits = UART_STOPBITS_1; in GetUartStopBits()
124 return stopBits; in GetUartStopBits()
163 params->init.stop_bits = GetUartStopBits(udd->attr.stopBits); in Gr5xxUartConfig()
652 udd->attr.stopBits = DEFAULT_STOPBITS; in UartDevAttach()
H A Duart_asr.c144 uint32_t stopBits; in GetUartStopBits() local
148 stopBits = STOP_1BIT; in GetUartStopBits()
151 stopBits = STOP_2BITS; in GetUartStopBits()
154 stopBits = STOP_1BIT; in GetUartStopBits()
158 return stopBits; in GetUartStopBits()
213 params->config.stop_bits = GetUartStopBits(udd->attr.stopBits); in Asr582xUartConfig()
608 udd->attr.stopBits = DEFAULT_STOPBITS; in UartDevAttach()
H A Duart_wm.c556 switch (attribute->stopBits) { in UartHostDevSetAttribute()
600 attribute->stopBits = UART_ATTR_STOPBIT_1; in UartHostDevGetAttribute()
603 attribute->stopBits = UART_ATTR_STOPBIT_2; in UartHostDevGetAttribute()
606 attribute->stopBits = UART_ATTR_STOPBIT_1; in UartHostDevGetAttribute()
H A Duart_stm32f4xx.c836 attribute->stopBits = UART_ATTR_STOPBIT_1;
839 attribute->stopBits = UART_ATTR_STOPBIT_1P5;
842 attribute->stopBits = UART_ATTR_STOPBIT_2;
845 attribute->stopBits = UART_ATTR_PARITY_NONE;
849 switch (attribute->stopBits) {
H A Duart_bes.c868 switch (attribute->stopBits) {
871 uartCfg->stop = attribute->stopBits;
936 attribute->stopBits = uartCfg->stop;
/drivers/hdf_core/framework/include/platform/
H A Duart_if.h131 unsigned int stopBits : 4; member
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Duart_test.c205 attribute.stopBits = UART_ATTR_STOPBIT_1; in UartSetAttributeTest()
231 HDF_LOGD("UartGetAttributeTest: stopBits %u", attribute.stopBits); in UartGetAttributeTest()
/drivers/hdf_core/framework/sample/platform/uart/include/
H A Duart_pl011_sample.h218 void UartPl011SetDataFormat(struct UartRegisterMap *regMap, uint32_t wordLen, uint32_t parity, uint32_t stopBits);
/drivers/hdf_core/adapter/khdf/linux/platform/uart/
H A Duart_adapter.c438 attribute->stopBits = StopBitToAttr(termios.c_cflag); in UartAdapterGetAttribute()
480 if (attribute->stopBits == UART_ATTR_STOPBIT_2) { in UartAdapterSetAttribute()

Completed in 11 milliseconds