#[repr(C)]pub struct avr_timer_t {Show 30 fields
pub io: avr_io_t,
pub name: c_char,
pub trace: u32,
pub disabled: avr_regbit_t,
pub r_tcnt: avr_io_addr_t,
pub r_icr: avr_io_addr_t,
pub r_tcnth: avr_io_addr_t,
pub r_icrh: avr_io_addr_t,
pub wgm: [avr_regbit_t; 4],
pub wgm_op: [avr_timer_wgm_t; 16],
pub mode: avr_timer_wgm_t,
pub wgm_op_mode_kind: c_int,
pub wgm_op_mode_size: u32,
pub as2: avr_regbit_t,
pub cs: [avr_regbit_t; 4],
pub cs_div: [u8; 16],
pub cs_div_value: u32,
pub ext_clock_pin: avr_regbit_t,
pub ext_clock_flags: u8,
pub ext_clock: f32,
pub icp: avr_regbit_t,
pub ices: avr_regbit_t,
pub comp: [avr_timer_comp_t; 3],
pub overflow: avr_int_vector_t,
pub icr: avr_int_vector_t,
pub tov_cycles: u64,
pub tov_cycles_fract: f32,
pub phase_accumulator: f32,
pub tov_base: u64,
pub tov_top: u16,
}
Fields§
§io: avr_io_t
§name: c_char
§trace: u32
§disabled: avr_regbit_t
§r_tcnt: avr_io_addr_t
§r_icr: avr_io_addr_t
§r_tcnth: avr_io_addr_t
§r_icrh: avr_io_addr_t
§wgm: [avr_regbit_t; 4]
§wgm_op: [avr_timer_wgm_t; 16]
§mode: avr_timer_wgm_t
§wgm_op_mode_kind: c_int
§wgm_op_mode_size: u32
§as2: avr_regbit_t
§cs: [avr_regbit_t; 4]
§cs_div: [u8; 16]
§cs_div_value: u32
§ext_clock_pin: avr_regbit_t
§ext_clock_flags: u8
§ext_clock: f32
§icp: avr_regbit_t
§ices: avr_regbit_t
§comp: [avr_timer_comp_t; 3]
§overflow: avr_int_vector_t
§icr: avr_int_vector_t
§tov_cycles: u64
§tov_cycles_fract: f32
§phase_accumulator: f32
§tov_base: u64
§tov_top: u16
Trait Implementations§
Source§impl Clone for avr_timer_t
impl Clone for avr_timer_t
Source§fn clone(&self) -> avr_timer_t
fn clone(&self) -> avr_timer_t
Returns a duplicate 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_timer_t
impl Debug for avr_timer_t
impl Copy for avr_timer_t
Auto Trait Implementations§
impl Freeze for avr_timer_t
impl RefUnwindSafe for avr_timer_t
impl !Send for avr_timer_t
impl !Sync for avr_timer_t
impl Unpin for avr_timer_t
impl UnwindSafe for avr_timer_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