Struct atmega_hal::pac::adc::adcsrb::ADCSRB_SPEC
source · pub struct ADCSRB_SPEC;
Expand description
Trait Implementations§
source§impl Readable for ADCSRB_SPEC
impl Readable for ADCSRB_SPEC
read()
method returns adcsrb::R reader structure
source§impl RegisterSpec for ADCSRB_SPEC
impl RegisterSpec for ADCSRB_SPEC
source§impl Resettable for ADCSRB_SPEC
impl Resettable for ADCSRB_SPEC
reset()
method sets ADCSRB to value 0
source§const RESET_VALUE: <ADCSRB_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega328p::adc::adcsrb::ADCSRB_SPEC as avr_device::generic::RegisterSpec>::Ux}
const RESET_VALUE: <ADCSRB_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega328p::adc::adcsrb::ADCSRB_SPEC as avr_device::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 ADCSRB_SPEC
impl Writable for ADCSRB_SPEC
write(|w| ..)
method takes adcsrb::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: <ADCSRB_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega328p::adc::adcsrb::ADCSRB_SPEC as avr_device::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <ADCSRB_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega328p::adc::adcsrb::ADCSRB_SPEC as avr_device::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: <ADCSRB_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega328p::adc::adcsrb::ADCSRB_SPEC as avr_device::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <ADCSRB_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega328p::adc::adcsrb::ADCSRB_SPEC as avr_device::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
Auto Trait Implementations§
impl Freeze for ADCSRB_SPEC
impl RefUnwindSafe for ADCSRB_SPEC
impl Send for ADCSRB_SPEC
impl Sync for ADCSRB_SPEC
impl Unpin for ADCSRB_SPEC
impl UnwindSafe for ADCSRB_SPEC
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more