Struct atsam4sd16c_pac::smc::key2::KEY2_SPEC
source · pub struct KEY2_SPEC;
Expand description
SMC OCMS KEY2 Register
This register you can write_with_zero
, reset
, write
. See API.
For information about available fields see key2 module
Trait Implementations§
source§impl Resettable for KEY2_SPEC
impl Resettable for KEY2_SPEC
reset()
method sets KEY2 to value 0
source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <smc::key2::KEY2_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <smc::key2::KEY2_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 KEY2_SPEC
impl Writable for KEY2_SPEC
write(|w| ..)
method takes key2::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <smc::key2::KEY2_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <smc::key2::KEY2_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): <smc::key2::KEY2_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <smc::key2::KEY2_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1