Program Listing for File DMA_CH8_CTRL_TRIG_RING_SIZE.h#
↰ Return to documentation for file (src/generated/enums/DMA_CH8_CTRL_TRIG_RING_SIZE.h
)
#pragma once
#include <cstdint>
#include <cstring>
namespace RP2040
{
enum class DMA_CH8_CTRL_TRIG_RING_SIZE : uint8_t
{
RING_NONE
};
static_assert(sizeof(DMA_CH8_CTRL_TRIG_RING_SIZE) == 1);
inline const char *to_string(DMA_CH8_CTRL_TRIG_RING_SIZE instance)
{
const char *result = "UNKNOWN DMA_CH8_CTRL_TRIG_RING_SIZE";
switch (instance)
{
case DMA_CH8_CTRL_TRIG_RING_SIZE::RING_NONE:
result = "RING_NONE";
break;
}
return result;
}
inline bool from_string(const char *data, DMA_CH8_CTRL_TRIG_RING_SIZE &output)
{
bool result = false;
if ((result = !strncmp(data, "RING_NONE", 9)))
{
output = DMA_CH8_CTRL_TRIG_RING_SIZE::RING_NONE;
}
return result;
}
}; // namespace RP2040