Struct simavr_ffi::avr_acomp_t
source · #[repr(C)]pub struct avr_acomp_t {Show 17 fields
pub io: avr_io_t,
pub mux_inputs: u8,
pub mux: [avr_regbit_t; 4],
pub pradc: avr_regbit_t,
pub aden: avr_regbit_t,
pub acme: avr_regbit_t,
pub r_acsr: avr_io_addr_t,
pub acis: [avr_regbit_t; 2],
pub acic: avr_regbit_t,
pub aco: avr_regbit_t,
pub acbg: avr_regbit_t,
pub disabled: avr_regbit_t,
pub timer_name: c_char,
pub ac: avr_int_vector_t,
pub adc_values: [u16; 16],
pub ain_values: [u16; 2],
pub timer_irq: *mut avr_irq_t,
}Fields§
§io: avr_io_t§mux_inputs: u8§mux: [avr_regbit_t; 4]§pradc: avr_regbit_t§aden: avr_regbit_t§acme: avr_regbit_t§r_acsr: avr_io_addr_t§acis: [avr_regbit_t; 2]§acic: avr_regbit_t§aco: avr_regbit_t§acbg: avr_regbit_t§disabled: avr_regbit_t§timer_name: c_char§ac: avr_int_vector_t§adc_values: [u16; 16]§ain_values: [u16; 2]§timer_irq: *mut avr_irq_tTrait Implementations§
source§impl Clone for avr_acomp_t
impl Clone for avr_acomp_t
source§fn clone(&self) -> avr_acomp_t
fn clone(&self) -> avr_acomp_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for avr_acomp_t
impl Debug for avr_acomp_t
impl Copy for avr_acomp_t
Auto Trait Implementations§
impl Freeze for avr_acomp_t
impl RefUnwindSafe for avr_acomp_t
impl !Send for avr_acomp_t
impl !Sync for avr_acomp_t
impl Unpin for avr_acomp_t
impl UnwindSafe for avr_acomp_t
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