Type Definition atsam4ls4b_pac::usbc::upcfg6::PTOKEN_R[][src]

type PTOKEN_R = R<u8, PTOKEN_A>;

Reader of field PTOKEN

Implementations

impl PTOKEN_R[src]

pub fn variant(&self) -> Variant<u8, PTOKEN_A>[src]

Get enumerated values variant

pub fn is_setup(&self) -> bool[src]

Checks if the value of the field is SETUP

pub fn is_in_(&self) -> bool[src]

Checks if the value of the field is IN

pub fn is_out(&self) -> bool[src]

Checks if the value of the field is OUT