Type Alias atsame70n21b::usbhs::deveptcfg::EPDIR_W

source ·
pub type EPDIR_W<'a, const O: u8> = BitWriter<'a, DEVEPTCFG_SPEC, O, EPDIRSELECT_A>;
Expand description

Field EPDIR writer - Endpoint Direction

Aliased Type§

struct EPDIR_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> EPDIR_W<'a, O>

source

pub fn out(self) -> &'a mut W

The endpoint direction is OUT.

source

pub fn in_(self) -> &'a mut W

The endpoint direction is IN (nor for control endpoints).