Struct atsam4n8c_pac::adc::isr::R

source ·
pub struct R(_);
Expand description

Register ISR reader

Implementations§

source§

impl R

source

pub fn eoc0(&self) -> EOC0_R

Bit 0 - End of Conversion 0

source

pub fn eoc1(&self) -> EOC1_R

Bit 1 - End of Conversion 1

source

pub fn eoc2(&self) -> EOC2_R

Bit 2 - End of Conversion 2

source

pub fn eoc3(&self) -> EOC3_R

Bit 3 - End of Conversion 3

source

pub fn eoc4(&self) -> EOC4_R

Bit 4 - End of Conversion 4

source

pub fn eoc5(&self) -> EOC5_R

Bit 5 - End of Conversion 5

source

pub fn eoc6(&self) -> EOC6_R

Bit 6 - End of Conversion 6

source

pub fn eoc7(&self) -> EOC7_R

Bit 7 - End of Conversion 7

source

pub fn eoc8(&self) -> EOC8_R

Bit 8 - End of Conversion 8

source

pub fn eoc9(&self) -> EOC9_R

Bit 9 - End of Conversion 9

source

pub fn eoc10(&self) -> EOC10_R

Bit 10 - End of Conversion 10

source

pub fn eoc11(&self) -> EOC11_R

Bit 11 - End of Conversion 11

source

pub fn eoc12(&self) -> EOC12_R

Bit 12 - End of Conversion 12

source

pub fn eoc13(&self) -> EOC13_R

Bit 13 - End of Conversion 13

source

pub fn eoc14(&self) -> EOC14_R

Bit 14 - End of Conversion 14

source

pub fn eoc15(&self) -> EOC15_R

Bit 15 - End of Conversion 15

source

pub fn eoc16(&self) -> EOC16_R

Bit 16 - End of Conversion 16

source

pub fn tempchg(&self) -> TEMPCHG_R

Bit 19 - Temperature Change

source

pub fn eocal(&self) -> EOCAL_R

Bit 23 - End of Calibration Sequence

source

pub fn drdy(&self) -> DRDY_R

Bit 24 - Data Ready

source

pub fn govre(&self) -> GOVRE_R

Bit 25 - General Overrun Error

source

pub fn compe(&self) -> COMPE_R

Bit 26 - Comparison Error

source

pub fn endrx(&self) -> ENDRX_R

Bit 27 - End of RX Buffer

source

pub fn rxbuff(&self) -> RXBUFF_R

Bit 28 - RX Buffer Full

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<ISR_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<ISR_SPEC>> for R

source§

fn from(reader: R<ISR_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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.