pub struct W(_);
Expand description
Register CONF1
writer
Implementations§
§impl W
impl W
pub fn check_sum_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 0>
pub fn check_sum_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 0>
Bit 0 - Set this bit to enable decoder to check check_sum in packet header.
pub fn check_seq_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 1>
pub fn check_seq_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to enable decoder to check seq num in packet header.
pub fn crc_disable(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 2>
pub fn crc_disable(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 2>
Bit 2 - Set this bit to disable crc calculation.
pub fn save_head(&mut self) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 3>
pub fn save_head(&mut self) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 3>
Bit 3 - Set this bit to save packet header .
pub fn tx_check_sum_re(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 4>
pub fn tx_check_sum_re(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 4>
Bit 4 - Set this bit to enable hardware replace check_sum in packet header automatically.
pub fn tx_ack_num_re(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 5>
pub fn tx_ack_num_re(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 5>
Bit 5 - Set this bit to enable hardware replace ack num in packet header automatically.
pub fn check_owner(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 6>
pub fn check_owner(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 6>
Bit 6 - Set this bit to check the owner bit in link descriptor.
pub fn wait_sw_start(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 7>
pub fn wait_sw_start(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 7>
Bit 7 - Set this bit to enable software way to add packet header.
pub fn sw_start(&mut self) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 8>
pub fn sw_start(&mut self) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 8>
Bit 8 - Set this bit to start inserting the packet header.
pub fn dma_infifo_full_thrs(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u16, u16, Unsafe, 12, 9>
pub fn dma_infifo_full_thrs(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u16, u16, Unsafe, 12, 9>
Bits 9:20 - when data amount in link descriptor’s fifo is more than this register value it will produce uhci_dma_infifo_full_wm_int interrupt.
Methods from Deref<Target = W<CONF1_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.