pub struct SPI2S_CR1rs;
Expand description
SPI/I2S control register 1
You can read
this register and get spi2s_cr1::R
. You can reset
, write
, write_with_zero
this register using spi2s_cr1::W
. You can also modify
this register. See API.
See register structure
Trait Implementations§
Source§impl RegisterSpec for SPI2S_CR1rs
impl RegisterSpec for SPI2S_CR1rs
Source§impl Resettable for SPI2S_CR1rs
reset()
method sets SPI2S_CR1 to value 0
impl Resettable for SPI2S_CR1rs
reset()
method sets SPI2S_CR1 to value 0
Source§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for SPI2S_CR1rs
write(|w| ..)
method takes spi2s_cr1::W
writer structure
impl Writable for SPI2S_CR1rs
write(|w| ..)
method takes spi2s_cr1::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
Source§const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for SPI2S_CR1rs
read()
method returns spi2s_cr1::R
reader structure
Auto Trait Implementations§
impl Freeze for SPI2S_CR1rs
impl RefUnwindSafe for SPI2S_CR1rs
impl Send for SPI2S_CR1rs
impl Sync for SPI2S_CR1rs
impl Unpin for SPI2S_CR1rs
impl UnwindSafe for SPI2S_CR1rs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more