pub type CONTROL_BULK_SERVICE_RATIO_W<'a, const O: u8> = FieldWriterSafe<'a, u32, HC_CONTROL_SPEC, u8, CONTROL_BULK_SERVICE_RATIO_A, 2, O>;
Expand description

Field control_bulk_service_ratio writer - This specifies the service ratio between Control and Bulk EDs. Before processing any of the nonperiodic lists, HC must compare the ratio specified with its internal count on how many nonempty Control EDs have been processed, in determining whether to continue serving another Control ED or switching to Bulk EDs. The internal count will be retained when crossing the frame boundary. In case of reset, HCD is responsible for restoring this value.

Aliased Type§

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

Implementations§

source§

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

source

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

1:1

source

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

2:1

source

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

3:1

source

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

4:1