Type Alias nrf52840_pac::usbd::dtoggle::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