Enum lpc177x_8x::uart1::lcr::SBSR[][src]

pub enum SBSR {
    _1_STOP_BIT,
    _2_STOP_BITS,
}

Possible values of the field SBS

Variants

1 stop bit.

2 stop bits (1.5 if LCR[1:0]=00).

Methods

impl SBSR
[src]

Returns true if the bit is clear (0)

Returns true if the bit is set (1)

Value of the field as raw bits

Checks if the value of the field is _1_STOP_BIT

Checks if the value of the field is _2_STOP_BITS

Trait Implementations

impl Clone for SBSR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SBSR
[src]

impl Debug for SBSR
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SBSR
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for SBSR

impl Sync for SBSR