Struct lpc81x_pac::lpc812::pint::pmcfg::W

source ·
pub struct W(_);
Expand description

Register PMCFG writer

Implementations§

Bit 0 - Determines whether slice 0 is an endpoint.

Bit 1 - Determines whether slice 1 is an endpoint.

Bit 2 - Determines whether slice 2 is an endpoint.

Bit 3 - Determines whether slice 3 is an endpoint.

Bit 4 - Determines whether slice 4 is an endpoint.

Bit 5 - Determines whether slice 5 is an endpoint.

Bit 6 - Determines whether slice 6 is an endpoint.

Bits 8:10 - Specifies the match contribution condition for bit slice 0.

Bits 11:13 - Specifies the match contribution condition for bit slice 1.

Bits 14:16 - Specifies the match contribution condition for bit slice 2.

Bits 17:19 - Specifies the match contribution condition for bit slice 3.

Bits 20:22 - Specifies the match contribution condition for bit slice 4.

Bits 23:25 - Specifies the match contribution condition for bit slice 5.

Bits 26:28 - Specifies the match contribution condition for bit slice 6.

Bits 29:31 - Specifies the match contribution condition for bit slice 7.

Writes raw bits to the register.

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

Writes raw bits to the register.

Examples found in repository?
src/lpc810/gpio/b0_0.rs (line 57)
56
57
58
59
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
More examples
Hide additional examples
src/lpc810/gpio/b0_1.rs (line 57)
56
57
58
59
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/lpc810/gpio/b0_10.rs (line 57)
56
57
58
59
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/lpc810/gpio/b0_11.rs (line 57)
56
57
58
59
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/lpc810/gpio/b0_12.rs (line 57)
56
57
58
59
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
src/lpc810/gpio/b0_13.rs (line 57)
56
57
58
59
    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.