Struct stm32l4xx_hal::tsc::Config
source · [−]pub struct Config {
pub clock_prescale: Option<ClockPrescaler>,
pub max_count_error: Option<MaxCountError>,
pub charge_transfer_high: Option<ChargeDischargeTime>,
pub charge_transfer_low: Option<ChargeDischargeTime>,
pub spread_spectrum_deviation: Option<u8>,
}
Fields
clock_prescale: Option<ClockPrescaler>
max_count_error: Option<MaxCountError>
charge_transfer_high: Option<ChargeDischargeTime>
charge_transfer_low: Option<ChargeDischargeTime>
spread_spectrum_deviation: Option<u8>
Spread spectrum deviation - a value between 0 and 128
Trait Implementations
impl Copy for Config
impl StructuralPartialEq for Config
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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