Struct atsaml21e16b::mclk::apbcmask::W

source ·
pub struct W(_);
Expand description

Register APBCMASK writer

Implementations§

Bit 0 - SERCOM0 APB Clock Enable

Bit 1 - SERCOM1 APB Clock Enable

Bit 2 - SERCOM2 APB Clock Enable

Bit 3 - SERCOM3 APB Clock Enable

Bit 4 - SERCOM4 APB Clock Enable

Bit 5 - TCC0 APB Clock Enable

Bit 6 - TCC1 APB Clock Enable

Bit 7 - TCC2 APB Clock Enable

Bit 8 - TC0 APB Clock Enable

Bit 9 - TC1 APB Clock Enable

Bit 12 - DAC APB Clock Enable

Bit 13 - AES APB Clock Enable

Bit 14 - TRNG APB Clock Enable

Writes raw bits to the register.

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

Writes raw bits to the register.

Safety

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

Examples found in repository?
src/ac/ctrla.rs (line 66)
65
66
67
68
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
More examples
Hide additional examples
src/ac/ctrlb.rs (line 42)
41
42
43
44
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/ac/dbgctrl.rs (line 58)
57
58
59
60
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/ac/intenclr.rs (line 88)
87
88
89
90
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/ac/intenset.rs (line 88)
87
88
89
90
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/ac/intflag.rs (line 88)
87
88
89
90
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }

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.