pub struct Gloc { /* private fields */ }
Implementations§
Source§impl Gloc
impl Gloc
Sourcepub fn configure_lut(&self, lut: Lut, config: u16)
pub fn configure_lut(&self, lut: Lut, config: u16)
Set the truth table values.
Sourcepub fn enable_lut_inputs(&self, lut: Lut, inputs: u8)
pub fn enable_lut_inputs(&self, lut: Lut, inputs: u8)
Enable selected LUT inputs.
Sourcepub fn disable_lut_inputs(&self, lut: Lut, inputs: u8)
pub fn disable_lut_inputs(&self, lut: Lut, inputs: u8)
Disable selected LUT inputs.
Sourcepub fn disable_lut(&self, lut: Lut)
pub fn disable_lut(&self, lut: Lut)
Disable LUT by resetting registers.
Sourcepub fn enable_lut_filter(&self, lut: Lut)
pub fn enable_lut_filter(&self, lut: Lut)
Enable filter on output to prevent glitches. This will delay the given LUT’s output by 3-4 GCLK cycles.
Sourcepub fn disable_lut_filter(&self, lut: Lut)
pub fn disable_lut_filter(&self, lut: Lut)
Disable output filter.
Auto Trait Implementations§
impl Freeze for Gloc
impl !RefUnwindSafe for Gloc
impl !Send for Gloc
impl !Sync for Gloc
impl Unpin for Gloc
impl !UnwindSafe for Gloc
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