#[doc = "Reader of register CHSTATUS"]
pub type R = crate::R<u8, super::CHSTATUS>;
#[doc = "Reader of field `PEND`"]
pub type PEND_R = crate::R<bool, bool>;
#[doc = "Reader of field `BUSY`"]
pub type BUSY_R = crate::R<bool, bool>;
#[doc = "Reader of field `FERR`"]
pub type FERR_R = crate::R<bool, bool>;
impl R {
#[doc = "Bit 0 - Channel Pending"]
#[inline(always)]
pub fn pend(&self) -> PEND_R {
PEND_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - Channel Busy"]
#[inline(always)]
pub fn busy(&self) -> BUSY_R {
BUSY_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - Channel Fetch Error"]
#[inline(always)]
pub fn ferr(&self) -> FERR_R {
FERR_R::new(((self.bits >> 2) & 0x01) != 0)
}
}