Struct d1_pac::usb1::ohci_memory_pointer_partition::hc_control_current_ed::R
source · pub struct R(/* private fields */);
Expand description
Register hc_control_current_ed
reader
Implementations§
source§impl R
impl R
sourcepub fn cced_3_0(&self) -> CCED_3_0_R
pub fn cced_3_0(&self) -> CCED_3_0_R
Bits 0:3 - Because the general TD length is 16 bytes, the memory structure for the TD must be aligned to a 16-byte boundary. So the lower bits in the PCED, through bit 0 to bit 3 must be zero in this field.
sourcepub fn cced_31_4(&self) -> CCED_31_4_R
pub fn cced_31_4(&self) -> CCED_31_4_R
Bits 4:31 - The pointer is advanced to the next ED after serving the present one. HC will continue processing the list from where it left off in the last Frame. When it reaches the end of the Control list, HC checks the ControlListFilled of in HcCommandStatus. If set, it copies the content of HcControlHeadED to HcControlCurrentED and clears the bit. If not set, it does nothing.
HCD is allowed to modify this register only when the ControlListEnable of HcControl is cleared. When set, HCD only reads the instantaneous value of this register. Initially, this is set to zero to indicate the end of the Control list.