pub struct OSCCAL;
Expand description

Oscillator Calibration Value.

Trait Implementations§

source§

impl Default for OSCCAL

source§

fn default() -> OSCCAL

Returns the “default value” for a type. Read more
source§

impl Register for OSCCAL

§

type T = u8

The type that can represent the value of the register.
source§

const ADDRESS: *mut u8 = {0x51 as *mut u8}

The address of the register.
§

type RegisterBits = RegisterBits<Self>

The type representing a set of bits that may be manipulated within the register.
source§

fn write<V>(value: V)where
V: Into<Self::T>,

Writes a value to the register.
source§

fn read() -> Self::T

Reads the value of the register.
source§

fn set(bits: RegisterBits<Self>)

Sets a set of bits to 1 in the register.
source§

fn set_mask_raw(mask: Self::T)

Sets a bitmask in a register. Read more
source§

fn unset(bits: RegisterBits<Self>)

Unsets a set of bits in the register. Read more
source§

fn unset_mask_raw(mask: Self::T)

Clears a bitmask from a register. Read more
source§

fn toggle(mask: RegisterBits<Self>)

Toggles a set of bits within the register. Read more
source§

fn toggle_raw(mask: Self::T)

Toggles a mask in the register. Read more
source§

fn is_set(bits: RegisterBits<Self>) -> bool

Checks if a set of bits are enabled. Read more
source§

fn is_mask_set_raw(mask: Self::T) -> bool

Checks if a mask is set in the register. Read more
source§

fn is_clear(mask: RegisterBits<Self>) -> bool

Checks if a set of bits are not set. Read more
source§

fn is_clear_raw(mask: Self::T) -> bool

Checks if a mask is clear in the register. Read more
source§

fn wait_until_set(bits: RegisterBits<Self>)

Waits until a set of bits are set in the register. Read more
source§

fn wait_until_mask_set_raw(mask: Self::T)

Waits until a bit mask is set in the register. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for OSCCAL

§

impl Send for OSCCAL

§

impl Sync for OSCCAL

§

impl Unpin for OSCCAL

§

impl UnwindSafe for OSCCAL

Blanket Implementations§

§

impl<T> Any for Twhere
T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for Twhere
T: ?Sized,

const: unstable§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for Twhere
T: ?Sized,

const: unstable§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

const: unstable§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for Twhere
U: From<T>,

const: unstable§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

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§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

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§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.