[][src]Enum nrf52::comp::isource::ISOURCER

pub enum ISOURCER {
    OFF,
    IEN2MA5,
    IEN5MA,
    IEN10MA,
}

Possible values of the field ISOURCE

Variants

OFF

Current source disabled

IEN2MA5

Current source enabled (+/- 2.5 uA)

IEN5MA

Current source enabled (+/- 5 uA)

IEN10MA

Current source enabled (+/- 10 uA)

Methods

impl ISOURCER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_off(&self) -> bool[src]

Checks if the value of the field is OFF

pub fn is_ien2m_a5(&self) -> bool[src]

Checks if the value of the field is IEN2MA5

pub fn is_ien5m_a(&self) -> bool[src]

Checks if the value of the field is IEN5MA

pub fn is_ien10m_a(&self) -> bool[src]

Checks if the value of the field is IEN10MA

Trait Implementations

impl Debug for ISOURCER[src]

impl PartialEq<ISOURCER> for ISOURCER[src]

impl Copy for ISOURCER[src]

impl StructuralPartialEq for ISOURCER[src]

impl Clone for ISOURCER[src]

Auto Trait Implementations

impl Unpin for ISOURCER

impl Send for ISOURCER

impl Sync for ISOURCER

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self