MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / stopBitsList

Method stopBitsList

app/src/IO/Drivers/UART.cpp:415–422  ·  view source on GitHub ↗

* @brief Returns a list with the available stop bits configurations. */

Source from the content-addressed store, hash-verified

413 * @brief Returns a list with the available stop bits configurations.
414 */
415QStringList IO::Drivers::UART::stopBitsList() const
416{
417 QStringList list;
418 list.append(QStringLiteral("1"));
419 list.append(QStringLiteral("1.5"));
420 list.append(QStringLiteral("2"));
421 return list;
422}
423
424/**
425 * @brief Returns a list with the available flow control configurations.

Callers 5

setStopBitsIndexMethod · 0.45
getConfigurationMethod · 0.45
getStopBitsListMethod · 0.45
setStopBitsMethod · 0.45
getConfigurationMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected