Struct d1_pac::usb1::ohci_frame_counter_partition::hc_fm_interval::W
source · pub struct W(/* private fields */);
Expand description
Register hc_fm_interval
writer
Implementations§
source§impl W
impl W
sourcepub fn frame_interval(&mut self) -> FRAME_INTERVAL_W<'_, 0>
pub fn frame_interval(&mut self) -> FRAME_INTERVAL_W<'_, 0>
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(&mut self) -> FS_LARGEST_DATA_PACKET_W<'_, 16>
pub fn fs_largest_data_packet(&mut self) -> FS_LARGEST_DATA_PACKET_W<'_, 16>
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(&mut self) -> FRAME_INTERVAL_TOGGLER_W<'_, 31>
pub fn frame_interval_toggler(&mut self) -> FRAME_INTERVAL_TOGGLER_W<'_, 31>
Bit 31 - FrameIntervalToggler HCD toggles this bit whenever it loads a new value to FrameInterval.