Struct ch32v3::ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_SPEC
source · pub struct SPI_I2S_CFGR_SPEC;
Expand description
SPI_I2S configure register
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see spi_i2s_cfgr module
Trait Implementations§
source§impl Readable for SPI_I2S_CFGR_SPEC
impl Readable for SPI_I2S_CFGR_SPEC
read()
method returns spi_i2s_cfgr::R reader structure
source§impl RegisterSpec for SPI_I2S_CFGR_SPEC
impl RegisterSpec for SPI_I2S_CFGR_SPEC
source§impl Resettable for SPI_I2S_CFGR_SPEC
impl Resettable for SPI_I2S_CFGR_SPEC
reset()
method sets SPI_I2S_CFGR to value 0
source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_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_I2S_CFGR_SPEC
impl Writable for SPI_I2S_CFGR_SPEC
write(|w| ..)
method takes spi_i2s_cfgr::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_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): <ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <ch32v30x::spi1::spi_i2s_cfgr::SPI_I2S_CFGR_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1