#[repr(C)]pub struct RegisterBlock {
pub adc: ADC,
pub adcsra: ADCSRA,
pub adcsrb: ADCSRB,
pub admux: ADMUX,
pub didr0: DIDR0,
/* private fields */
}
Expand description
Register block
Fields§
§adc: ADC
0x00 - ADC Data Register Bytes
adcsra: ADCSRA
0x02 - The ADC Control and Status register A
adcsrb: ADCSRB
0x03 - The ADC Control and Status register B
admux: ADMUX
0x04 - The ADC multiplexer Selection Register
didr0: DIDR0
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