Struct mk20d7::ftm2::swoctrl::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

source§

impl R

source

pub fn bits(&self) -> u32

Value of the register as raw bits

source

pub fn ch0oc(&self) -> CH0OCR

Bit 0 - Channel 0 Software Output Control Enable

source

pub fn ch1oc(&self) -> CH1OCR

Bit 1 - Channel 1 Software Output Control Enable

source

pub fn ch2oc(&self) -> CH2OCR

Bit 2 - Channel 2 Software Output Control Enable

source

pub fn ch3oc(&self) -> CH3OCR

Bit 3 - Channel 3 Software Output Control Enable

source

pub fn ch4oc(&self) -> CH4OCR

Bit 4 - Channel 4 Software Output Control Enable

source

pub fn ch5oc(&self) -> CH5OCR

Bit 5 - Channel 5 Software Output Control Enable

source

pub fn ch6oc(&self) -> CH6OCR

Bit 6 - Channel 6 Software Output Control Enable

source

pub fn ch7oc(&self) -> CH7OCR

Bit 7 - Channel 7 Software Output Control Enable

source

pub fn ch0ocv(&self) -> CH0OCVR

Bit 8 - Channel 0 Software Output Control Value

source

pub fn ch1ocv(&self) -> CH1OCVR

Bit 9 - Channel 1 Software Output Control Value

source

pub fn ch2ocv(&self) -> CH2OCVR

Bit 10 - Channel 2 Software Output Control Value

source

pub fn ch3ocv(&self) -> CH3OCVR

Bit 11 - Channel 3 Software Output Control Value

source

pub fn ch4ocv(&self) -> CH4OCVR

Bit 12 - Channel 4 Software Output Control Value

source

pub fn ch5ocv(&self) -> CH5OCVR

Bit 13 - Channel 5 Software Output Control Value

source

pub fn ch6ocv(&self) -> CH6OCVR

Bit 14 - Channel 6 Software Output Control Value

source

pub fn ch7ocv(&self) -> CH7OCVR

Bit 15 - Channel 7 Software Output Control Value

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.