37 constexpr
USART(
int i) : m_index(i) {}
38 constexpr
operator int()
const {
return m_index; }
45 return ((
uint32_t []){0x40011000, 0x40004400, 0x40004800})[m_index-1];
REGS_REGISTER_AT(SR, 0x00)
REGS_FIELD(DIV_FRAC, uint8_t, 3, 0)
void setBitRange(uint8_t high, uint8_t low, T value) volatile
T getBitRange(uint8_t high, uint8_t low) volatile