Struct atsaml21e16b::pm::sleepcfg::SLEEPCFG_SPEC
source · pub struct SLEEPCFG_SPEC;
Expand description
Trait Implementations§
source§impl Readable for SLEEPCFG_SPEC
impl Readable for SLEEPCFG_SPEC
read()
method returns sleepcfg::R reader structure
source§impl RegisterSpec for SLEEPCFG_SPEC
impl RegisterSpec for SLEEPCFG_SPEC
source§impl Resettable for SLEEPCFG_SPEC
impl Resettable for SLEEPCFG_SPEC
reset()
method sets SLEEPCFG to value 0x02
source§const RESET_VALUE: Self::Ux = {transmute(0x02): <pm::sleepcfg::SLEEPCFG_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x02): <pm::sleepcfg::SLEEPCFG_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 SLEEPCFG_SPEC
impl Writable for SLEEPCFG_SPEC
write(|w| ..)
method takes sleepcfg::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00): <pm::sleepcfg::SLEEPCFG_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00): <pm::sleepcfg::SLEEPCFG_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(0x00): <pm::sleepcfg::SLEEPCFG_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00): <pm::sleepcfg::SLEEPCFG_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1