#[doc = "Register `PDRUNCFG3_CLR` reader"]
pub struct R(crate::R<PDRUNCFG3_CLR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<PDRUNCFG3_CLR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<PDRUNCFG3_CLR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<PDRUNCFG3_CLR_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `PDRUNCFG3_CLR` writer"]
pub struct W(crate::W<PDRUNCFG3_CLR_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<PDRUNCFG3_CLR_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 From<crate::W<PDRUNCFG3_CLR_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<PDRUNCFG3_CLR_SPEC>) -> Self {
W(writer)
}
}
#[doc = "Field `SRAM_IF0_PPD` reader - Periphery power for RAM interface 0"]
pub type SRAM_IF0_PPD_R = crate::BitReader<SRAM_IF0_PPD_A>;
#[doc = "Periphery power for RAM interface 0\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF0_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF0_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF0_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF0_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF0_PPD_A {
match self.bits {
false => SRAM_IF0_PPD_A::DISABLE,
true => SRAM_IF0_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF0_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF0_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF0_PPD` writer - Periphery power for RAM interface 0"]
pub type SRAM_IF0_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF0_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF0_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF0_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF0_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF1_PPD` reader - Periphery power for RAM interface 1"]
pub type SRAM_IF1_PPD_R = crate::BitReader<SRAM_IF1_PPD_A>;
#[doc = "Periphery power for RAM interface 1\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF1_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF1_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF1_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF1_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF1_PPD_A {
match self.bits {
false => SRAM_IF1_PPD_A::DISABLE,
true => SRAM_IF1_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF1_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF1_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF1_PPD` writer - Periphery power for RAM interface 1"]
pub type SRAM_IF1_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF1_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF1_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF1_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF1_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF2_PPD` reader - Periphery power for RAM interface 2"]
pub type SRAM_IF2_PPD_R = crate::BitReader<SRAM_IF2_PPD_A>;
#[doc = "Periphery power for RAM interface 2\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF2_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF2_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF2_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF2_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF2_PPD_A {
match self.bits {
false => SRAM_IF2_PPD_A::DISABLE,
true => SRAM_IF2_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF2_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF2_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF2_PPD` writer - Periphery power for RAM interface 2"]
pub type SRAM_IF2_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF2_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF2_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF2_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF2_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF3_PPD` reader - Periphery power for RAM interface 3"]
pub type SRAM_IF3_PPD_R = crate::BitReader<SRAM_IF3_PPD_A>;
#[doc = "Periphery power for RAM interface 3\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF3_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF3_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF3_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF3_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF3_PPD_A {
match self.bits {
false => SRAM_IF3_PPD_A::DISABLE,
true => SRAM_IF3_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF3_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF3_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF3_PPD` writer - Periphery power for RAM interface 3"]
pub type SRAM_IF3_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF3_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF3_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF3_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF3_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF4_PPD` reader - Periphery power for RAM interface 4"]
pub type SRAM_IF4_PPD_R = crate::BitReader<SRAM_IF4_PPD_A>;
#[doc = "Periphery power for RAM interface 4\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF4_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF4_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF4_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF4_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF4_PPD_A {
match self.bits {
false => SRAM_IF4_PPD_A::DISABLE,
true => SRAM_IF4_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF4_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF4_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF4_PPD` writer - Periphery power for RAM interface 4"]
pub type SRAM_IF4_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF4_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF4_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF4_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF4_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF5_PPD` reader - Periphery power for RAM interface 5"]
pub type SRAM_IF5_PPD_R = crate::BitReader<SRAM_IF5_PPD_A>;
#[doc = "Periphery power for RAM interface 5\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF5_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF5_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF5_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF5_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF5_PPD_A {
match self.bits {
false => SRAM_IF5_PPD_A::DISABLE,
true => SRAM_IF5_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF5_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF5_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF5_PPD` writer - Periphery power for RAM interface 5"]
pub type SRAM_IF5_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF5_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF5_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF5_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF5_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF6_PPD` reader - Periphery power for RAM interface 6"]
pub type SRAM_IF6_PPD_R = crate::BitReader<SRAM_IF6_PPD_A>;
#[doc = "Periphery power for RAM interface 6\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF6_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF6_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF6_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF6_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF6_PPD_A {
match self.bits {
false => SRAM_IF6_PPD_A::DISABLE,
true => SRAM_IF6_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF6_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF6_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF6_PPD` writer - Periphery power for RAM interface 6"]
pub type SRAM_IF6_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF6_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF6_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF6_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF6_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF7_PPD` reader - Periphery power for RAM interface 7"]
pub type SRAM_IF7_PPD_R = crate::BitReader<SRAM_IF7_PPD_A>;
#[doc = "Periphery power for RAM interface 7\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF7_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF7_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF7_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF7_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF7_PPD_A {
match self.bits {
false => SRAM_IF7_PPD_A::DISABLE,
true => SRAM_IF7_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF7_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF7_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF7_PPD` writer - Periphery power for RAM interface 7"]
pub type SRAM_IF7_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF7_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF7_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF7_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF7_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF8_PPD` reader - Periphery power for RAM interface 8"]
pub type SRAM_IF8_PPD_R = crate::BitReader<SRAM_IF8_PPD_A>;
#[doc = "Periphery power for RAM interface 8\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF8_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF8_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF8_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF8_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF8_PPD_A {
match self.bits {
false => SRAM_IF8_PPD_A::DISABLE,
true => SRAM_IF8_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF8_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF8_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF8_PPD` writer - Periphery power for RAM interface 8"]
pub type SRAM_IF8_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF8_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF8_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF8_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF8_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF9_PPD` reader - Periphery power for RAM interface 9"]
pub type SRAM_IF9_PPD_R = crate::BitReader<SRAM_IF9_PPD_A>;
#[doc = "Periphery power for RAM interface 9\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF9_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF9_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF9_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF9_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF9_PPD_A {
match self.bits {
false => SRAM_IF9_PPD_A::DISABLE,
true => SRAM_IF9_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF9_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF9_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF9_PPD` writer - Periphery power for RAM interface 9"]
pub type SRAM_IF9_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF9_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF9_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF9_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF9_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF10_PPD` reader - Periphery power for RAM interface 10"]
pub type SRAM_IF10_PPD_R = crate::BitReader<SRAM_IF10_PPD_A>;
#[doc = "Periphery power for RAM interface 10\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF10_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF10_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF10_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF10_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF10_PPD_A {
match self.bits {
false => SRAM_IF10_PPD_A::DISABLE,
true => SRAM_IF10_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF10_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF10_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF10_PPD` writer - Periphery power for RAM interface 10"]
pub type SRAM_IF10_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF10_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF10_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF10_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF10_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF11_PPD` reader - Periphery power for RAM interface 11"]
pub type SRAM_IF11_PPD_R = crate::BitReader<SRAM_IF11_PPD_A>;
#[doc = "Periphery power for RAM interface 11\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF11_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF11_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF11_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF11_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF11_PPD_A {
match self.bits {
false => SRAM_IF11_PPD_A::DISABLE,
true => SRAM_IF11_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF11_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF11_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF11_PPD` writer - Periphery power for RAM interface 11"]
pub type SRAM_IF11_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF11_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF11_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF11_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF11_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF12_PPD` reader - Periphery power for RAM interface 12"]
pub type SRAM_IF12_PPD_R = crate::BitReader<SRAM_IF12_PPD_A>;
#[doc = "Periphery power for RAM interface 12\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF12_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF12_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF12_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF12_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF12_PPD_A {
match self.bits {
false => SRAM_IF12_PPD_A::DISABLE,
true => SRAM_IF12_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF12_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF12_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF12_PPD` writer - Periphery power for RAM interface 12"]
pub type SRAM_IF12_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF12_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF12_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF12_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF12_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF13_PPD` reader - Periphery power for RAM interface 13"]
pub type SRAM_IF13_PPD_R = crate::BitReader<SRAM_IF13_PPD_A>;
#[doc = "Periphery power for RAM interface 13\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF13_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF13_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF13_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF13_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF13_PPD_A {
match self.bits {
false => SRAM_IF13_PPD_A::DISABLE,
true => SRAM_IF13_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF13_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF13_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF13_PPD` writer - Periphery power for RAM interface 13"]
pub type SRAM_IF13_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF13_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF13_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF13_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF13_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF14_PPD` reader - Periphery power for RAM interface 14"]
pub type SRAM_IF14_PPD_R = crate::BitReader<SRAM_IF14_PPD_A>;
#[doc = "Periphery power for RAM interface 14\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF14_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF14_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF14_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF14_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF14_PPD_A {
match self.bits {
false => SRAM_IF14_PPD_A::DISABLE,
true => SRAM_IF14_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF14_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF14_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF14_PPD` writer - Periphery power for RAM interface 14"]
pub type SRAM_IF14_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF14_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF14_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF14_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF14_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF15_PPD` reader - Periphery power for RAM interface 15"]
pub type SRAM_IF15_PPD_R = crate::BitReader<SRAM_IF15_PPD_A>;
#[doc = "Periphery power for RAM interface 15\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF15_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF15_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF15_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF15_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF15_PPD_A {
match self.bits {
false => SRAM_IF15_PPD_A::DISABLE,
true => SRAM_IF15_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF15_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF15_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF15_PPD` writer - Periphery power for RAM interface 15"]
pub type SRAM_IF15_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF15_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF15_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF15_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF15_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF16_PPD` reader - Periphery power for RAM interface 16"]
pub type SRAM_IF16_PPD_R = crate::BitReader<SRAM_IF16_PPD_A>;
#[doc = "Periphery power for RAM interface 16\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF16_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF16_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF16_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF16_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF16_PPD_A {
match self.bits {
false => SRAM_IF16_PPD_A::DISABLE,
true => SRAM_IF16_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF16_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF16_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF16_PPD` writer - Periphery power for RAM interface 16"]
pub type SRAM_IF16_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF16_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF16_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF16_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF16_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF17_PPD` reader - Periphery power for RAM interface 17"]
pub type SRAM_IF17_PPD_R = crate::BitReader<SRAM_IF17_PPD_A>;
#[doc = "Periphery power for RAM interface 17\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF17_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF17_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF17_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF17_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF17_PPD_A {
match self.bits {
false => SRAM_IF17_PPD_A::DISABLE,
true => SRAM_IF17_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF17_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF17_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF17_PPD` writer - Periphery power for RAM interface 17"]
pub type SRAM_IF17_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF17_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF17_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF17_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF17_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF18_PPD` reader - Periphery power for RAM interface 18"]
pub type SRAM_IF18_PPD_R = crate::BitReader<SRAM_IF18_PPD_A>;
#[doc = "Periphery power for RAM interface 18\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF18_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF18_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF18_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF18_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF18_PPD_A {
match self.bits {
false => SRAM_IF18_PPD_A::DISABLE,
true => SRAM_IF18_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF18_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF18_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF18_PPD` writer - Periphery power for RAM interface 18"]
pub type SRAM_IF18_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF18_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF18_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF18_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF18_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF19_PPD` reader - Periphery power for RAM interface 19"]
pub type SRAM_IF19_PPD_R = crate::BitReader<SRAM_IF19_PPD_A>;
#[doc = "Periphery power for RAM interface 19\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF19_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF19_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF19_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF19_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF19_PPD_A {
match self.bits {
false => SRAM_IF19_PPD_A::DISABLE,
true => SRAM_IF19_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF19_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF19_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF19_PPD` writer - Periphery power for RAM interface 19"]
pub type SRAM_IF19_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF19_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF19_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF19_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF19_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF20_PPD` reader - Periphery power for RAM interface 20"]
pub type SRAM_IF20_PPD_R = crate::BitReader<SRAM_IF20_PPD_A>;
#[doc = "Periphery power for RAM interface 20\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF20_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF20_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF20_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF20_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF20_PPD_A {
match self.bits {
false => SRAM_IF20_PPD_A::DISABLE,
true => SRAM_IF20_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF20_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF20_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF20_PPD` writer - Periphery power for RAM interface 20"]
pub type SRAM_IF20_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF20_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF20_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF20_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF20_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF21_PPD` reader - Periphery power for RAM interface 21"]
pub type SRAM_IF21_PPD_R = crate::BitReader<SRAM_IF21_PPD_A>;
#[doc = "Periphery power for RAM interface 21\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF21_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF21_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF21_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF21_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF21_PPD_A {
match self.bits {
false => SRAM_IF21_PPD_A::DISABLE,
true => SRAM_IF21_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF21_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF21_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF21_PPD` writer - Periphery power for RAM interface 21"]
pub type SRAM_IF21_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF21_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF21_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF21_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF21_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF22_PPD` reader - Periphery power for RAM interface 22"]
pub type SRAM_IF22_PPD_R = crate::BitReader<SRAM_IF22_PPD_A>;
#[doc = "Periphery power for RAM interface 22\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF22_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF22_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF22_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF22_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF22_PPD_A {
match self.bits {
false => SRAM_IF22_PPD_A::DISABLE,
true => SRAM_IF22_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF22_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF22_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF22_PPD` writer - Periphery power for RAM interface 22"]
pub type SRAM_IF22_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF22_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF22_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF22_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF22_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF23_PPD` reader - Periphery power for RAM interface 23"]
pub type SRAM_IF23_PPD_R = crate::BitReader<SRAM_IF23_PPD_A>;
#[doc = "Periphery power for RAM interface 23\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF23_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF23_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF23_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF23_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF23_PPD_A {
match self.bits {
false => SRAM_IF23_PPD_A::DISABLE,
true => SRAM_IF23_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF23_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF23_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF23_PPD` writer - Periphery power for RAM interface 23"]
pub type SRAM_IF23_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF23_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF23_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF23_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF23_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF24_PPD` reader - Periphery power for RAM interface 24"]
pub type SRAM_IF24_PPD_R = crate::BitReader<SRAM_IF24_PPD_A>;
#[doc = "Periphery power for RAM interface 24\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF24_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF24_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF24_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF24_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF24_PPD_A {
match self.bits {
false => SRAM_IF24_PPD_A::DISABLE,
true => SRAM_IF24_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF24_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF24_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF24_PPD` writer - Periphery power for RAM interface 24"]
pub type SRAM_IF24_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF24_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF24_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF24_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF24_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF25_PPD` reader - Periphery power for RAM interface 25"]
pub type SRAM_IF25_PPD_R = crate::BitReader<SRAM_IF25_PPD_A>;
#[doc = "Periphery power for RAM interface 25\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF25_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF25_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF25_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF25_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF25_PPD_A {
match self.bits {
false => SRAM_IF25_PPD_A::DISABLE,
true => SRAM_IF25_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF25_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF25_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF25_PPD` writer - Periphery power for RAM interface 25"]
pub type SRAM_IF25_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF25_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF25_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF25_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF25_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF26_PPD` reader - Periphery power for RAM interface 26"]
pub type SRAM_IF26_PPD_R = crate::BitReader<SRAM_IF26_PPD_A>;
#[doc = "Periphery power for RAM interface 26\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF26_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF26_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF26_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF26_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF26_PPD_A {
match self.bits {
false => SRAM_IF26_PPD_A::DISABLE,
true => SRAM_IF26_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF26_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF26_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF26_PPD` writer - Periphery power for RAM interface 26"]
pub type SRAM_IF26_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF26_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF26_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF26_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF26_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF27_PPD` reader - Periphery power for RAM interface 27"]
pub type SRAM_IF27_PPD_R = crate::BitReader<SRAM_IF27_PPD_A>;
#[doc = "Periphery power for RAM interface 27\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF27_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF27_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF27_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF27_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF27_PPD_A {
match self.bits {
false => SRAM_IF27_PPD_A::DISABLE,
true => SRAM_IF27_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF27_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF27_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF27_PPD` writer - Periphery power for RAM interface 27"]
pub type SRAM_IF27_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF27_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF27_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF27_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF27_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF28_PPD` reader - Periphery power for RAM interface 28"]
pub type SRAM_IF28_PPD_R = crate::BitReader<SRAM_IF28_PPD_A>;
#[doc = "Periphery power for RAM interface 28\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF28_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF28_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF28_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF28_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF28_PPD_A {
match self.bits {
false => SRAM_IF28_PPD_A::DISABLE,
true => SRAM_IF28_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF28_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF28_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF28_PPD` writer - Periphery power for RAM interface 28"]
pub type SRAM_IF28_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF28_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF28_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF28_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF28_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF29_PPD` reader - Periphery power for RAM interface 29"]
pub type SRAM_IF29_PPD_R = crate::BitReader<SRAM_IF29_PPD_A>;
#[doc = "Periphery power for RAM interface 29\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF29_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF29_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF29_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF29_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF29_PPD_A {
match self.bits {
false => SRAM_IF29_PPD_A::DISABLE,
true => SRAM_IF29_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF29_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF29_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF29_PPD` writer - Periphery power for RAM interface 29"]
pub type SRAM_IF29_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF29_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF29_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF29_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF29_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF30_PPD` reader - Periphery power for RAM interface 30"]
pub type SRAM_IF30_PPD_R = crate::BitReader<SRAM_IF30_PPD_A>;
#[doc = "Periphery power for RAM interface 30\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF30_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF30_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF30_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF30_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF30_PPD_A {
match self.bits {
false => SRAM_IF30_PPD_A::DISABLE,
true => SRAM_IF30_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF30_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF30_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF30_PPD` writer - Periphery power for RAM interface 30"]
pub type SRAM_IF30_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF30_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF30_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF30_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF30_PPD_A::ENABLE)
}
}
#[doc = "Field `SRAM_IF31_PPD` reader - Periphery power for RAM interface 31"]
pub type SRAM_IF31_PPD_R = crate::BitReader<SRAM_IF31_PPD_A>;
#[doc = "Periphery power for RAM interface 31\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SRAM_IF31_PPD_A {
#[doc = "0: No effect"]
DISABLE = 0,
#[doc = "1: Clears the PDRUNCFG3 Bit"]
ENABLE = 1,
}
impl From<SRAM_IF31_PPD_A> for bool {
#[inline(always)]
fn from(variant: SRAM_IF31_PPD_A) -> Self {
variant as u8 != 0
}
}
impl SRAM_IF31_PPD_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> SRAM_IF31_PPD_A {
match self.bits {
false => SRAM_IF31_PPD_A::DISABLE,
true => SRAM_IF31_PPD_A::ENABLE,
}
}
#[doc = "Checks if the value of the field is `DISABLE`"]
#[inline(always)]
pub fn is_disable(&self) -> bool {
*self == SRAM_IF31_PPD_A::DISABLE
}
#[doc = "Checks if the value of the field is `ENABLE`"]
#[inline(always)]
pub fn is_enable(&self) -> bool {
*self == SRAM_IF31_PPD_A::ENABLE
}
}
#[doc = "Field `SRAM_IF31_PPD` writer - Periphery power for RAM interface 31"]
pub type SRAM_IF31_PPD_W<'a, const O: u8> =
crate::BitWriter1C<'a, u32, PDRUNCFG3_CLR_SPEC, SRAM_IF31_PPD_A, O>;
impl<'a, const O: u8> SRAM_IF31_PPD_W<'a, O> {
#[doc = "No effect"]
#[inline(always)]
pub fn disable(self) -> &'a mut W {
self.variant(SRAM_IF31_PPD_A::DISABLE)
}
#[doc = "Clears the PDRUNCFG3 Bit"]
#[inline(always)]
pub fn enable(self) -> &'a mut W {
self.variant(SRAM_IF31_PPD_A::ENABLE)
}
}
impl R {
#[doc = "Bit 0 - Periphery power for RAM interface 0"]
#[inline(always)]
pub fn sram_if0_ppd(&self) -> SRAM_IF0_PPD_R {
SRAM_IF0_PPD_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - Periphery power for RAM interface 1"]
#[inline(always)]
pub fn sram_if1_ppd(&self) -> SRAM_IF1_PPD_R {
SRAM_IF1_PPD_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2 - Periphery power for RAM interface 2"]
#[inline(always)]
pub fn sram_if2_ppd(&self) -> SRAM_IF2_PPD_R {
SRAM_IF2_PPD_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3 - Periphery power for RAM interface 3"]
#[inline(always)]
pub fn sram_if3_ppd(&self) -> SRAM_IF3_PPD_R {
SRAM_IF3_PPD_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4 - Periphery power for RAM interface 4"]
#[inline(always)]
pub fn sram_if4_ppd(&self) -> SRAM_IF4_PPD_R {
SRAM_IF4_PPD_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - Periphery power for RAM interface 5"]
#[inline(always)]
pub fn sram_if5_ppd(&self) -> SRAM_IF5_PPD_R {
SRAM_IF5_PPD_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - Periphery power for RAM interface 6"]
#[inline(always)]
pub fn sram_if6_ppd(&self) -> SRAM_IF6_PPD_R {
SRAM_IF6_PPD_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - Periphery power for RAM interface 7"]
#[inline(always)]
pub fn sram_if7_ppd(&self) -> SRAM_IF7_PPD_R {
SRAM_IF7_PPD_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - Periphery power for RAM interface 8"]
#[inline(always)]
pub fn sram_if8_ppd(&self) -> SRAM_IF8_PPD_R {
SRAM_IF8_PPD_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - Periphery power for RAM interface 9"]
#[inline(always)]
pub fn sram_if9_ppd(&self) -> SRAM_IF9_PPD_R {
SRAM_IF9_PPD_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - Periphery power for RAM interface 10"]
#[inline(always)]
pub fn sram_if10_ppd(&self) -> SRAM_IF10_PPD_R {
SRAM_IF10_PPD_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11 - Periphery power for RAM interface 11"]
#[inline(always)]
pub fn sram_if11_ppd(&self) -> SRAM_IF11_PPD_R {
SRAM_IF11_PPD_R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12 - Periphery power for RAM interface 12"]
#[inline(always)]
pub fn sram_if12_ppd(&self) -> SRAM_IF12_PPD_R {
SRAM_IF12_PPD_R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 13 - Periphery power for RAM interface 13"]
#[inline(always)]
pub fn sram_if13_ppd(&self) -> SRAM_IF13_PPD_R {
SRAM_IF13_PPD_R::new(((self.bits >> 13) & 1) != 0)
}
#[doc = "Bit 14 - Periphery power for RAM interface 14"]
#[inline(always)]
pub fn sram_if14_ppd(&self) -> SRAM_IF14_PPD_R {
SRAM_IF14_PPD_R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15 - Periphery power for RAM interface 15"]
#[inline(always)]
pub fn sram_if15_ppd(&self) -> SRAM_IF15_PPD_R {
SRAM_IF15_PPD_R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16 - Periphery power for RAM interface 16"]
#[inline(always)]
pub fn sram_if16_ppd(&self) -> SRAM_IF16_PPD_R {
SRAM_IF16_PPD_R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17 - Periphery power for RAM interface 17"]
#[inline(always)]
pub fn sram_if17_ppd(&self) -> SRAM_IF17_PPD_R {
SRAM_IF17_PPD_R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18 - Periphery power for RAM interface 18"]
#[inline(always)]
pub fn sram_if18_ppd(&self) -> SRAM_IF18_PPD_R {
SRAM_IF18_PPD_R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19 - Periphery power for RAM interface 19"]
#[inline(always)]
pub fn sram_if19_ppd(&self) -> SRAM_IF19_PPD_R {
SRAM_IF19_PPD_R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20 - Periphery power for RAM interface 20"]
#[inline(always)]
pub fn sram_if20_ppd(&self) -> SRAM_IF20_PPD_R {
SRAM_IF20_PPD_R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 21 - Periphery power for RAM interface 21"]
#[inline(always)]
pub fn sram_if21_ppd(&self) -> SRAM_IF21_PPD_R {
SRAM_IF21_PPD_R::new(((self.bits >> 21) & 1) != 0)
}
#[doc = "Bit 22 - Periphery power for RAM interface 22"]
#[inline(always)]
pub fn sram_if22_ppd(&self) -> SRAM_IF22_PPD_R {
SRAM_IF22_PPD_R::new(((self.bits >> 22) & 1) != 0)
}
#[doc = "Bit 23 - Periphery power for RAM interface 23"]
#[inline(always)]
pub fn sram_if23_ppd(&self) -> SRAM_IF23_PPD_R {
SRAM_IF23_PPD_R::new(((self.bits >> 23) & 1) != 0)
}
#[doc = "Bit 24 - Periphery power for RAM interface 24"]
#[inline(always)]
pub fn sram_if24_ppd(&self) -> SRAM_IF24_PPD_R {
SRAM_IF24_PPD_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25 - Periphery power for RAM interface 25"]
#[inline(always)]
pub fn sram_if25_ppd(&self) -> SRAM_IF25_PPD_R {
SRAM_IF25_PPD_R::new(((self.bits >> 25) & 1) != 0)
}
#[doc = "Bit 26 - Periphery power for RAM interface 26"]
#[inline(always)]
pub fn sram_if26_ppd(&self) -> SRAM_IF26_PPD_R {
SRAM_IF26_PPD_R::new(((self.bits >> 26) & 1) != 0)
}
#[doc = "Bit 27 - Periphery power for RAM interface 27"]
#[inline(always)]
pub fn sram_if27_ppd(&self) -> SRAM_IF27_PPD_R {
SRAM_IF27_PPD_R::new(((self.bits >> 27) & 1) != 0)
}
#[doc = "Bit 28 - Periphery power for RAM interface 28"]
#[inline(always)]
pub fn sram_if28_ppd(&self) -> SRAM_IF28_PPD_R {
SRAM_IF28_PPD_R::new(((self.bits >> 28) & 1) != 0)
}
#[doc = "Bit 29 - Periphery power for RAM interface 29"]
#[inline(always)]
pub fn sram_if29_ppd(&self) -> SRAM_IF29_PPD_R {
SRAM_IF29_PPD_R::new(((self.bits >> 29) & 1) != 0)
}
#[doc = "Bit 30 - Periphery power for RAM interface 30"]
#[inline(always)]
pub fn sram_if30_ppd(&self) -> SRAM_IF30_PPD_R {
SRAM_IF30_PPD_R::new(((self.bits >> 30) & 1) != 0)
}
#[doc = "Bit 31 - Periphery power for RAM interface 31"]
#[inline(always)]
pub fn sram_if31_ppd(&self) -> SRAM_IF31_PPD_R {
SRAM_IF31_PPD_R::new(((self.bits >> 31) & 1) != 0)
}
}
impl W {
#[doc = "Bit 0 - Periphery power for RAM interface 0"]
#[inline(always)]
#[must_use]
pub fn sram_if0_ppd(&mut self) -> SRAM_IF0_PPD_W<0> {
SRAM_IF0_PPD_W::new(self)
}
#[doc = "Bit 1 - Periphery power for RAM interface 1"]
#[inline(always)]
#[must_use]
pub fn sram_if1_ppd(&mut self) -> SRAM_IF1_PPD_W<1> {
SRAM_IF1_PPD_W::new(self)
}
#[doc = "Bit 2 - Periphery power for RAM interface 2"]
#[inline(always)]
#[must_use]
pub fn sram_if2_ppd(&mut self) -> SRAM_IF2_PPD_W<2> {
SRAM_IF2_PPD_W::new(self)
}
#[doc = "Bit 3 - Periphery power for RAM interface 3"]
#[inline(always)]
#[must_use]
pub fn sram_if3_ppd(&mut self) -> SRAM_IF3_PPD_W<3> {
SRAM_IF3_PPD_W::new(self)
}
#[doc = "Bit 4 - Periphery power for RAM interface 4"]
#[inline(always)]
#[must_use]
pub fn sram_if4_ppd(&mut self) -> SRAM_IF4_PPD_W<4> {
SRAM_IF4_PPD_W::new(self)
}
#[doc = "Bit 5 - Periphery power for RAM interface 5"]
#[inline(always)]
#[must_use]
pub fn sram_if5_ppd(&mut self) -> SRAM_IF5_PPD_W<5> {
SRAM_IF5_PPD_W::new(self)
}
#[doc = "Bit 6 - Periphery power for RAM interface 6"]
#[inline(always)]
#[must_use]
pub fn sram_if6_ppd(&mut self) -> SRAM_IF6_PPD_W<6> {
SRAM_IF6_PPD_W::new(self)
}
#[doc = "Bit 7 - Periphery power for RAM interface 7"]
#[inline(always)]
#[must_use]
pub fn sram_if7_ppd(&mut self) -> SRAM_IF7_PPD_W<7> {
SRAM_IF7_PPD_W::new(self)
}
#[doc = "Bit 8 - Periphery power for RAM interface 8"]
#[inline(always)]
#[must_use]
pub fn sram_if8_ppd(&mut self) -> SRAM_IF8_PPD_W<8> {
SRAM_IF8_PPD_W::new(self)
}
#[doc = "Bit 9 - Periphery power for RAM interface 9"]
#[inline(always)]
#[must_use]
pub fn sram_if9_ppd(&mut self) -> SRAM_IF9_PPD_W<9> {
SRAM_IF9_PPD_W::new(self)
}
#[doc = "Bit 10 - Periphery power for RAM interface 10"]
#[inline(always)]
#[must_use]
pub fn sram_if10_ppd(&mut self) -> SRAM_IF10_PPD_W<10> {
SRAM_IF10_PPD_W::new(self)
}
#[doc = "Bit 11 - Periphery power for RAM interface 11"]
#[inline(always)]
#[must_use]
pub fn sram_if11_ppd(&mut self) -> SRAM_IF11_PPD_W<11> {
SRAM_IF11_PPD_W::new(self)
}
#[doc = "Bit 12 - Periphery power for RAM interface 12"]
#[inline(always)]
#[must_use]
pub fn sram_if12_ppd(&mut self) -> SRAM_IF12_PPD_W<12> {
SRAM_IF12_PPD_W::new(self)
}
#[doc = "Bit 13 - Periphery power for RAM interface 13"]
#[inline(always)]
#[must_use]
pub fn sram_if13_ppd(&mut self) -> SRAM_IF13_PPD_W<13> {
SRAM_IF13_PPD_W::new(self)
}
#[doc = "Bit 14 - Periphery power for RAM interface 14"]
#[inline(always)]
#[must_use]
pub fn sram_if14_ppd(&mut self) -> SRAM_IF14_PPD_W<14> {
SRAM_IF14_PPD_W::new(self)
}
#[doc = "Bit 15 - Periphery power for RAM interface 15"]
#[inline(always)]
#[must_use]
pub fn sram_if15_ppd(&mut self) -> SRAM_IF15_PPD_W<15> {
SRAM_IF15_PPD_W::new(self)
}
#[doc = "Bit 16 - Periphery power for RAM interface 16"]
#[inline(always)]
#[must_use]
pub fn sram_if16_ppd(&mut self) -> SRAM_IF16_PPD_W<16> {
SRAM_IF16_PPD_W::new(self)
}
#[doc = "Bit 17 - Periphery power for RAM interface 17"]
#[inline(always)]
#[must_use]
pub fn sram_if17_ppd(&mut self) -> SRAM_IF17_PPD_W<17> {
SRAM_IF17_PPD_W::new(self)
}
#[doc = "Bit 18 - Periphery power for RAM interface 18"]
#[inline(always)]
#[must_use]
pub fn sram_if18_ppd(&mut self) -> SRAM_IF18_PPD_W<18> {
SRAM_IF18_PPD_W::new(self)
}
#[doc = "Bit 19 - Periphery power for RAM interface 19"]
#[inline(always)]
#[must_use]
pub fn sram_if19_ppd(&mut self) -> SRAM_IF19_PPD_W<19> {
SRAM_IF19_PPD_W::new(self)
}
#[doc = "Bit 20 - Periphery power for RAM interface 20"]
#[inline(always)]
#[must_use]
pub fn sram_if20_ppd(&mut self) -> SRAM_IF20_PPD_W<20> {
SRAM_IF20_PPD_W::new(self)
}
#[doc = "Bit 21 - Periphery power for RAM interface 21"]
#[inline(always)]
#[must_use]
pub fn sram_if21_ppd(&mut self) -> SRAM_IF21_PPD_W<21> {
SRAM_IF21_PPD_W::new(self)
}
#[doc = "Bit 22 - Periphery power for RAM interface 22"]
#[inline(always)]
#[must_use]
pub fn sram_if22_ppd(&mut self) -> SRAM_IF22_PPD_W<22> {
SRAM_IF22_PPD_W::new(self)
}
#[doc = "Bit 23 - Periphery power for RAM interface 23"]
#[inline(always)]
#[must_use]
pub fn sram_if23_ppd(&mut self) -> SRAM_IF23_PPD_W<23> {
SRAM_IF23_PPD_W::new(self)
}
#[doc = "Bit 24 - Periphery power for RAM interface 24"]
#[inline(always)]
#[must_use]
pub fn sram_if24_ppd(&mut self) -> SRAM_IF24_PPD_W<24> {
SRAM_IF24_PPD_W::new(self)
}
#[doc = "Bit 25 - Periphery power for RAM interface 25"]
#[inline(always)]
#[must_use]
pub fn sram_if25_ppd(&mut self) -> SRAM_IF25_PPD_W<25> {
SRAM_IF25_PPD_W::new(self)
}
#[doc = "Bit 26 - Periphery power for RAM interface 26"]
#[inline(always)]
#[must_use]
pub fn sram_if26_ppd(&mut self) -> SRAM_IF26_PPD_W<26> {
SRAM_IF26_PPD_W::new(self)
}
#[doc = "Bit 27 - Periphery power for RAM interface 27"]
#[inline(always)]
#[must_use]
pub fn sram_if27_ppd(&mut self) -> SRAM_IF27_PPD_W<27> {
SRAM_IF27_PPD_W::new(self)
}
#[doc = "Bit 28 - Periphery power for RAM interface 28"]
#[inline(always)]
#[must_use]
pub fn sram_if28_ppd(&mut self) -> SRAM_IF28_PPD_W<28> {
SRAM_IF28_PPD_W::new(self)
}
#[doc = "Bit 29 - Periphery power for RAM interface 29"]
#[inline(always)]
#[must_use]
pub fn sram_if29_ppd(&mut self) -> SRAM_IF29_PPD_W<29> {
SRAM_IF29_PPD_W::new(self)
}
#[doc = "Bit 30 - Periphery power for RAM interface 30"]
#[inline(always)]
#[must_use]
pub fn sram_if30_ppd(&mut self) -> SRAM_IF30_PPD_W<30> {
SRAM_IF30_PPD_W::new(self)
}
#[doc = "Bit 31 - Periphery power for RAM interface 31"]
#[inline(always)]
#[must_use]
pub fn sram_if31_ppd(&mut self) -> SRAM_IF31_PPD_W<31> {
SRAM_IF31_PPD_W::new(self)
}
#[doc = "Writes raw bits to the register."]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "Run configuration 3 clear\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 [pdruncfg3_clr](index.html) module"]
pub struct PDRUNCFG3_CLR_SPEC;
impl crate::RegisterSpec for PDRUNCFG3_CLR_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [pdruncfg3_clr::R](R) reader structure"]
impl crate::Readable for PDRUNCFG3_CLR_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [pdruncfg3_clr::W](W) writer structure"]
impl crate::Writable for PDRUNCFG3_CLR_SPEC {
type Writer = W;
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0xffff_ffff;
}
#[doc = "`reset()` method sets PDRUNCFG3_CLR to value 0"]
impl crate::Resettable for PDRUNCFG3_CLR_SPEC {
const RESET_VALUE: Self::Ux = 0;
}