#[doc = "Register `PLD_ORT3` reader"]
pub struct R(crate::R<PLD_ORT3_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<PLD_ORT3_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::convert::From<crate::R<PLD_ORT3_SPEC>> for R {
    fn from(reader: crate::R<PLD_ORT3_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Register `PLD_ORT3` writer"]
pub struct W(crate::W<PLD_ORT3_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<PLD_ORT3_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::ops::DerefMut for W {
    #[inline(always)]
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}
impl core::convert::From<crate::W<PLD_ORT3_SPEC>> for W {
    fn from(writer: crate::W<PLD_ORT3_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `PLD0_ORT_PTx_0` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_0_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_0_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_0_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_0_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_0` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_0_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_0_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !0x01) | (value as u16 & 0x01);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_1` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_1_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_1_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_1_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_1_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_1` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_1_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_1_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 1)) | ((value as u16 & 0x01) << 1);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_2` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_2_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_2_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_2_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_2_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_2` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_2_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_2_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 2)) | ((value as u16 & 0x01) << 2);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_3` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_3_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_3_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_3_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_3_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_3` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_3_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_3_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 3)) | ((value as u16 & 0x01) << 3);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_4` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_4_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_4_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_4_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_4_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_4` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_4_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_4_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 4)) | ((value as u16 & 0x01) << 4);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_5` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_5_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_5_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_5_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_5_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_5` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_5_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_5_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 5)) | ((value as u16 & 0x01) << 5);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_6` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_6_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_6_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_6_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_6_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_6` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_6_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_6_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 6)) | ((value as u16 & 0x01) << 6);
        self.w
    }
}
#[doc = "Field `PLD0_ORT_PTx_7` reader - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_7_R(crate::FieldReader<bool, bool>);
impl PLD0_ORT_PTX_7_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD0_ORT_PTX_7_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD0_ORT_PTX_7_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD0_ORT_PTx_7` writer - OR term. Bit position corresponds to product term."]
pub struct PLD0_ORT_PTX_7_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD0_ORT_PTX_7_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 7)) | ((value as u16 & 0x01) << 7);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_0` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_0_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_0_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_0_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_0_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_0` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_0_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_0_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 8)) | ((value as u16 & 0x01) << 8);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_1` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_1_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_1_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_1_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_1_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_1` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_1_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_1_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 9)) | ((value as u16 & 0x01) << 9);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_2` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_2_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_2_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_2_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_2_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_2` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_2_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_2_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 10)) | ((value as u16 & 0x01) << 10);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_3` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_3_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_3_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_3_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_3_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_3` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_3_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_3_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 11)) | ((value as u16 & 0x01) << 11);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_4` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_4_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_4_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_4_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_4_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_4` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_4_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_4_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 12)) | ((value as u16 & 0x01) << 12);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_5` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_5_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_5_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_5_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_5_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_5` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_5_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_5_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 13)) | ((value as u16 & 0x01) << 13);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_6` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_6_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_6_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_6_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_6_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_6` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_6_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_6_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 14)) | ((value as u16 & 0x01) << 14);
        self.w
    }
}
#[doc = "Field `PLD1_ORT_PTx_7` reader - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_7_R(crate::FieldReader<bool, bool>);
impl PLD1_ORT_PTX_7_R {
    pub(crate) fn new(bits: bool) -> Self {
        PLD1_ORT_PTX_7_R(crate::FieldReader::new(bits))
    }
}
impl core::ops::Deref for PLD1_ORT_PTX_7_R {
    type Target = crate::FieldReader<bool, bool>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
#[doc = "Field `PLD1_ORT_PTx_7` writer - OR term. Bit position corresponds to product term."]
pub struct PLD1_ORT_PTX_7_W<'a> {
    w: &'a mut W,
}
impl<'a> PLD1_ORT_PTX_7_W<'a> {
    #[doc = r"Sets the field bit"]
    #[inline(always)]
    pub fn set_bit(self) -> &'a mut W {
        self.bit(true)
    }
    #[doc = r"Clears the field bit"]
    #[inline(always)]
    pub fn clear_bit(self) -> &'a mut W {
        self.bit(false)
    }
    #[doc = r"Writes raw bits to the field"]
    #[inline(always)]
    pub fn bit(self, value: bool) -> &'a mut W {
        self.w.bits = (self.w.bits & !(0x01 << 15)) | ((value as u16 & 0x01) << 15);
        self.w
    }
}
impl R {
    #[doc = "Bit 0 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_0(&self) -> PLD0_ORT_PTX_0_R {
        PLD0_ORT_PTX_0_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_1(&self) -> PLD0_ORT_PTX_1_R {
        PLD0_ORT_PTX_1_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_2(&self) -> PLD0_ORT_PTX_2_R {
        PLD0_ORT_PTX_2_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 3 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_3(&self) -> PLD0_ORT_PTX_3_R {
        PLD0_ORT_PTX_3_R::new(((self.bits >> 3) & 0x01) != 0)
    }
    #[doc = "Bit 4 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_4(&self) -> PLD0_ORT_PTX_4_R {
        PLD0_ORT_PTX_4_R::new(((self.bits >> 4) & 0x01) != 0)
    }
    #[doc = "Bit 5 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_5(&self) -> PLD0_ORT_PTX_5_R {
        PLD0_ORT_PTX_5_R::new(((self.bits >> 5) & 0x01) != 0)
    }
    #[doc = "Bit 6 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_6(&self) -> PLD0_ORT_PTX_6_R {
        PLD0_ORT_PTX_6_R::new(((self.bits >> 6) & 0x01) != 0)
    }
    #[doc = "Bit 7 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_7(&self) -> PLD0_ORT_PTX_7_R {
        PLD0_ORT_PTX_7_R::new(((self.bits >> 7) & 0x01) != 0)
    }
    #[doc = "Bit 8 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_0(&self) -> PLD1_ORT_PTX_0_R {
        PLD1_ORT_PTX_0_R::new(((self.bits >> 8) & 0x01) != 0)
    }
    #[doc = "Bit 9 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_1(&self) -> PLD1_ORT_PTX_1_R {
        PLD1_ORT_PTX_1_R::new(((self.bits >> 9) & 0x01) != 0)
    }
    #[doc = "Bit 10 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_2(&self) -> PLD1_ORT_PTX_2_R {
        PLD1_ORT_PTX_2_R::new(((self.bits >> 10) & 0x01) != 0)
    }
    #[doc = "Bit 11 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_3(&self) -> PLD1_ORT_PTX_3_R {
        PLD1_ORT_PTX_3_R::new(((self.bits >> 11) & 0x01) != 0)
    }
    #[doc = "Bit 12 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_4(&self) -> PLD1_ORT_PTX_4_R {
        PLD1_ORT_PTX_4_R::new(((self.bits >> 12) & 0x01) != 0)
    }
    #[doc = "Bit 13 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_5(&self) -> PLD1_ORT_PTX_5_R {
        PLD1_ORT_PTX_5_R::new(((self.bits >> 13) & 0x01) != 0)
    }
    #[doc = "Bit 14 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_6(&self) -> PLD1_ORT_PTX_6_R {
        PLD1_ORT_PTX_6_R::new(((self.bits >> 14) & 0x01) != 0)
    }
    #[doc = "Bit 15 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_7(&self) -> PLD1_ORT_PTX_7_R {
        PLD1_ORT_PTX_7_R::new(((self.bits >> 15) & 0x01) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_0(&mut self) -> PLD0_ORT_PTX_0_W {
        PLD0_ORT_PTX_0_W { w: self }
    }
    #[doc = "Bit 1 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_1(&mut self) -> PLD0_ORT_PTX_1_W {
        PLD0_ORT_PTX_1_W { w: self }
    }
    #[doc = "Bit 2 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_2(&mut self) -> PLD0_ORT_PTX_2_W {
        PLD0_ORT_PTX_2_W { w: self }
    }
    #[doc = "Bit 3 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_3(&mut self) -> PLD0_ORT_PTX_3_W {
        PLD0_ORT_PTX_3_W { w: self }
    }
    #[doc = "Bit 4 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_4(&mut self) -> PLD0_ORT_PTX_4_W {
        PLD0_ORT_PTX_4_W { w: self }
    }
    #[doc = "Bit 5 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_5(&mut self) -> PLD0_ORT_PTX_5_W {
        PLD0_ORT_PTX_5_W { w: self }
    }
    #[doc = "Bit 6 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_6(&mut self) -> PLD0_ORT_PTX_6_W {
        PLD0_ORT_PTX_6_W { w: self }
    }
    #[doc = "Bit 7 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld0_ort_ptx_7(&mut self) -> PLD0_ORT_PTX_7_W {
        PLD0_ORT_PTX_7_W { w: self }
    }
    #[doc = "Bit 8 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_0(&mut self) -> PLD1_ORT_PTX_0_W {
        PLD1_ORT_PTX_0_W { w: self }
    }
    #[doc = "Bit 9 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_1(&mut self) -> PLD1_ORT_PTX_1_W {
        PLD1_ORT_PTX_1_W { w: self }
    }
    #[doc = "Bit 10 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_2(&mut self) -> PLD1_ORT_PTX_2_W {
        PLD1_ORT_PTX_2_W { w: self }
    }
    #[doc = "Bit 11 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_3(&mut self) -> PLD1_ORT_PTX_3_W {
        PLD1_ORT_PTX_3_W { w: self }
    }
    #[doc = "Bit 12 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_4(&mut self) -> PLD1_ORT_PTX_4_W {
        PLD1_ORT_PTX_4_W { w: self }
    }
    #[doc = "Bit 13 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_5(&mut self) -> PLD1_ORT_PTX_5_W {
        PLD1_ORT_PTX_5_W { w: self }
    }
    #[doc = "Bit 14 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_6(&mut self) -> PLD1_ORT_PTX_6_W {
        PLD1_ORT_PTX_6_W { w: self }
    }
    #[doc = "Bit 15 - OR term. Bit position corresponds to product term."]
    #[inline(always)]
    pub fn pld1_ort_ptx_7(&mut self) -> PLD1_ORT_PTX_7_W {
        PLD1_ORT_PTX_7_W { w: self }
    }
    #[doc = "Writes raw bits to the register."]
    pub unsafe fn bits(&mut self, bits: u16) -> &mut Self {
        self.0.bits(bits);
        self
    }
}
#[doc = "PLD OR Terms\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pld_ort3](index.html) module"]
pub struct PLD_ORT3_SPEC;
impl crate::RegisterSpec for PLD_ORT3_SPEC {
    type Ux = u16;
}
#[doc = "`read()` method returns [pld_ort3::R](R) reader structure"]
impl crate::Readable for PLD_ORT3_SPEC {
    type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [pld_ort3::W](W) writer structure"]
impl crate::Writable for PLD_ORT3_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets PLD_ORT3 to value 0"]
impl crate::Resettable for PLD_ORT3_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}
