pub type NO_OVER_CURRENT_PROTECTION_W<'a, const O: u8> = BitWriter<'a, u32, HC_RH_DESCRIPTOR_A_SPEC, NO_OVER_CURRENT_PROTECTION_A, O>;
Expand description

Field no_over_current_protection writer - NoOverCurrentProtection

This bit describes how the overcurrent status for the Root Hub ports are reported. When this bit is cleared, the OverCurrentProtectionMode field specifies global or per-port reporting.

Aliased Type§

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

Implementations§

source§

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

source

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

Over-current status is reported collectively for all downstream ports

source

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

No over-current protection supported