pub type RING_SIZE_W<'a, REG> = FieldWriter<'a, REG, 4, RING_SIZE_A>;
Expand description

Field RING_SIZE writer - Size of address wrap region. If 0, don’t wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers.

Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL.

Aliased Type§

struct RING_SIZE_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> RING_SIZE_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn ring_none(self) -> &'a mut W<REG>

0