pub type NBTRANS_W<'a, const O: u8> = FieldWriterSafe<'a, DEVEPTCFG_SPEC, 2, O, NBTRANSSELECT_A>;
Expand description

Field NBTRANS writer - Number of transactions per microframe for isochronous endpoint

Aliased Type§

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

Implementations§

source§

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

source

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

Reserved to endpoint that does not have the high-bandwidth isochronous capability.

source

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

Default value: one transaction per microframe.

source

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

Two transactions per microframe. This endpoint should be configured as double-bank.

source

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

Three transactions per microframe. This endpoint should be configured as triple-bank.