Struct esp32c2_hal::pac::spi0::user2::USER2_SPEC
pub struct USER2_SPEC;
Expand description
Trait Implementations§
§impl Readable for USER2_SPEC
impl Readable for USER2_SPEC
read()
method returns user2::R reader structure
§impl RegisterSpec for USER2_SPEC
impl RegisterSpec for USER2_SPEC
§impl Resettable for USER2_SPEC
impl Resettable for USER2_SPEC
reset()
method sets USER2 to value 0x7000_0000
§const RESET_VALUE: <USER2_SPEC as RegisterSpec>::Ux = {transmute(0x70000000): <esp_hal_common::esp32c2::spi0::user2::USER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const RESET_VALUE: <USER2_SPEC as RegisterSpec>::Ux = {transmute(0x70000000): <esp_hal_common::esp32c2::spi0::user2::USER2_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 USER2_SPEC
impl Writable for USER2_SPEC
write(|w| ..)
method takes user2::W writer structure
§const ZERO_TO_MODIFY_FIELDS_BITMAP: <USER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::spi0::user2::USER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <USER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::spi0::user2::USER2_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: <USER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::spi0::user2::USER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <USER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::spi0::user2::USER2_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