autd3_driver/firmware/fpga/
silencer_target.rs

1/// Silencer target.
2#[derive(Debug, Clone, Copy, PartialEq, Default, Eq)]
3#[repr(u8)]
4pub enum SilencerTarget {
5    /// Apply the silencer to the intensity (before [`PulseWidthEncoder`]).
6    ///
7    /// [`PulseWidthEncoder`]: crate::datagram::PulseWidthEncoder
8    #[default]
9    Intensity = 0,
10    /// Apply the silencer to the pulse width (after [`PulseWidthEncoder`]).
11    ///
12    /// [`PulseWidthEncoder`]: crate::datagram::PulseWidthEncoder
13    PulseWidth = 1,
14}