Struct atmega_hal::pac::adc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub adc: Reg<ADC_SPEC>,
pub adcsra: Reg<ADCSRA_SPEC>,
pub adcsrb: Reg<ADCSRB_SPEC>,
pub admux: Reg<ADMUX_SPEC>,
pub didr0: Reg<DIDR0_SPEC>,
/* private fields */
}
Expand description
Register block
Fields§
§adc: Reg<ADC_SPEC>
0x00 - ADC Data Register Bytes
adcsra: Reg<ADCSRA_SPEC>
0x02 - The ADC Control and Status register A
adcsrb: Reg<ADCSRB_SPEC>
0x03 - The ADC Control and Status register B
admux: Reg<ADMUX_SPEC>
0x04 - The ADC multiplexer Selection Register
didr0: Reg<DIDR0_SPEC>
0x06 - Digital Input Disable Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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