Struct lpc55_pac::usart0::cfg::SYNCEN_W [−][src]
pub struct SYNCEN_W<'a> { /* fields omitted */ }
Field SYNCEN
writer - Selects synchronous or asynchronous operation.
Implementations
impl<'a> SYNCEN_W<'a>
[src]
impl<'a> SYNCEN_W<'a>
[src]pub fn variant(self, variant: SYNCEN_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn asynchronous_mode(self) -> &'a mut W
[src]
Asynchronous mode.
pub fn synchronous_mode(self) -> &'a mut W
[src]
Synchronous mode.
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