pub struct W(_);
Expand description

Register INTENSET writer

Implementations§

Bit 0 - When 1, enables an interrupt when there is a received character available to be read from the RXDAT register.

Bit 2 - When 1, enables an interrupt when the TXDAT register is available to take another character to transmit.

Bit 5 - When 1, enables an interrupt when there is a change in the state of the CTS input.

Bit 6 - When 1, enables an interrupt when the transmitter is fully disabled as indicated by the TXDISINT flag in STAT. See description of the TXDISINT bit for details.

Bit 8 - When 1, enables an interrupt when an overrun error occurred.

Bit 11 - When 1, enables an interrupt when a change of state has occurred in the detection of a received break condition (break condition asserted or deasserted).

Bit 12 - When 1, enables an interrupt when a received start bit has been detected.

Bit 13 - When 1, enables an interrupt when a framing error has been detected.

Bit 14 - When 1, enables an interrupt when a parity error has been detected.

Bit 15 - When 1, enables an interrupt when noise is detected.

Writes raw bits to the register.

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