Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn verid(&self) -> &Verid

0x00 - Version ID

Source

pub const fn param(&self) -> &Param

0x04 - Parameter

Source

pub const fn ctrl(&self) -> &Ctrl

0x08 - FLEXIO Control

Source

pub const fn pin(&self) -> &Pin

0x0c - Pin State

Source

pub const fn shiftstat(&self) -> &Shiftstat

0x10 - Shifter Status

Source

pub const fn shifterr(&self) -> &Shifterr

0x14 - Shifter Error

Source

pub const fn timstat(&self) -> &Timstat

0x18 - Timer Status Flag

Source

pub const fn shiftsien(&self) -> &Shiftsien

0x20 - Shifter Status Interrupt Enable

Source

pub const fn shifteien(&self) -> &Shifteien

0x24 - Shifter Error Interrupt Enable

Source

pub const fn timien(&self) -> &Timien

0x28 - Timer Interrupt Enable

Source

pub const fn shiftsden(&self) -> &Shiftsden

0x30 - Shifter Status DMA Enable

Source

pub const fn timersden(&self) -> &Timersden

0x38 - Timer Status DMA Enable

Source

pub const fn shiftstate(&self) -> &Shiftstate

0x40 - Shifter State

Source

pub const fn trgstat(&self) -> &Trgstat

0x48 - Trigger Status

Source

pub const fn trigien(&self) -> &Trigien

0x4c - External Trigger Interrupt Enable

Source

pub const fn pinstat(&self) -> &Pinstat

0x50 - Pin Status

Source

pub const fn pinien(&self) -> &Pinien

0x54 - Pin Interrupt Enable

Source

pub const fn pinren(&self) -> &Pinren

0x58 - Pin Rising Edge Enable

Source

pub const fn pinfen(&self) -> &Pinfen

0x5c - Pin Falling Edge Enable

Source

pub const fn pinoutd(&self) -> &Pinoutd

0x60 - Pin Output Data

Source

pub const fn pinoute(&self) -> &Pinoute

0x64 - Pin Output Enable

Source

pub const fn pinoutdis(&self) -> &Pinoutdis

0x68 - Pin Output Disable

Source

pub const fn pinoutclr(&self) -> &Pinoutclr

0x6c - Pin Output Clear

Source

pub const fn pinoutset(&self) -> &Pinoutset

0x70 - Pin Output Set

Source

pub const fn pinouttog(&self) -> &Pinouttog

0x74 - Pin Output Toggle

Source

pub const fn shiftctl(&self, n: usize) -> &Shiftctl

0x80..0x90 - Shifter Control

Source

pub fn shiftctl_iter(&self) -> impl Iterator<Item = &Shiftctl>

Iterator for array of: 0x80..0x90 - Shifter Control

Source

pub const fn shiftcfg(&self, n: usize) -> &Shiftcfg

0x100..0x110 - Shifter Configuration

Source

pub fn shiftcfg_iter(&self) -> impl Iterator<Item = &Shiftcfg>

Iterator for array of: 0x100..0x110 - Shifter Configuration

Source

pub const fn shiftbuf(&self, n: usize) -> &Shiftbuf

0x200..0x210 - Shifter Buffer

Source

pub fn shiftbuf_iter(&self) -> impl Iterator<Item = &Shiftbuf>

Iterator for array of: 0x200..0x210 - Shifter Buffer

Source

pub const fn shiftbufbis(&self, n: usize) -> &Shiftbufbis

0x280..0x290 - Shifter Buffer Bit Swapped

Source

pub fn shiftbufbis_iter(&self) -> impl Iterator<Item = &Shiftbufbis>

Iterator for array of: 0x280..0x290 - Shifter Buffer Bit Swapped

Source

pub const fn shiftbufbys(&self, n: usize) -> &Shiftbufbys

0x300..0x310 - Shifter Buffer Byte Swapped

Source

pub fn shiftbufbys_iter(&self) -> impl Iterator<Item = &Shiftbufbys>

Iterator for array of: 0x300..0x310 - Shifter Buffer Byte Swapped

Source

pub const fn shiftbufbbs(&self, n: usize) -> &Shiftbufbbs

0x380..0x390 - Shifter Buffer Bit Byte Swapped

Source

pub fn shiftbufbbs_iter(&self) -> impl Iterator<Item = &Shiftbufbbs>

Iterator for array of: 0x380..0x390 - Shifter Buffer Bit Byte Swapped

Source

pub const fn timctl(&self, n: usize) -> &Timctl

0x400..0x410 - Timer Control

Source

pub fn timctl_iter(&self) -> impl Iterator<Item = &Timctl>

Iterator for array of: 0x400..0x410 - Timer Control

Source

pub const fn timcfg(&self, n: usize) -> &Timcfg

0x480..0x490 - Timer Configuration

Source

pub fn timcfg_iter(&self) -> impl Iterator<Item = &Timcfg>

Iterator for array of: 0x480..0x490 - Timer Configuration

Source

pub const fn timcmp(&self, n: usize) -> &Timcmp

0x500..0x510 - Timer Compare

Source

pub fn timcmp_iter(&self) -> impl Iterator<Item = &Timcmp>

Iterator for array of: 0x500..0x510 - Timer Compare

Source

pub const fn shiftbufnbs(&self, n: usize) -> &Shiftbufnbs

0x680..0x690 - Shifter Buffer Nibble Byte Swapped

Source

pub fn shiftbufnbs_iter(&self) -> impl Iterator<Item = &Shiftbufnbs>

Iterator for array of: 0x680..0x690 - Shifter Buffer Nibble Byte Swapped

Source

pub const fn shiftbufhws(&self, n: usize) -> &Shiftbufhws

0x700..0x710 - Shifter Buffer Halfword Swapped

Source

pub fn shiftbufhws_iter(&self) -> impl Iterator<Item = &Shiftbufhws>

Iterator for array of: 0x700..0x710 - Shifter Buffer Halfword Swapped

Source

pub const fn shiftbufnis(&self, n: usize) -> &Shiftbufnis

0x780..0x790 - Shifter Buffer Nibble Swapped

Source

pub fn shiftbufnis_iter(&self) -> impl Iterator<Item = &Shiftbufnis>

Iterator for array of: 0x780..0x790 - Shifter Buffer Nibble Swapped

Source

pub const fn shiftbufoes(&self, n: usize) -> &Shiftbufoes

0x800..0x810 - Shifter Buffer Odd Even Swapped

Source

pub fn shiftbufoes_iter(&self) -> impl Iterator<Item = &Shiftbufoes>

Iterator for array of: 0x800..0x810 - Shifter Buffer Odd Even Swapped

Source

pub const fn shiftbufeos(&self, n: usize) -> &Shiftbufeos

0x880..0x890 - Shifter Buffer Even Odd Swapped

Source

pub fn shiftbufeos_iter(&self) -> impl Iterator<Item = &Shiftbufeos>

Iterator for array of: 0x880..0x890 - Shifter Buffer Even Odd Swapped

Source

pub const fn shiftbufhbs(&self, n: usize) -> &Shiftbufhbs

0x900..0x910 - Shifter Buffer Halfword Byte Swapped

Source

pub fn shiftbufhbs_iter(&self) -> impl Iterator<Item = &Shiftbufhbs>

Iterator for array of: 0x900..0x910 - Shifter Buffer Halfword Byte Swapped

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.