Struct ch32v3::ch32v30x::exti::swievr::R

source ·
pub struct R(_);
Expand description

Register SWIEVR reader

Implementations§

source§

impl R

source

pub fn swier0(&self) -> SWIER0_R

Bit 0 - Software Interrupt on line 0

source

pub fn swier1(&self) -> SWIER1_R

Bit 1 - Software Interrupt on line 1

source

pub fn swier2(&self) -> SWIER2_R

Bit 2 - Software Interrupt on line 2

source

pub fn swier3(&self) -> SWIER3_R

Bit 3 - Software Interrupt on line 3

source

pub fn swier4(&self) -> SWIER4_R

Bit 4 - Software Interrupt on line 4

source

pub fn swier5(&self) -> SWIER5_R

Bit 5 - Software Interrupt on line 5

source

pub fn swier6(&self) -> SWIER6_R

Bit 6 - Software Interrupt on line 6

source

pub fn swier7(&self) -> SWIER7_R

Bit 7 - Software Interrupt on line 7

source

pub fn swier8(&self) -> SWIER8_R

Bit 8 - Software Interrupt on line 8

source

pub fn swier9(&self) -> SWIER9_R

Bit 9 - Software Interrupt on line 9

source

pub fn swier10(&self) -> SWIER10_R

Bit 10 - Software Interrupt on line 10

source

pub fn swier11(&self) -> SWIER11_R

Bit 11 - Software Interrupt on line 11

source

pub fn swier12(&self) -> SWIER12_R

Bit 12 - Software Interrupt on line 12

source

pub fn swier13(&self) -> SWIER13_R

Bit 13 - Software Interrupt on line 13

source

pub fn swier14(&self) -> SWIER14_R

Bit 14 - Software Interrupt on line 14

source

pub fn swier15(&self) -> SWIER15_R

Bit 15 - Software Interrupt on line 15

source

pub fn swier16(&self) -> SWIER16_R

Bit 16 - Software Interrupt on line 16

source

pub fn swier17(&self) -> SWIER17_R

Bit 17 - Software Interrupt on line 17

source

pub fn swier18(&self) -> SWIER18_R

Bit 18 - Software Interrupt on line 18

source

pub fn swier19(&self) -> SWIER19_R

Bit 19 - Software Interrupt on line 19

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<SWIEVR_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<SWIEVR_SPEC>> for R

source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

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