Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
module;
#include <cstdint>
export module Driver.UartId;
/**
* @file UartId.h
* @brief Defines the UartId enum class for identifying different UARTs used in the system.
*/
export namespace Driver
{
/**
* @enum UartId
* @brief Enum class to identify UART channels used for different purposes.
*
* This enum is used to specify which UART is used for receiving measurement data,
* transmitting data via WiFi, or transmitting data via USB.
*/
enum class UartId : std::uint8_t
{
/**
* @brief UART for receiving measurement data.
*/
MEASUREMENT_RECEIVER = 0U,
/**
* @brief UART for sending/storing processed data via WiFi module.
*/
TRANSMIT_VIA_WIFI = 1U,
/**
* @brief UART for sending/storing processed data via USB.
*/
TRANSMIT_VIA_USB = 2U
};
}d4cbf8c64This file is pinned to the selected release. Download the original to open it in your design tool.