Type Alias nrf52840_pac::usbd::epinen::IN2_R

source ·
pub type IN2_R = BitReader<IN2_A>;
Expand description

Field IN2 reader - Enable IN endpoint 2

Aliased Type§

struct IN2_R { /* private fields */ }

Implementations§

source§

impl IN2_R

source

pub fn variant(&self) -> IN2_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE