Struct drv8305::register::ShuntAmplifierControl [−][src]
Fields
bits: u16
dc_cal_ch3: Flag
dc_cal_ch2: Flag
dc_cal_ch1: Flag
cs_blank: u16
gain_cs3: u16
gain_cs2: u16
gain_cs1: u16
Implementations
impl ShuntAmplifierControl
[src]
pub fn dc_cal_ch3(self, dc_cal_ch3: Flag) -> Self
[src]
pub fn dc_cal_ch2(self, dc_cal_ch2: Flag) -> Self
[src]
pub fn dc_cal_ch1(self, dc_cal_ch1: Flag) -> Self
[src]
pub fn cs_blank(self, cs_blank: u16) -> Self
[src]
pub fn gain_cs3(self, gain_cs3: u16) -> Self
[src]
pub fn gain_cs2(self, gain_cs2: u16) -> Self
[src]
pub fn gain_cs1(self, gain_cs1: u16) -> Self
[src]
Trait Implementations
impl Clone for ShuntAmplifierControl
[src]
fn clone(&self) -> ShuntAmplifierControl
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ShuntAmplifierControl
[src]
impl Debug for ShuntAmplifierControl
[src]
impl Register for ShuntAmplifierControl
[src]
Auto Trait Implementations
impl Send for ShuntAmplifierControl
impl Sync for ShuntAmplifierControl
impl Unpin for ShuntAmplifierControl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,