46 constexpr
DMA(
int i) : m_index(i) {}
49 volatile SCR *
SCR(
int i )
const {
return (
class SCR *)(Base() + 0x10 + 0x18*i); };
50 volatile SNDTR *
SNDTR(
int i )
const {
return (
class SNDTR *)(Base() + 0x14 + 0x18*i); };
51 volatile SPAR *
SPAR(
int i )
const {
return (
class SPAR *)(Base() + 0x18 + 0x18*i); };
52 volatile SM0AR *
SM0AR(
int i )
const {
return (
class SM0AR *)(Base() + 0x1C + 0x18*i); };
55 return 0x40026000 + 0x400*m_index;
volatile SM0AR * SM0AR(int i) const
REGS_FIELD(CHSEL, uint8_t, 27, 25)
REGS_BOOL_FIELD(MINC, 10)
REGS_REGISTER_AT(LIFCR, 0x08)
volatile SNDTR * SNDTR(int i) const
volatile SCR * SCR(int i) const
volatile SPAR * SPAR(int i) const