#[repr(C)]pub struct avr_int_vector_t {
pub vector: u8,
pub enable: avr_regbit_t,
pub raised: avr_regbit_t,
pub mask: u8,
pub shift: i8,
pub irq: [avr_irq_t; 2],
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§vector: u8
§enable: avr_regbit_t
§raised: avr_regbit_t
§mask: u8
§shift: i8
§irq: [avr_irq_t; 2]
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl avr_int_vector_t
impl avr_int_vector_t
pub fn pending(&self) -> u8
pub fn set_pending(&mut self, val: u8)
pub fn trace(&self) -> u8
pub fn set_trace(&mut self, val: u8)
pub fn raise_sticky(&self) -> u8
pub fn set_raise_sticky(&mut self, val: u8)
pub fn new_bitfield_1( pending: u8, trace: u8, raise_sticky: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for avr_int_vector_t
impl Clone for avr_int_vector_t
Source§fn clone(&self) -> avr_int_vector_t
fn clone(&self) -> avr_int_vector_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_int_vector_t
impl Debug for avr_int_vector_t
impl Copy for avr_int_vector_t
Auto Trait Implementations§
impl Freeze for avr_int_vector_t
impl RefUnwindSafe for avr_int_vector_t
impl !Send for avr_int_vector_t
impl !Sync for avr_int_vector_t
impl Unpin for avr_int_vector_t
impl UnwindSafe for avr_int_vector_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