Struct esp32c2_hal::pac::i2c0::sda_sample::SDA_SAMPLE_SPEC
pub struct SDA_SAMPLE_SPEC;
Expand description
Configures the sample time after a positive SCL edge.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see sda_sample module
Trait Implementations§
§impl Readable for SDA_SAMPLE_SPEC
impl Readable for SDA_SAMPLE_SPEC
read()
method returns sda_sample::R reader structure
§impl RegisterSpec for SDA_SAMPLE_SPEC
impl RegisterSpec for SDA_SAMPLE_SPEC
§impl Resettable for SDA_SAMPLE_SPEC
impl Resettable for SDA_SAMPLE_SPEC
reset()
method sets SDA_SAMPLE to value 0
§const RESET_VALUE: <SDA_SAMPLE_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::i2c0::sda_sample::SDA_SAMPLE_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const RESET_VALUE: <SDA_SAMPLE_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::i2c0::sda_sample::SDA_SAMPLE_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
Reset value of the register.
§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
§impl Writable for SDA_SAMPLE_SPEC
impl Writable for SDA_SAMPLE_SPEC
write(|w| ..)
method takes sda_sample::W writer structure
§const ZERO_TO_MODIFY_FIELDS_BITMAP: <SDA_SAMPLE_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::i2c0::sda_sample::SDA_SAMPLE_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <SDA_SAMPLE_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::i2c0::sda_sample::SDA_SAMPLE_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
§const ONE_TO_MODIFY_FIELDS_BITMAP: <SDA_SAMPLE_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::i2c0::sda_sample::SDA_SAMPLE_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <SDA_SAMPLE_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::i2c0::sda_sample::SDA_SAMPLE_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1