Type Definition tm4c123x::usb0::txtype2::PROTO_R

source ·
pub type PROTO_R = R<u8, PROTO_A>;
Expand description

Reader of field PROTO

Implementations§

source§

impl PROTO_R

source

pub fn variant(&self) -> PROTO_A

Get enumerated values variant

source

pub fn is_ctrl(&self) -> bool

Checks if the value of the field is CTRL

source

pub fn is_isoc(&self) -> bool

Checks if the value of the field is ISOC

source

pub fn is_bulk(&self) -> bool

Checks if the value of the field is BULK

source

pub fn is_int(&self) -> bool

Checks if the value of the field is INT