Struct esp32_hal::pac::io_mux::gpio21::GPIO21_SPEC
pub struct GPIO21_SPEC;
Expand description
Trait Implementations§
§impl Readable for GPIO21_SPEC
impl Readable for GPIO21_SPEC
read()
method returns gpio21::R reader structure
§impl RegisterSpec for GPIO21_SPEC
impl RegisterSpec for GPIO21_SPEC
§impl Resettable for GPIO21_SPEC
impl Resettable for GPIO21_SPEC
reset()
method sets GPIO21 to value 0
§const RESET_VALUE: <GPIO21_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32::io_mux::gpio21::GPIO21_SPEC as esp_hal_common::esp32::generic::RegisterSpec>::Ux}
const RESET_VALUE: <GPIO21_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32::io_mux::gpio21::GPIO21_SPEC as esp_hal_common::esp32::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 GPIO21_SPEC
impl Writable for GPIO21_SPEC
write(|w| ..)
method takes gpio21::W writer structure
§const ZERO_TO_MODIFY_FIELDS_BITMAP: <GPIO21_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32::io_mux::gpio21::GPIO21_SPEC as esp_hal_common::esp32::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <GPIO21_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32::io_mux::gpio21::GPIO21_SPEC as esp_hal_common::esp32::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: <GPIO21_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32::io_mux::gpio21::GPIO21_SPEC as esp_hal_common::esp32::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <GPIO21_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32::io_mux::gpio21::GPIO21_SPEC as esp_hal_common::esp32::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1