Type Definition atsam4ls8b_pac::usbc::upcfg3::PSIZE_R

source ·
pub type PSIZE_R = FieldReader<u8, PSIZESELECT_A>;
Expand description

Field PSIZE reader - Pipe Size

Implementations§

source§

impl PSIZE_R

source

pub fn variant(&self) -> PSIZESELECT_A

Get enumerated values variant

source

pub fn is_8(&self) -> bool

Checks if the value of the field is _8

source

pub fn is_16(&self) -> bool

Checks if the value of the field is _16

source

pub fn is_32(&self) -> bool

Checks if the value of the field is _32

source

pub fn is_64(&self) -> bool

Checks if the value of the field is _64

source

pub fn is_128(&self) -> bool

Checks if the value of the field is _128

source

pub fn is_256(&self) -> bool

Checks if the value of the field is _256

source

pub fn is_512(&self) -> bool

Checks if the value of the field is _512

source

pub fn is_1024(&self) -> bool

Checks if the value of the field is _1024