[][src]Struct imxrt1062_usb_analog::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _USB1_VBUS_DETECT>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB1_VBUS_DETECT_SET>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB1_VBUS_DETECT_CLR>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB1_VBUS_DETECT_TOG>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB1_CHRG_DETECT>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB1_CHRG_DETECT_SET>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB1_CHRG_DETECT_CLR>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB1_CHRG_DETECT_TOG>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB1_MISC>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB1_MISC_SET>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB1_MISC_CLR>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB1_MISC_TOG>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB2_VBUS_DETECT>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB2_VBUS_DETECT_SET>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB2_VBUS_DETECT_CLR>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB2_VBUS_DETECT_TOG>>[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.

impl W<u32, Reg<u32, _USB2_CHRG_DETECT>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB2_CHRG_DETECT_SET>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB2_CHRG_DETECT_CLR>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB2_CHRG_DETECT_TOG>>[src]

pub fn chk_contact(&mut self) -> CHK_CONTACT_W[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&mut self) -> CHK_CHRG_B_W[src]

Bit 19 - Check the charger connection

pub fn en_b(&mut self) -> EN_B_W[src]

Bit 20 - Control the charger detector.

impl W<u32, Reg<u32, _USB2_MISC>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB2_MISC_SET>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB2_MISC_CLR>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

impl W<u32, Reg<u32, _USB2_MISC_TOG>>[src]

pub fn hs_use_external_r(&mut self) -> HS_USE_EXTERNAL_R_W[src]

Bit 0 - Use external resistor to generate the current bias for the high speed transmitter

pub fn en_deglitch(&mut self) -> EN_DEGLITCH_W[src]

Bit 1 - Enable the deglitching circuit of the USB PLL output.

pub fn en_clk_utmi(&mut self) -> EN_CLK_UTMI_W[src]

Bit 30 - Enables the clk to the UTMI block.

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.