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

Method bitrateList

app/src/IO/Drivers/CANBus.cpp:476–489  ·  view source on GitHub ↗

* @brief Returns the list of standard CAN bus bitrates */

Source from the content-addressed store, hash-verified

474 * @brief Returns the list of standard CAN bus bitrates
475 */
476QStringList IO::Drivers::CANBus::bitrateList() const
477{
478 QStringList list;
479 list << "10000";
480 list << "20000";
481 list << "50000";
482 list << "100000";
483 list << "125000";
484 list << "250000";
485 list << "500000";
486 list << "800000";
487 list << "1000000";
488 return list;
489}
490
491/**
492 * @brief Converts a Qt CAN plugin name to a user-friendly display name.

Callers 1

getBitrateListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected