#[repr(transparent)]pub struct OpCtrl(pub u32);Expand description
Operation Control
Tuple Fields§
§0: u32Implementations§
Source§impl OpCtrl
impl OpCtrl
Sourcepub const fn ovdt_en_res0(&self) -> bool
pub const fn ovdt_en_res0(&self) -> bool
Override RES0 Data Type Enable
Sourcepub const fn set_ovdt_en_res0(&mut self, val: bool)
pub const fn set_ovdt_en_res0(&mut self, val: bool)
Override RES0 Data Type Enable
Sourcepub const fn set_ovdt_res0(&mut self, val: OvdtRes0)
pub const fn set_ovdt_res0(&mut self, val: OvdtRes0)
Override RES0 Data Type
Sourcepub const fn ovdt_en_res1(&self) -> bool
pub const fn ovdt_en_res1(&self) -> bool
Override RES1 Data Type Enable
Sourcepub const fn set_ovdt_en_res1(&mut self, val: bool)
pub const fn set_ovdt_en_res1(&mut self, val: bool)
Override RES1 Data Type Enable
Sourcepub const fn set_ovdt_res1(&mut self, val: OvdtRes1)
pub const fn set_ovdt_res1(&mut self, val: OvdtRes1)
Override RES1 Data Type
Sourcepub const fn ovdt_en_res2(&self) -> bool
pub const fn ovdt_en_res2(&self) -> bool
Override RES2 Data Type Enable
Sourcepub const fn set_ovdt_en_res2(&mut self, val: bool)
pub const fn set_ovdt_en_res2(&mut self, val: bool)
Override RES2 Data Type Enable
Sourcepub const fn set_ovdt_res2(&mut self, val: OvdtRes2)
pub const fn set_ovdt_res2(&mut self, val: OvdtRes2)
Override RES2 Data Type
Sourcepub const fn ovdt_en_res3(&self) -> bool
pub const fn ovdt_en_res3(&self) -> bool
Override RES3 Data Type Enable
Sourcepub const fn set_ovdt_en_res3(&mut self, val: bool)
pub const fn set_ovdt_en_res3(&mut self, val: bool)
Override RES3 Data Type Enable
Sourcepub const fn set_ovdt_res3(&mut self, val: OvdtRes3)
pub const fn set_ovdt_res3(&mut self, val: OvdtRes3)
Override RES3 Data Type
Trait Implementations§
impl Copy for OpCtrl
impl Eq for OpCtrl
impl StructuralPartialEq for OpCtrl
Auto Trait Implementations§
impl Freeze for OpCtrl
impl RefUnwindSafe for OpCtrl
impl Send for OpCtrl
impl Sync for OpCtrl
impl Unpin for OpCtrl
impl UnwindSafe for OpCtrl
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