Struct mk20d7::lptmr0::psr::_PRESCALEW

source ·
pub struct _PRESCALEW<'a> { /* private fields */ }
Expand description

Proxy

Implementations§

source§

impl<'a> _PRESCALEW<'a>

source

pub fn variant(self, variant: PRESCALEW) -> &'a mut W

Writes variant to the field

source

pub fn _0000(self) -> &'a mut W

Prescaler divides the prescaler clock by 2; Glitch Filter does not support this configuration.

source

pub fn _0001(self) -> &'a mut W

Prescaler divides the prescaler clock by 4; Glitch Filter recognizes change on input pin after 2 rising clock edges.

source

pub fn _0010(self) -> &'a mut W

Prescaler divides the prescaler clock by 8; Glitch Filter recognizes change on input pin after 4 rising clock edges.

source

pub fn _0011(self) -> &'a mut W

Prescaler divides the prescaler clock by 16; Glitch Filter recognizes change on input pin after 8 rising clock edges.

source

pub fn _0100(self) -> &'a mut W

Prescaler divides the prescaler clock by 32; Glitch Filter recognizes change on input pin after 16 rising clock edges.

source

pub fn _0101(self) -> &'a mut W

Prescaler divides the prescaler clock by 64; Glitch Filter recognizes change on input pin after 32 rising clock edges.

source

pub fn _0110(self) -> &'a mut W

Prescaler divides the prescaler clock by 128; Glitch Filter recognizes change on input pin after 64 rising clock edges.

source

pub fn _0111(self) -> &'a mut W

Prescaler divides the prescaler clock by 256; Glitch Filter recognizes change on input pin after 128 rising clock edges.

source

pub fn _1000(self) -> &'a mut W

Prescaler divides the prescaler clock by 512; Glitch Filter recognizes change on input pin after 256 rising clock edges.

source

pub fn _1001(self) -> &'a mut W

Prescaler divides the prescaler clock by 1024; Glitch Filter recognizes change on input pin after 512 rising clock edges.

source

pub fn _1010(self) -> &'a mut W

Prescaler divides the prescaler clock by 2048; Glitch Filter recognizes change on input pin after 1024 rising clock edges.

source

pub fn _1011(self) -> &'a mut W

Prescaler divides the prescaler clock by 4096; Glitch Filter recognizes change on input pin after 2048 rising clock edges.

source

pub fn _1100(self) -> &'a mut W

Prescaler divides the prescaler clock by 8192; Glitch Filter recognizes change on input pin after 4096 rising clock edges.

source

pub fn _1101(self) -> &'a mut W

Prescaler divides the prescaler clock by 16384; Glitch Filter recognizes change on input pin after 8192 rising clock edges.

source

pub fn _1110(self) -> &'a mut W

Prescaler divides the prescaler clock by 32768; Glitch Filter recognizes change on input pin after 16384 rising clock edges.

source

pub fn _1111(self) -> &'a mut W

Prescaler divides the prescaler clock by 65536; Glitch Filter recognizes change on input pin after 32768 rising clock edges.

source

pub fn bits(self, value: u8) -> &'a mut W

Writes raw bits to the field

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for _PRESCALEW<'a>

§

impl<'a> Send for _PRESCALEW<'a>

§

impl<'a> Sync for _PRESCALEW<'a>

§

impl<'a> Unpin for _PRESCALEW<'a>

§

impl<'a> !UnwindSafe for _PRESCALEW<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.