Enum stm32f103xx::usb::ep3r::EP_TYPER
[−]
[src]
pub enum EP_TYPER {
BULK,
CONTROL,
ISO,
INTERRUPT,
}Possible values of the field EP_TYPE
Variants
BULKThis endpoint is a bulk endpoint
CONTROLThis endpoint is a control endpoint
ISOThis endpoint is an isochronous endpoint
INTERRUPTThis endpoint is an interrupt endpoint
Methods
impl EP_TYPER[src]
pub fn bits(&self) -> u8[src]
Value of the field as raw bits
pub fn is_bulk(&self) -> bool[src]
Checks if the value of the field is BULK
pub fn is_control(&self) -> bool[src]
Checks if the value of the field is CONTROL
pub fn is_iso(&self) -> bool[src]
Checks if the value of the field is ISO
pub fn is_interrupt(&self) -> bool[src]
Checks if the value of the field is INTERRUPT
Trait Implementations
impl Clone for EP_TYPER[src]
fn clone(&self) -> EP_TYPER[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for EP_TYPER[src]
impl Debug for EP_TYPER[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more