[][src]Type Definition k22f::usb0::otgctl::OTGEN_R

type OTGEN_R = R<bool, OTGEN_A>;

Reader of field OTGEN

Methods

impl OTGEN_R[src]

pub fn variant(&self) -> OTGEN_A[src]

Get enumerated values variant

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

Checks if the value of the field is _0

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

Checks if the value of the field is _1