imxrt1062-usb1 0.1.1

An imxrt1062-pac subcrate. See the imxrt1062-pac for more details. This crate is not maintained. Consider using the register access layer provided by the [imxrt-rs](https://github.com/imxrt-rs/imxrt-rs) project. Formerly part of the teensy4-rs project.
Documentation
#[doc = "Reader of register DCCPARAMS"]
pub type R = crate::R<u32, super::DCCPARAMS>;
#[doc = "Reader of field `DEN`"]
pub type DEN_R = crate::R<u8, u8>;
#[doc = "Reader of field `DC`"]
pub type DC_R = crate::R<bool, bool>;
#[doc = "Reader of field `HC`"]
pub type HC_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bits 0:4 - Device Endpoint Number This field indicates the number of endpoints built into the device controller"]
    #[inline(always)]
    pub fn den(&self) -> DEN_R {
        DEN_R::new((self.bits & 0x1f) as u8)
    }
    #[doc = "Bit 7 - Device Capable When this bit is 1, this controller is capable of operating as a USB 2.0 device."]
    #[inline(always)]
    pub fn dc(&self) -> DC_R {
        DC_R::new(((self.bits >> 7) & 0x01) != 0)
    }
    #[doc = "Bit 8 - Host Capable When this bit is 1, this controller is capable of operating as an EHCI compatible USB 2"]
    #[inline(always)]
    pub fn hc(&self) -> HC_R {
        HC_R::new(((self.bits >> 8) & 0x01) != 0)
    }
}