nrf52840_pac::ppi::chg

Struct R

source
pub struct R(/* private fields */);
Expand description

Register CHG[%s] reader

Implementations§

source§

impl R

source

pub fn ch0(&self) -> CH0_R

Bit 0 - Include or exclude channel 0

source

pub fn ch1(&self) -> CH1_R

Bit 1 - Include or exclude channel 1

source

pub fn ch2(&self) -> CH2_R

Bit 2 - Include or exclude channel 2

source

pub fn ch3(&self) -> CH3_R

Bit 3 - Include or exclude channel 3

source

pub fn ch4(&self) -> CH4_R

Bit 4 - Include or exclude channel 4

source

pub fn ch5(&self) -> CH5_R

Bit 5 - Include or exclude channel 5

source

pub fn ch6(&self) -> CH6_R

Bit 6 - Include or exclude channel 6

source

pub fn ch7(&self) -> CH7_R

Bit 7 - Include or exclude channel 7

source

pub fn ch8(&self) -> CH8_R

Bit 8 - Include or exclude channel 8

source

pub fn ch9(&self) -> CH9_R

Bit 9 - Include or exclude channel 9

source

pub fn ch10(&self) -> CH10_R

Bit 10 - Include or exclude channel 10

source

pub fn ch11(&self) -> CH11_R

Bit 11 - Include or exclude channel 11

source

pub fn ch12(&self) -> CH12_R

Bit 12 - Include or exclude channel 12

source

pub fn ch13(&self) -> CH13_R

Bit 13 - Include or exclude channel 13

source

pub fn ch14(&self) -> CH14_R

Bit 14 - Include or exclude channel 14

source

pub fn ch15(&self) -> CH15_R

Bit 15 - Include or exclude channel 15

source

pub fn ch16(&self) -> CH16_R

Bit 16 - Include or exclude channel 16

source

pub fn ch17(&self) -> CH17_R

Bit 17 - Include or exclude channel 17

source

pub fn ch18(&self) -> CH18_R

Bit 18 - Include or exclude channel 18

source

pub fn ch19(&self) -> CH19_R

Bit 19 - Include or exclude channel 19

source

pub fn ch20(&self) -> CH20_R

Bit 20 - Include or exclude channel 20

source

pub fn ch21(&self) -> CH21_R

Bit 21 - Include or exclude channel 21

source

pub fn ch22(&self) -> CH22_R

Bit 22 - Include or exclude channel 22

source

pub fn ch23(&self) -> CH23_R

Bit 23 - Include or exclude channel 23

source

pub fn ch24(&self) -> CH24_R

Bit 24 - Include or exclude channel 24

source

pub fn ch25(&self) -> CH25_R

Bit 25 - Include or exclude channel 25

source

pub fn ch26(&self) -> CH26_R

Bit 26 - Include or exclude channel 26

source

pub fn ch27(&self) -> CH27_R

Bit 27 - Include or exclude channel 27

source

pub fn ch28(&self) -> CH28_R

Bit 28 - Include or exclude channel 28

source

pub fn ch29(&self) -> CH29_R

Bit 29 - Include or exclude channel 29

source

pub fn ch30(&self) -> CH30_R

Bit 30 - Include or exclude channel 30

source

pub fn ch31(&self) -> CH31_R

Bit 31 - Include or exclude channel 31

Methods from Deref<Target = R<CHG_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

source§

type Target = R<CHG_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<CHG_SPEC>> for R

source§

fn from(reader: R<CHG_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

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 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.