Struct mk20d7::pdb0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub sc: SC, pub mod_: MOD, pub cnt: CNT, pub idly: IDLY, pub ch0c1: CHC1, pub ch0s: CHS, pub ch0dly0: CHDLY0, pub ch0dly1: CHDLY1, pub ch1c1: CHC1, pub ch1s: CHS, pub ch1dly0: CHDLY0, pub ch1dly1: CHDLY1, pub dacintc: DACINTC, pub dacint: DACINT, pub poen: POEN, pub podly: [PODLY; 3], /* private fields */
}
Expand description

Register block

Fields§

§sc: SC

0x00 - Status and Control Register

§mod_: MOD

0x04 - Modulus Register

§cnt: CNT

0x08 - Counter Register

§idly: IDLY

0x0c - Interrupt Delay Register

§ch0c1: CHC1

0x10 - Channel n Control Register 1

§ch0s: CHS

0x14 - Channel n Status Register

§ch0dly0: CHDLY0

0x18 - Channel n Delay 0 Register

§ch0dly1: CHDLY1

0x1c - Channel n Delay 1 Register

§ch1c1: CHC1

0x38 - Channel n Control Register 1

§ch1s: CHS

0x3c - Channel n Status Register

§ch1dly0: CHDLY0

0x40 - Channel n Delay 0 Register

§ch1dly1: CHDLY1

0x44 - Channel n Delay 1 Register

§dacintc: DACINTC

0x150 - DAC Interval Trigger n Control Register

§dacint: DACINT

0x154 - DAC Interval n Register

§poen: POEN

0x190 - Pulse-Out n Enable Register

§podly: [PODLY; 3]

0x194 - Pulse-Out n Delay Register

Auto Trait Implementations§

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.