Enum stm32f103xx::usb::ep7r::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]
impl EP_TYPERpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_bulk(&self) -> bool[src]
pub fn is_bulk(&self) -> boolChecks if the value of the field is BULK
pub fn is_control(&self) -> bool[src]
pub fn is_control(&self) -> boolChecks if the value of the field is CONTROL
pub fn is_iso(&self) -> bool[src]
pub fn is_iso(&self) -> boolChecks if the value of the field is ISO
pub fn is_interrupt(&self) -> bool[src]
pub fn is_interrupt(&self) -> boolChecks if the value of the field is INTERRUPT
Trait Implementations
impl Clone for EP_TYPER[src]
impl Clone for EP_TYPERfn clone(&self) -> EP_TYPER[src]
fn clone(&self) -> EP_TYPERReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
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 Copy for EP_TYPERimpl Debug for EP_TYPER[src]
impl Debug for EP_TYPERfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for EP_TYPER[src]
impl PartialEq for EP_TYPER