Struct autd3_firmware_emulator::fpga::emulator::FPGAEmulator
source · [−]pub struct FPGAEmulator { /* private fields */ }Implementations
sourceimpl FPGAEmulator
impl FPGAEmulator
pub fn is_legacy_mode(&self) -> bool
pub fn is_force_fan(&self) -> bool
pub fn is_stm_mode(&self) -> bool
pub fn is_stm_gain_mode(&self) -> bool
pub fn cycle_ticks(&self) -> u16
pub fn silencer_cycle(&self) -> u16
pub fn silencer_step(&self) -> u16
pub fn cycles(&self) -> [u16; 249]
pub fn stm_frequency_division(&self) -> u32
pub fn stm_cycle(&self) -> usize
pub fn sound_speed(&self) -> u32
pub fn modulation_frequency_division(&self) -> u32
pub fn modulation_cycle(&self) -> usize
pub fn modulation(&self) -> (Vec<u8>, u32)
pub fn point_stm_drives(&self) -> Vec<([Duty; 249], [Phase; 249])>
pub fn drives(&self) -> Vec<([Duty; 249], [Phase; 249])>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FPGAEmulator
impl Send for FPGAEmulator
impl Sync for FPGAEmulator
impl Unpin for FPGAEmulator
impl UnwindSafe for FPGAEmulator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more