Struct d1_pac::usb1::ohci_frame_counter_partition::hc_fm_interval::R
source · pub struct R(/* private fields */);
Expand description
Register hc_fm_interval
reader
Implementations§
source§impl R
impl R
sourcepub fn frame_interval(&self) -> FRAME_INTERVAL_R
pub fn frame_interval(&self) -> FRAME_INTERVAL_R
Bits 0:13 - FrameInterval
This specifies the interval between two consecutive SOFs in bit times. The nominal value is set to be 11,999. HCD should store the current value of this field before resetting HC. By setting the HostControllerReset field of as this will cause the HC to reset this field to its nominal value. HCD may choose to restore the stored value upon the completion of the Reset sequence.
sourcepub fn fs_largest_data_packet(&self) -> FS_LARGEST_DATA_PACKET_R
pub fn fs_largest_data_packet(&self) -> FS_LARGEST_DATA_PACKET_R
Bits 16:30 - FSLargestDataPacket
This field specifies a value which is loaded into the Largest Data Packet Counter at the beginning of each frame. The counter value represents the largest amount of data in bits which can be sent or received by the HC in a single transaction at any given time without causing scheduling overrun. The field value is calculated by the HCD.
sourcepub fn frame_interval_toggler(&self) -> FRAME_INTERVAL_TOGGLER_R
pub fn frame_interval_toggler(&self) -> FRAME_INTERVAL_TOGGLER_R
Bit 31 - FrameIntervalToggler HCD toggles this bit whenever it loads a new value to FrameInterval.