SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches
SRL::DevCart::CS0::USBFlags Struct Reference

Detailed Description

Struct containing the USB flags register bits and masks.

#include <srl_devcart.hpp>

Public Types

enum  : uint8_t { Rxf = 1 << 0 , Txe = 1 << 1 , Pwren = 1 << 7 }
 Bit positions for the USB flags register. More...

Static Public Attributes

static constexpr uint8_t AllFlags = (Rxf | Txe | Pwren)
 Mask for all defined flags (bits 0,1,7).
static constexpr uint8_t NotAllFlags = static_cast<uint8_t>(~AllFlags)
 Inverted mask for all defined flags (for clearing/checking undefined bits).