pub struct W(_);
Expand description
Register HUNG_CONF
writer
Implementations§
§impl W
impl W
pub fn txfifo_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 8, 0>
pub fn txfifo_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - This register stores the timeout value.when DMA takes more time than this register value to receive a data it will produce uhci_tx_hung_int interrupt.
pub fn txfifo_timeout_shift(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 3, 8>
pub fn txfifo_timeout_shift(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - The tick count is cleared when its value >=(17’d8000>>reg_txfifo_timeout_shift)
pub fn txfifo_timeout_ena(
&mut self
) -> BitWriterRaw<'_, u32, HUNG_CONF_SPEC, bool, BitM, 11>
pub fn txfifo_timeout_ena(
&mut self
) -> BitWriterRaw<'_, u32, HUNG_CONF_SPEC, bool, BitM, 11>
Bit 11 - The enable bit for txfifo receive data timeout
pub fn rxfifo_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 8, 12>
pub fn rxfifo_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 8, 12>
Bits 12:19 - This register stores the timeout value.when DMA takes more time than this register value to read a data from RAM it will produce uhci_rx_hung_int interrupt.
pub fn rxfifo_timeout_shift(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 3, 20>
pub fn rxfifo_timeout_shift(
&mut self
) -> FieldWriterRaw<'_, u32, HUNG_CONF_SPEC, u8, u8, Unsafe, 3, 20>
Bits 20:22 - The tick count is cleared when its value >=(17’d8000>>reg_rxfifo_timeout_shift)
pub fn rxfifo_timeout_ena(
&mut self
) -> BitWriterRaw<'_, u32, HUNG_CONF_SPEC, bool, BitM, 23>
pub fn rxfifo_timeout_ena(
&mut self
) -> BitWriterRaw<'_, u32, HUNG_CONF_SPEC, bool, BitM, 23>
Bit 23 - This is the enable bit for DMA send data timeout
Methods from Deref<Target = W<HUNG_CONF_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.