atsamd51j::port::group

Struct Group

Source
#[repr(C)]
pub struct Group { /* private fields */ }
Expand description

GROUP[%s]

Implementations§

Source§

impl Group

Source

pub const fn dir(&self) -> &Dir

0x00 - Data Direction

Source

pub const fn dirclr(&self) -> &Dirclr

0x04 - Data Direction Clear

Source

pub const fn dirset(&self) -> &Dirset

0x08 - Data Direction Set

Source

pub const fn dirtgl(&self) -> &Dirtgl

0x0c - Data Direction Toggle

Source

pub const fn out(&self) -> &Out

0x10 - Data Output Value

Source

pub const fn outclr(&self) -> &Outclr

0x14 - Data Output Value Clear

Source

pub const fn outset(&self) -> &Outset

0x18 - Data Output Value Set

Source

pub const fn outtgl(&self) -> &Outtgl

0x1c - Data Output Value Toggle

Source

pub const fn in_(&self) -> &In

0x20 - Data Input Value

Source

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

0x24 - Control

Source

pub const fn wrconfig(&self) -> &Wrconfig

0x28 - Write Configuration

Source

pub const fn evctrl(&self) -> &Evctrl

0x2c - Event Input Control

Source

pub const fn pmux(&self, n: usize) -> &Pmux

0x30..0x40 - Peripheral Multiplexing

Source

pub fn pmux_iter(&self) -> impl Iterator<Item = &Pmux>

Iterator for array of: 0x30..0x40 - Peripheral Multiplexing

Source

pub const fn pincfg(&self, n: usize) -> &Pincfg

0x40..0x60 - Pin Configuration

Source

pub fn pincfg_iter(&self) -> impl Iterator<Item = &Pincfg>

Iterator for array of: 0x40..0x60 - Pin Configuration

Auto Trait Implementations§

§

impl !Freeze for Group

§

impl !RefUnwindSafe for Group

§

impl Send for Group

§

impl !Sync for Group

§

impl Unpin for Group

§

impl UnwindSafe for Group

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.