[−][src]Struct lpc55_pac::usart0::cfg::ENABLE_W
Write proxy for field ENABLE
Implementations
impl<'a> ENABLE_W<'a>
[src][−]
pub fn variant(self, variant: ENABLE_A) -> &'a mut W
[src][−]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src][−]
Disabled. The USART is disabled and the internal state machine and counters are reset. While Enable = 0, all USART interrupts and DMA transfers are disabled. When Enable is set again, CFG and most other control bits remain unchanged. When re-enabled, the USART will immediately be ready to transmit because the transmitter has been reset and is therefore available.
pub fn enabled(self) -> &'a mut W
[src][−]
Enabled. The USART is enabled for operation.
pub fn set_bit(self) -> &'a mut W
[src][−]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src][−]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src][−]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,