Struct atsam4sd16c_pac::pmc::pmc_ocr::W

source ·
pub struct W(_);
Expand description

Register PMC_OCR writer

Implementations§

Bits 0:6 - RC Oscillator Calibration bits for 4 MHz

Bit 7 - Selection of RC Oscillator Calibration bits for 4 MHz

Bits 8:14 - RC Oscillator Calibration bits for 8 MHz

Bit 15 - Selection of RC Oscillator Calibration bits for 8 MHz

Bits 16:22 - RC Oscillator Calibration bits for 12 MHz

Bit 23 - Selection of RC Oscillator Calibration bits for 12 MHz

Writes raw bits to the register.

Methods from Deref<Target = W<PMC_OCR_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.