[−][src]Struct imxrt1062_usbnc1::R
Register/field reader
Result of the read
method of a register.
Also it can be used in the modify
method
Methods
impl<U, T> R<U, T> where
U: Copy,
[src]
U: Copy,
impl<FI> R<bool, FI>
[src]
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
impl R<bool, OVER_CUR_DIS_A>
[src]
pub fn variant(&self) -> OVER_CUR_DIS_A
[src]
Get enumerated values variant
pub fn is_over_cur_dis_0(&self) -> bool
[src]
Checks if the value of the field is OVER_CUR_DIS_0
pub fn is_over_cur_dis_1(&self) -> bool
[src]
Checks if the value of the field is OVER_CUR_DIS_1
impl R<bool, OVER_CUR_POL_A>
[src]
pub fn variant(&self) -> OVER_CUR_POL_A
[src]
Get enumerated values variant
pub fn is_over_cur_pol_0(&self) -> bool
[src]
Checks if the value of the field is OVER_CUR_POL_0
pub fn is_over_cur_pol_1(&self) -> bool
[src]
Checks if the value of the field is OVER_CUR_POL_1
impl R<bool, PWR_POL_A>
[src]
pub fn variant(&self) -> PWR_POL_A
[src]
Get enumerated values variant
pub fn is_pwr_pol_0(&self) -> bool
[src]
Checks if the value of the field is PWR_POL_0
pub fn is_pwr_pol_1(&self) -> bool
[src]
Checks if the value of the field is PWR_POL_1
impl R<bool, WIE_A>
[src]
pub fn variant(&self) -> WIE_A
[src]
Get enumerated values variant
pub fn is_wie_0(&self) -> bool
[src]
Checks if the value of the field is WIE_0
pub fn is_wie_1(&self) -> bool
[src]
Checks if the value of the field is WIE_1
impl R<bool, WKUP_SW_EN_A>
[src]
pub fn variant(&self) -> WKUP_SW_EN_A
[src]
Get enumerated values variant
pub fn is_wkup_sw_en_0(&self) -> bool
[src]
Checks if the value of the field is WKUP_SW_EN_0
pub fn is_wkup_sw_en_1(&self) -> bool
[src]
Checks if the value of the field is WKUP_SW_EN_1
impl R<bool, WKUP_SW_A>
[src]
pub fn variant(&self) -> WKUP_SW_A
[src]
Get enumerated values variant
pub fn is_wkup_sw_0(&self) -> bool
[src]
Checks if the value of the field is WKUP_SW_0
pub fn is_wkup_sw_1(&self) -> bool
[src]
Checks if the value of the field is WKUP_SW_1
impl R<bool, WKUP_ID_EN_A>
[src]
pub fn variant(&self) -> WKUP_ID_EN_A
[src]
Get enumerated values variant
pub fn is_wkup_id_en_0(&self) -> bool
[src]
Checks if the value of the field is WKUP_ID_EN_0
pub fn is_wkup_id_en_1(&self) -> bool
[src]
Checks if the value of the field is WKUP_ID_EN_1
impl R<bool, WKUP_VBUS_EN_A>
[src]
pub fn variant(&self) -> WKUP_VBUS_EN_A
[src]
Get enumerated values variant
pub fn is_wkup_vbus_en_0(&self) -> bool
[src]
Checks if the value of the field is WKUP_VBUS_EN_0
pub fn is_wkup_vbus_en_1(&self) -> bool
[src]
Checks if the value of the field is WKUP_VBUS_EN_1
impl R<bool, WKUP_DPDM_EN_A>
[src]
pub fn variant(&self) -> WKUP_DPDM_EN_A
[src]
Get enumerated values variant
pub fn is_wkup_dpdm_en_0(&self) -> bool
[src]
Checks if the value of the field is WKUP_DPDM_EN_0
pub fn is_wkup_dpdm_en_1(&self) -> bool
[src]
Checks if the value of the field is WKUP_DPDM_EN_1
impl R<bool, WIR_A>
[src]
pub fn variant(&self) -> WIR_A
[src]
Get enumerated values variant
pub fn is_wir_0(&self) -> bool
[src]
Checks if the value of the field is WIR_0
pub fn is_wir_1(&self) -> bool
[src]
Checks if the value of the field is WIR_1
impl R<u32, Reg<u32, _USB_OTG1_CTRL>>
[src]
pub fn over_cur_dis(&self) -> OVER_CUR_DIS_R
[src]
Bit 7 - Disable OTG1 Overcurrent Detection
pub fn over_cur_pol(&self) -> OVER_CUR_POL_R
[src]
Bit 8 - OTG1 Polarity of Overcurrent The polarity of OTG1 port overcurrent event
pub fn pwr_pol(&self) -> PWR_POL_R
[src]
Bit 9 - OTG1 Power Polarity This bit should be set according to PMIC Power Pin polarity.
pub fn wie(&self) -> WIE_R
[src]
Bit 10 - OTG1 Wake-up Interrupt Enable This bit enables or disables the OTG1 wake-up interrupt
pub fn wkup_sw_en(&self) -> WKUP_SW_EN_R
[src]
Bit 14 - OTG1 Software Wake-up Enable
pub fn wkup_sw(&self) -> WKUP_SW_R
[src]
Bit 15 - OTG1 Software Wake-up
pub fn wkup_id_en(&self) -> WKUP_ID_EN_R
[src]
Bit 16 - OTG1 Wake-up on ID change enable
pub fn wkup_vbus_en(&self) -> WKUP_VBUS_EN_R
[src]
Bit 17 - OTG1 wake-up on VBUS change enable
pub fn wkup_dpdm_en(&self) -> WKUP_DPDM_EN_R
[src]
Bit 29 - Wake-up on DPDM change enable
pub fn wir(&self) -> WIR_R
[src]
Bit 31 - OTG1 Wake-up Interrupt Request This bit indicates that a wake-up interrupt request is received on the OTG1 port
impl R<bool, UTMI_CLK_VLD_A>
[src]
pub fn variant(&self) -> UTMI_CLK_VLD_A
[src]
Get enumerated values variant
pub fn is_utmi_clk_vld_0(&self) -> bool
[src]
Checks if the value of the field is UTMI_CLK_VLD_0
pub fn is_utmi_clk_vld_1(&self) -> bool
[src]
Checks if the value of the field is UTMI_CLK_VLD_1
impl R<u32, Reg<u32, _USB_OTG1_PHY_CTRL_0>>
[src]
pub fn utmi_clk_vld(&self) -> UTMI_CLK_VLD_R
[src]
Bit 31 - Indicating whether OTG1 UTMI PHY clock is valid
Trait Implementations
Auto Trait Implementations
impl<U, T> Send for R<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for R<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for R<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,