Struct esp32c2_hal::pac::spi2::ms_dlen::R
pub struct R(_);
Expand description
Register MS_DLEN
reader
Implementations
impl R
impl R
pub fn ms_data_bitlen(&self) -> FieldReaderRaw<u32, u32>
pub fn ms_data_bitlen(&self) -> FieldReaderRaw<u32, u32>
Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state.
Methods from Deref<Target = R<MS_DLEN_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<MS_DLEN_SPEC>> for R
impl From<R<MS_DLEN_SPEC>> for R
fn from(reader: R<MS_DLEN_SPEC>) -> R
fn from(reader: R<MS_DLEN_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more