#[doc = "Register `DPFSAR` reader"]
pub struct R(crate::R<DPFSAR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<DPFSAR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<DPFSAR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<DPFSAR_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `DPFSAR` writer"]
pub struct W(crate::W<DPFSAR_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<DPFSAR_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<DPFSAR_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<DPFSAR_SPEC>) -> Self {
W(writer)
}
}
#[doc = "Field `DPFSA00` reader - Deep Standby Interrupt Factor Security Attribute bit 0"]
pub type DPFSA00_R = crate::BitReader<DPFSA00_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 0\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA00_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA00_A> for bool {
#[inline(always)]
fn from(variant: DPFSA00_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA00_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA00_A {
match self.bits {
false => DPFSA00_A::_0,
true => DPFSA00_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA00_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA00_A::_1
}
}
#[doc = "Field `DPFSA00` writer - Deep Standby Interrupt Factor Security Attribute bit 0"]
pub type DPFSA00_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA00_A, O>;
impl<'a, const O: u8> DPFSA00_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA00_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA00_A::_1)
}
}
#[doc = "Field `DPFSA01` reader - Deep Standby Interrupt Factor Security Attribute bit 1"]
pub type DPFSA01_R = crate::BitReader<DPFSA01_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 1\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA01_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA01_A> for bool {
#[inline(always)]
fn from(variant: DPFSA01_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA01_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA01_A {
match self.bits {
false => DPFSA01_A::_0,
true => DPFSA01_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA01_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA01_A::_1
}
}
#[doc = "Field `DPFSA01` writer - Deep Standby Interrupt Factor Security Attribute bit 1"]
pub type DPFSA01_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA01_A, O>;
impl<'a, const O: u8> DPFSA01_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA01_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA01_A::_1)
}
}
#[doc = "Field `DPFSA04` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA04_R = crate::BitReader<DPFSA04_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA04_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA04_A> for bool {
#[inline(always)]
fn from(variant: DPFSA04_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA04_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA04_A {
match self.bits {
false => DPFSA04_A::_0,
true => DPFSA04_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA04_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA04_A::_1
}
}
#[doc = "Field `DPFSA04` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA04_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA04_A, O>;
impl<'a, const O: u8> DPFSA04_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA04_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA04_A::_1)
}
}
#[doc = "Field `DPFSA05` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA05_R = crate::BitReader<DPFSA05_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA05_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA05_A> for bool {
#[inline(always)]
fn from(variant: DPFSA05_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA05_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA05_A {
match self.bits {
false => DPFSA05_A::_0,
true => DPFSA05_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA05_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA05_A::_1
}
}
#[doc = "Field `DPFSA05` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA05_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA05_A, O>;
impl<'a, const O: u8> DPFSA05_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA05_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA05_A::_1)
}
}
#[doc = "Field `DPFSA06` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA06_R = crate::BitReader<DPFSA06_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA06_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA06_A> for bool {
#[inline(always)]
fn from(variant: DPFSA06_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA06_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA06_A {
match self.bits {
false => DPFSA06_A::_0,
true => DPFSA06_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA06_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA06_A::_1
}
}
#[doc = "Field `DPFSA06` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA06_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA06_A, O>;
impl<'a, const O: u8> DPFSA06_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA06_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA06_A::_1)
}
}
#[doc = "Field `DPFSA07` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA07_R = crate::BitReader<DPFSA07_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA07_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA07_A> for bool {
#[inline(always)]
fn from(variant: DPFSA07_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA07_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA07_A {
match self.bits {
false => DPFSA07_A::_0,
true => DPFSA07_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA07_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA07_A::_1
}
}
#[doc = "Field `DPFSA07` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA07_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA07_A, O>;
impl<'a, const O: u8> DPFSA07_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA07_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA07_A::_1)
}
}
#[doc = "Field `DPFSA08` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA08_R = crate::BitReader<DPFSA08_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA08_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA08_A> for bool {
#[inline(always)]
fn from(variant: DPFSA08_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA08_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA08_A {
match self.bits {
false => DPFSA08_A::_0,
true => DPFSA08_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA08_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA08_A::_1
}
}
#[doc = "Field `DPFSA08` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA08_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA08_A, O>;
impl<'a, const O: u8> DPFSA08_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA08_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA08_A::_1)
}
}
#[doc = "Field `DPFSA09` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA09_R = crate::BitReader<DPFSA09_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA09_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA09_A> for bool {
#[inline(always)]
fn from(variant: DPFSA09_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA09_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA09_A {
match self.bits {
false => DPFSA09_A::_0,
true => DPFSA09_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA09_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA09_A::_1
}
}
#[doc = "Field `DPFSA09` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA09_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA09_A, O>;
impl<'a, const O: u8> DPFSA09_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA09_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA09_A::_1)
}
}
#[doc = "Field `DPFSA10` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA10_R = crate::BitReader<DPFSA10_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA10_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA10_A> for bool {
#[inline(always)]
fn from(variant: DPFSA10_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA10_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA10_A {
match self.bits {
false => DPFSA10_A::_0,
true => DPFSA10_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA10_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA10_A::_1
}
}
#[doc = "Field `DPFSA10` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA10_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA10_A, O>;
impl<'a, const O: u8> DPFSA10_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA10_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA10_A::_1)
}
}
#[doc = "Field `DPFSA11` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA11_R = crate::BitReader<DPFSA11_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA11_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA11_A> for bool {
#[inline(always)]
fn from(variant: DPFSA11_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA11_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA11_A {
match self.bits {
false => DPFSA11_A::_0,
true => DPFSA11_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA11_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA11_A::_1
}
}
#[doc = "Field `DPFSA11` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA11_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA11_A, O>;
impl<'a, const O: u8> DPFSA11_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA11_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA11_A::_1)
}
}
#[doc = "Field `DPFSA12` reader - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA12_R = crate::BitReader<DPFSA12_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA12_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA12_A> for bool {
#[inline(always)]
fn from(variant: DPFSA12_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA12_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA12_A {
match self.bits {
false => DPFSA12_A::_0,
true => DPFSA12_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA12_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA12_A::_1
}
}
#[doc = "Field `DPFSA12` writer - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
pub type DPFSA12_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA12_A, O>;
impl<'a, const O: u8> DPFSA12_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA12_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA12_A::_1)
}
}
#[doc = "Field `DPFSA14` reader - Deep Standby Interrupt Factor Security Attribute bit 14"]
pub type DPFSA14_R = crate::BitReader<DPFSA14_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 14\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA14_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA14_A> for bool {
#[inline(always)]
fn from(variant: DPFSA14_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA14_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA14_A {
match self.bits {
false => DPFSA14_A::_0,
true => DPFSA14_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA14_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA14_A::_1
}
}
#[doc = "Field `DPFSA14` writer - Deep Standby Interrupt Factor Security Attribute bit 14"]
pub type DPFSA14_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA14_A, O>;
impl<'a, const O: u8> DPFSA14_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA14_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA14_A::_1)
}
}
#[doc = "Field `DPFSA15` reader - Deep Standby Interrupt Factor Security Attribute bit 15"]
pub type DPFSA15_R = crate::BitReader<DPFSA15_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 15\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA15_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA15_A> for bool {
#[inline(always)]
fn from(variant: DPFSA15_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA15_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA15_A {
match self.bits {
false => DPFSA15_A::_0,
true => DPFSA15_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA15_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA15_A::_1
}
}
#[doc = "Field `DPFSA15` writer - Deep Standby Interrupt Factor Security Attribute bit 15"]
pub type DPFSA15_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA15_A, O>;
impl<'a, const O: u8> DPFSA15_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA15_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA15_A::_1)
}
}
#[doc = "Field `DPFSA16` reader - Deep Standby Interrupt Factor Security Attribute bit 16"]
pub type DPFSA16_R = crate::BitReader<DPFSA16_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 16\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA16_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA16_A> for bool {
#[inline(always)]
fn from(variant: DPFSA16_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA16_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA16_A {
match self.bits {
false => DPFSA16_A::_0,
true => DPFSA16_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA16_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA16_A::_1
}
}
#[doc = "Field `DPFSA16` writer - Deep Standby Interrupt Factor Security Attribute bit 16"]
pub type DPFSA16_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA16_A, O>;
impl<'a, const O: u8> DPFSA16_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA16_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA16_A::_1)
}
}
#[doc = "Field `DPFSA17` reader - Deep Standby Interrupt Factor Security Attribute bit 17"]
pub type DPFSA17_R = crate::BitReader<DPFSA17_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 17\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA17_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA17_A> for bool {
#[inline(always)]
fn from(variant: DPFSA17_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA17_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA17_A {
match self.bits {
false => DPFSA17_A::_0,
true => DPFSA17_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA17_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA17_A::_1
}
}
#[doc = "Field `DPFSA17` writer - Deep Standby Interrupt Factor Security Attribute bit 17"]
pub type DPFSA17_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA17_A, O>;
impl<'a, const O: u8> DPFSA17_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA17_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA17_A::_1)
}
}
#[doc = "Field `DPFSA18` reader - Deep Standby Interrupt Factor Security Attribute bit 18"]
pub type DPFSA18_R = crate::BitReader<DPFSA18_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 18\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA18_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA18_A> for bool {
#[inline(always)]
fn from(variant: DPFSA18_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA18_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA18_A {
match self.bits {
false => DPFSA18_A::_0,
true => DPFSA18_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA18_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA18_A::_1
}
}
#[doc = "Field `DPFSA18` writer - Deep Standby Interrupt Factor Security Attribute bit 18"]
pub type DPFSA18_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA18_A, O>;
impl<'a, const O: u8> DPFSA18_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA18_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA18_A::_1)
}
}
#[doc = "Field `DPFSA19` reader - Deep Standby Interrupt Factor Security Attribute bit 19"]
pub type DPFSA19_R = crate::BitReader<DPFSA19_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 19\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA19_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA19_A> for bool {
#[inline(always)]
fn from(variant: DPFSA19_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA19_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA19_A {
match self.bits {
false => DPFSA19_A::_0,
true => DPFSA19_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA19_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA19_A::_1
}
}
#[doc = "Field `DPFSA19` writer - Deep Standby Interrupt Factor Security Attribute bit 19"]
pub type DPFSA19_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA19_A, O>;
impl<'a, const O: u8> DPFSA19_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA19_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA19_A::_1)
}
}
#[doc = "Field `DPFSA20` reader - Deep Standby Interrupt Factor Security Attribute bit 20"]
pub type DPFSA20_R = crate::BitReader<DPFSA20_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 20\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA20_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA20_A> for bool {
#[inline(always)]
fn from(variant: DPFSA20_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA20_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA20_A {
match self.bits {
false => DPFSA20_A::_0,
true => DPFSA20_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA20_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA20_A::_1
}
}
#[doc = "Field `DPFSA20` writer - Deep Standby Interrupt Factor Security Attribute bit 20"]
pub type DPFSA20_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA20_A, O>;
impl<'a, const O: u8> DPFSA20_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA20_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA20_A::_1)
}
}
#[doc = "Field `DPFSA24` reader - Deep Standby Interrupt Factor Security Attribute bit 24"]
pub type DPFSA24_R = crate::BitReader<DPFSA24_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 24\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA24_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA24_A> for bool {
#[inline(always)]
fn from(variant: DPFSA24_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA24_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA24_A {
match self.bits {
false => DPFSA24_A::_0,
true => DPFSA24_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA24_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA24_A::_1
}
}
#[doc = "Field `DPFSA24` writer - Deep Standby Interrupt Factor Security Attribute bit 24"]
pub type DPFSA24_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA24_A, O>;
impl<'a, const O: u8> DPFSA24_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA24_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA24_A::_1)
}
}
#[doc = "Field `DPFSA26` reader - Deep Standby Interrupt Factor Security Attribute bit 26"]
pub type DPFSA26_R = crate::BitReader<DPFSA26_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 26\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA26_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA26_A> for bool {
#[inline(always)]
fn from(variant: DPFSA26_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA26_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA26_A {
match self.bits {
false => DPFSA26_A::_0,
true => DPFSA26_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA26_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA26_A::_1
}
}
#[doc = "Field `DPFSA26` writer - Deep Standby Interrupt Factor Security Attribute bit 26"]
pub type DPFSA26_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA26_A, O>;
impl<'a, const O: u8> DPFSA26_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA26_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA26_A::_1)
}
}
#[doc = "Field `DPFSA27` reader - Deep Standby Interrupt Factor Security Attribute bit 27"]
pub type DPFSA27_R = crate::BitReader<DPFSA27_A>;
#[doc = "Deep Standby Interrupt Factor Security Attribute bit 27\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum DPFSA27_A {
#[doc = "0: Secure"]
_0 = 0,
#[doc = "1: Non Secure"]
_1 = 1,
}
impl From<DPFSA27_A> for bool {
#[inline(always)]
fn from(variant: DPFSA27_A) -> Self {
variant as u8 != 0
}
}
impl DPFSA27_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> DPFSA27_A {
match self.bits {
false => DPFSA27_A::_0,
true => DPFSA27_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == DPFSA27_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == DPFSA27_A::_1
}
}
#[doc = "Field `DPFSA27` writer - Deep Standby Interrupt Factor Security Attribute bit 27"]
pub type DPFSA27_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPFSAR_SPEC, DPFSA27_A, O>;
impl<'a, const O: u8> DPFSA27_W<'a, O> {
#[doc = "Secure"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(DPFSA27_A::_0)
}
#[doc = "Non Secure"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DPFSA27_A::_1)
}
}
impl R {
#[doc = "Bit 0 - Deep Standby Interrupt Factor Security Attribute bit 0"]
#[inline(always)]
pub fn dpfsa00(&self) -> DPFSA00_R {
DPFSA00_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - Deep Standby Interrupt Factor Security Attribute bit 1"]
#[inline(always)]
pub fn dpfsa01(&self) -> DPFSA01_R {
DPFSA01_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 4 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa04(&self) -> DPFSA04_R {
DPFSA04_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa05(&self) -> DPFSA05_R {
DPFSA05_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa06(&self) -> DPFSA06_R {
DPFSA06_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa07(&self) -> DPFSA07_R {
DPFSA07_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa08(&self) -> DPFSA08_R {
DPFSA08_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa09(&self) -> DPFSA09_R {
DPFSA09_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa10(&self) -> DPFSA10_R {
DPFSA10_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa11(&self) -> DPFSA11_R {
DPFSA11_R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
pub fn dpfsa12(&self) -> DPFSA12_R {
DPFSA12_R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 14 - Deep Standby Interrupt Factor Security Attribute bit 14"]
#[inline(always)]
pub fn dpfsa14(&self) -> DPFSA14_R {
DPFSA14_R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15 - Deep Standby Interrupt Factor Security Attribute bit 15"]
#[inline(always)]
pub fn dpfsa15(&self) -> DPFSA15_R {
DPFSA15_R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16 - Deep Standby Interrupt Factor Security Attribute bit 16"]
#[inline(always)]
pub fn dpfsa16(&self) -> DPFSA16_R {
DPFSA16_R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17 - Deep Standby Interrupt Factor Security Attribute bit 17"]
#[inline(always)]
pub fn dpfsa17(&self) -> DPFSA17_R {
DPFSA17_R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18 - Deep Standby Interrupt Factor Security Attribute bit 18"]
#[inline(always)]
pub fn dpfsa18(&self) -> DPFSA18_R {
DPFSA18_R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19 - Deep Standby Interrupt Factor Security Attribute bit 19"]
#[inline(always)]
pub fn dpfsa19(&self) -> DPFSA19_R {
DPFSA19_R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20 - Deep Standby Interrupt Factor Security Attribute bit 20"]
#[inline(always)]
pub fn dpfsa20(&self) -> DPFSA20_R {
DPFSA20_R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 24 - Deep Standby Interrupt Factor Security Attribute bit 24"]
#[inline(always)]
pub fn dpfsa24(&self) -> DPFSA24_R {
DPFSA24_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 26 - Deep Standby Interrupt Factor Security Attribute bit 26"]
#[inline(always)]
pub fn dpfsa26(&self) -> DPFSA26_R {
DPFSA26_R::new(((self.bits >> 26) & 1) != 0)
}
#[doc = "Bit 27 - Deep Standby Interrupt Factor Security Attribute bit 27"]
#[inline(always)]
pub fn dpfsa27(&self) -> DPFSA27_R {
DPFSA27_R::new(((self.bits >> 27) & 1) != 0)
}
}
impl W {
#[doc = "Bit 0 - Deep Standby Interrupt Factor Security Attribute bit 0"]
#[inline(always)]
#[must_use]
pub fn dpfsa00(&mut self) -> DPFSA00_W<0> {
DPFSA00_W::new(self)
}
#[doc = "Bit 1 - Deep Standby Interrupt Factor Security Attribute bit 1"]
#[inline(always)]
#[must_use]
pub fn dpfsa01(&mut self) -> DPFSA01_W<1> {
DPFSA01_W::new(self)
}
#[doc = "Bit 4 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa04(&mut self) -> DPFSA04_W<4> {
DPFSA04_W::new(self)
}
#[doc = "Bit 5 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa05(&mut self) -> DPFSA05_W<5> {
DPFSA05_W::new(self)
}
#[doc = "Bit 6 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa06(&mut self) -> DPFSA06_W<6> {
DPFSA06_W::new(self)
}
#[doc = "Bit 7 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa07(&mut self) -> DPFSA07_W<7> {
DPFSA07_W::new(self)
}
#[doc = "Bit 8 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa08(&mut self) -> DPFSA08_W<8> {
DPFSA08_W::new(self)
}
#[doc = "Bit 9 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa09(&mut self) -> DPFSA09_W<9> {
DPFSA09_W::new(self)
}
#[doc = "Bit 10 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa10(&mut self) -> DPFSA10_W<10> {
DPFSA10_W::new(self)
}
#[doc = "Bit 11 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa11(&mut self) -> DPFSA11_W<11> {
DPFSA11_W::new(self)
}
#[doc = "Bit 12 - Deep Standby Interrupt Factor Security Attribute bit n (n = 4 to 12)"]
#[inline(always)]
#[must_use]
pub fn dpfsa12(&mut self) -> DPFSA12_W<12> {
DPFSA12_W::new(self)
}
#[doc = "Bit 14 - Deep Standby Interrupt Factor Security Attribute bit 14"]
#[inline(always)]
#[must_use]
pub fn dpfsa14(&mut self) -> DPFSA14_W<14> {
DPFSA14_W::new(self)
}
#[doc = "Bit 15 - Deep Standby Interrupt Factor Security Attribute bit 15"]
#[inline(always)]
#[must_use]
pub fn dpfsa15(&mut self) -> DPFSA15_W<15> {
DPFSA15_W::new(self)
}
#[doc = "Bit 16 - Deep Standby Interrupt Factor Security Attribute bit 16"]
#[inline(always)]
#[must_use]
pub fn dpfsa16(&mut self) -> DPFSA16_W<16> {
DPFSA16_W::new(self)
}
#[doc = "Bit 17 - Deep Standby Interrupt Factor Security Attribute bit 17"]
#[inline(always)]
#[must_use]
pub fn dpfsa17(&mut self) -> DPFSA17_W<17> {
DPFSA17_W::new(self)
}
#[doc = "Bit 18 - Deep Standby Interrupt Factor Security Attribute bit 18"]
#[inline(always)]
#[must_use]
pub fn dpfsa18(&mut self) -> DPFSA18_W<18> {
DPFSA18_W::new(self)
}
#[doc = "Bit 19 - Deep Standby Interrupt Factor Security Attribute bit 19"]
#[inline(always)]
#[must_use]
pub fn dpfsa19(&mut self) -> DPFSA19_W<19> {
DPFSA19_W::new(self)
}
#[doc = "Bit 20 - Deep Standby Interrupt Factor Security Attribute bit 20"]
#[inline(always)]
#[must_use]
pub fn dpfsa20(&mut self) -> DPFSA20_W<20> {
DPFSA20_W::new(self)
}
#[doc = "Bit 24 - Deep Standby Interrupt Factor Security Attribute bit 24"]
#[inline(always)]
#[must_use]
pub fn dpfsa24(&mut self) -> DPFSA24_W<24> {
DPFSA24_W::new(self)
}
#[doc = "Bit 26 - Deep Standby Interrupt Factor Security Attribute bit 26"]
#[inline(always)]
#[must_use]
pub fn dpfsa26(&mut self) -> DPFSA26_W<26> {
DPFSA26_W::new(self)
}
#[doc = "Bit 27 - Deep Standby Interrupt Factor Security Attribute bit 27"]
#[inline(always)]
#[must_use]
pub fn dpfsa27(&mut self) -> DPFSA27_W<27> {
DPFSA27_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 = "Deep Standby Interrupt Factor Security Attribution Register\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 [dpfsar](index.html) module"]
pub struct DPFSAR_SPEC;
impl crate::RegisterSpec for DPFSAR_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [dpfsar::R](R) reader structure"]
impl crate::Readable for DPFSAR_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [dpfsar::W](W) writer structure"]
impl crate::Writable for DPFSAR_SPEC {
type Writer = W;
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}
#[doc = "`reset()` method sets DPFSAR to value 0xffff_ffff"]
impl crate::Resettable for DPFSAR_SPEC {
const RESET_VALUE: Self::Ux = 0xffff_ffff;
}