#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
Source§impl Int
impl Int
Sourcepub fn set_stopped(&mut self, val: bool)
pub fn set_stopped(&mut self, val: bool)
Enable or disable interrupt for event STOPPED
Sourcepub fn set_dmarxend(&mut self, val: bool)
pub fn set_dmarxend(&mut self, val: bool)
Enable or disable interrupt for event DMARXEND
Sourcepub const fn dmarxready(&self) -> bool
pub const fn dmarxready(&self) -> bool
Enable or disable interrupt for event DMARXREADY
Sourcepub fn set_dmarxready(&mut self, val: bool)
pub fn set_dmarxready(&mut self, val: bool)
Enable or disable interrupt for event DMARXREADY
Sourcepub const fn dmarxbuserror(&self) -> bool
pub const fn dmarxbuserror(&self) -> bool
Enable or disable interrupt for event DMARXBUSERROR
Sourcepub fn set_dmarxbuserror(&mut self, val: bool)
pub fn set_dmarxbuserror(&mut self, val: bool)
Enable or disable interrupt for event DMARXBUSERROR
Sourcepub const fn dmarxmatch0(&self) -> bool
pub const fn dmarxmatch0(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[0]
Sourcepub fn set_dmarxmatch0(&mut self, val: bool)
pub fn set_dmarxmatch0(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[0]
Sourcepub const fn dmarxmatch1(&self) -> bool
pub const fn dmarxmatch1(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[1]
Sourcepub fn set_dmarxmatch1(&mut self, val: bool)
pub fn set_dmarxmatch1(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[1]
Sourcepub const fn dmarxmatch2(&self) -> bool
pub const fn dmarxmatch2(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[2]
Sourcepub fn set_dmarxmatch2(&mut self, val: bool)
pub fn set_dmarxmatch2(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[2]
Sourcepub const fn dmarxmatch3(&self) -> bool
pub const fn dmarxmatch3(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[3]
Sourcepub fn set_dmarxmatch3(&mut self, val: bool)
pub fn set_dmarxmatch3(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[3]
Sourcepub fn set_dmatxend(&mut self, val: bool)
pub fn set_dmatxend(&mut self, val: bool)
Enable or disable interrupt for event DMATXEND
Sourcepub const fn dmatxready(&self) -> bool
pub const fn dmatxready(&self) -> bool
Enable or disable interrupt for event DMATXREADY
Sourcepub fn set_dmatxready(&mut self, val: bool)
pub fn set_dmatxready(&mut self, val: bool)
Enable or disable interrupt for event DMATXREADY
Sourcepub const fn dmatxbuserror(&self) -> bool
pub const fn dmatxbuserror(&self) -> bool
Enable or disable interrupt for event DMATXBUSERROR
Sourcepub fn set_dmatxbuserror(&mut self, val: bool)
pub fn set_dmatxbuserror(&mut self, val: bool)
Enable or disable interrupt for event DMATXBUSERROR