nrf52840_pac::usbd::dtoggle

Type Alias IO_R

Source
pub type IO_R = BitReader<IO_A>;
Expand description

Field IO reader - Selects IN or OUT endpoint

Aliased Type§

struct IO_R { /* private fields */ }

Implementations§

Source§

impl IO_R

Source

pub fn variant(&self) -> IO_A

Get enumerated values variant

Source

pub fn is_out(&self) -> bool

Checks if the value of the field is OUT

Source

pub fn is_in(&self) -> bool

Checks if the value of the field is IN