pub struct SPI_CONFIG_SPEC;
Expand description
Serial Peripheral Interface configuration
You can read
this register and get spi_config::R
. You can reset
, write
, write_with_zero
this register using spi_config::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for SPI_CONFIG_SPEC
impl RegisterSpec for SPI_CONFIG_SPEC
Source§impl Resettable for SPI_CONFIG_SPEC
reset()
method sets spi_config to value 0
impl Resettable for SPI_CONFIG_SPEC
reset()
method sets spi_config to value 0
Source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <glb::spi_config::SPI_CONFIG_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <glb::spi_config::SPI_CONFIG_SPEC as generic::RegisterSpec>::Ux}
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 SPI_CONFIG_SPEC
write(|w| ..)
method takes spi_config::W
writer structure
impl Writable for SPI_CONFIG_SPEC
write(|w| ..)
method takes spi_config::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <glb::spi_config::SPI_CONFIG_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <glb::spi_config::SPI_CONFIG_SPEC as generic::RegisterSpec>::Ux}
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 = {transmute(0x00000000): <glb::spi_config::SPI_CONFIG_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <glb::spi_config::SPI_CONFIG_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for SPI_CONFIG_SPEC
read()
method returns spi_config::R
reader structure
Auto Trait Implementations§
impl Freeze for SPI_CONFIG_SPEC
impl RefUnwindSafe for SPI_CONFIG_SPEC
impl Send for SPI_CONFIG_SPEC
impl Sync for SPI_CONFIG_SPEC
impl Unpin for SPI_CONFIG_SPEC
impl UnwindSafe for SPI_CONFIG_SPEC
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