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

Method dataBitsList

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

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

Source from the content-addressed store, hash-verified

400 * @brief Returns a list with the available data bits configurations.
401 */
402QStringList IO::Drivers::UART::dataBitsList() const
403{
404 QStringList list;
405 list.append(QStringLiteral("5"));
406 list.append(QStringLiteral("6"));
407 list.append(QStringLiteral("7"));
408 list.append(QStringLiteral("8"));
409 return list;
410}
411
412/**
413 * @brief Returns a list with the available stop bits configurations.

Callers 5

setDataBitsIndexMethod · 0.45
getConfigurationMethod · 0.45
getDataBitsListMethod · 0.45
setDataBitsMethod · 0.45
getConfigurationMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected