RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 20 fields pub ctsucr0: CTSUCR0, pub ctsucr1: CTSUCR1, pub ctsusdprs: CTSUSDPRS, pub ctsusst: CTSUSST, pub ctsumch0: CTSUMCH0, pub ctsumch1: CTSUMCH1, pub ctsuchac0: CTSUCHAC0, pub ctsuchac1: CTSUCHAC1, pub ctsuchac2: CTSUCHAC2, pub ctsuchtrc0: CTSUCHTRC0, pub ctsuchtrc1: CTSUCHTRC1, pub ctsuchtrc2: CTSUCHTRC2, pub ctsudclkc: CTSUDCLKC, pub ctsust: CTSUST, pub ctsussc: CTSUSSC, pub ctsuso0: CTSUSO0, pub ctsuso1: CTSUSO1, pub ctsusc: CTSUSC, pub ctsurc: CTSURC, pub ctsuerrs: CTSUERRS, /* private fields */
}
Expand description

Register block

Fields§

§ctsucr0: CTSUCR0

0x00 - CTSU Control Register 0

§ctsucr1: CTSUCR1

0x01 - CTSU Control Register 1

§ctsusdprs: CTSUSDPRS

0x02 - CTSU Synchronous Noise Reduction Setting Register

§ctsusst: CTSUSST

0x03 - CTSU Sensor Stabilization Wait Control Register

§ctsumch0: CTSUMCH0

0x04 - CTSU Measurement Channel Register 0

§ctsumch1: CTSUMCH1

0x05 - CTSU Measurement Channel Register 1

§ctsuchac0: CTSUCHAC0

0x06 - CTSU Channel Enable Control Register 0

§ctsuchac1: CTSUCHAC1

0x07 - CTSU Channel Enable Control Register 1

§ctsuchac2: CTSUCHAC2

0x08 - CTSU Channel Enable Control Register 2

§ctsuchtrc0: CTSUCHTRC0

0x0b - CTSU Channel Transmit/Receive Control Register 0

§ctsuchtrc1: CTSUCHTRC1

0x0c - CTSU Channel Transmit/Receive Control Register 1

§ctsuchtrc2: CTSUCHTRC2

0x0d - CTSU Channel Transmit/Receive Control Register 2

§ctsudclkc: CTSUDCLKC

0x10 - CTSU High-Pass Noise Reduction Control Register

§ctsust: CTSUST

0x11 - CTSU Status Register

§ctsussc: CTSUSSC

0x12 - CTSU High-Pass Noise Reduction Spectrum Diffusion Control Register

§ctsuso0: CTSUSO0

0x14 - CTSU Sensor Offset Register 0

§ctsuso1: CTSUSO1

0x16 - CTSU Sensor Offset Register 1

§ctsusc: CTSUSC

0x18 - CTSU Sensor Counter

§ctsurc: CTSURC

0x1a - CTSU Reference Counter

§ctsuerrs: CTSUERRS

0x1c - CTSU Error Status Register

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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 T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.