Struct atsaml21e16b::evsys::intenset::W

source ·
pub struct W(_);
Expand description

Register INTENSET writer

Implementations§

Bit 0 - Channel 0 Overrun Interrupt Enable

Bit 1 - Channel 1 Overrun Interrupt Enable

Bit 2 - Channel 2 Overrun Interrupt Enable

Bit 3 - Channel 3 Overrun Interrupt Enable

Bit 4 - Channel 4 Overrun Interrupt Enable

Bit 5 - Channel 5 Overrun Interrupt Enable

Bit 6 - Channel 6 Overrun Interrupt Enable

Bit 7 - Channel 7 Overrun Interrupt Enable

Bit 8 - Channel 8 Overrun Interrupt Enable

Bit 9 - Channel 9 Overrun Interrupt Enable

Bit 10 - Channel 10 Overrun Interrupt Enable

Bit 11 - Channel 11 Overrun Interrupt Enable

Bit 16 - Channel 0 Event Detection Interrupt Enable

Bit 17 - Channel 1 Event Detection Interrupt Enable

Bit 18 - Channel 2 Event Detection Interrupt Enable

Bit 19 - Channel 3 Event Detection Interrupt Enable

Bit 20 - Channel 4 Event Detection Interrupt Enable

Bit 21 - Channel 5 Event Detection Interrupt Enable

Bit 22 - Channel 6 Event Detection Interrupt Enable

Bit 23 - Channel 7 Event Detection Interrupt Enable

Bit 24 - Channel 8 Event Detection Interrupt Enable

Bit 25 - Channel 9 Event Detection Interrupt Enable

Bit 26 - Channel 10 Event Detection Interrupt Enable

Bit 27 - Channel 11 Event Detection Interrupt Enable

Writes raw bits to the register.

Methods from Deref<Target = W<INTENSET_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.