#[doc = "Register `MCMCPWM_INT_RAW_MCPWM` reader"]
pub struct R(crate::R<MCMCPWM_INT_RAW_MCPWM_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<MCMCPWM_INT_RAW_MCPWM_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::convert::From<crate::R<MCMCPWM_INT_RAW_MCPWM_SPEC>> for R {
fn from(reader: crate::R<MCMCPWM_INT_RAW_MCPWM_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `MCMCPWM_INT_RAW_MCPWM` writer"]
pub struct W(crate::W<MCMCPWM_INT_RAW_MCPWM_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<MCMCPWM_INT_RAW_MCPWM_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
impl core::convert::From<crate::W<MCMCPWM_INT_RAW_MCPWM_SPEC>> for W {
fn from(writer: crate::W<MCMCPWM_INT_RAW_MCPWM_SPEC>) -> Self {
W(writer)
}
}
#[doc = "Field `CAP2_INT_RAW` reader - "]
pub struct CAP2_INT_RAW_R(crate::FieldReader<bool, bool>);
impl CAP2_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
CAP2_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for CAP2_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `CAP2_INT_RAW` writer - "]
pub struct CAP2_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> CAP2_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 29)) | (((value as u32) & 0x01) << 29);
self.w
}
}
#[doc = "Field `CAP1_INT_RAW` reader - "]
pub struct CAP1_INT_RAW_R(crate::FieldReader<bool, bool>);
impl CAP1_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
CAP1_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for CAP1_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `CAP1_INT_RAW` writer - "]
pub struct CAP1_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> CAP1_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 28)) | (((value as u32) & 0x01) << 28);
self.w
}
}
#[doc = "Field `CAP0_INT_RAW` reader - "]
pub struct CAP0_INT_RAW_R(crate::FieldReader<bool, bool>);
impl CAP0_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
CAP0_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for CAP0_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `CAP0_INT_RAW` writer - "]
pub struct CAP0_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> CAP0_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 27)) | (((value as u32) & 0x01) << 27);
self.w
}
}
#[doc = "Field `FH2_OST_INT_RAW` reader - "]
pub struct FH2_OST_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FH2_OST_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FH2_OST_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FH2_OST_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FH2_OST_INT_RAW` writer - "]
pub struct FH2_OST_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FH2_OST_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 26)) | (((value as u32) & 0x01) << 26);
self.w
}
}
#[doc = "Field `FH1_OST_INT_RAW` reader - "]
pub struct FH1_OST_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FH1_OST_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FH1_OST_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FH1_OST_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FH1_OST_INT_RAW` writer - "]
pub struct FH1_OST_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FH1_OST_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 25)) | (((value as u32) & 0x01) << 25);
self.w
}
}
#[doc = "Field `FH0_OST_INT_RAW` reader - "]
pub struct FH0_OST_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FH0_OST_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FH0_OST_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FH0_OST_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FH0_OST_INT_RAW` writer - "]
pub struct FH0_OST_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FH0_OST_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 24)) | (((value as u32) & 0x01) << 24);
self.w
}
}
#[doc = "Field `FH2_CBC_INT_RAW` reader - "]
pub struct FH2_CBC_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FH2_CBC_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FH2_CBC_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FH2_CBC_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FH2_CBC_INT_RAW` writer - "]
pub struct FH2_CBC_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FH2_CBC_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 23)) | (((value as u32) & 0x01) << 23);
self.w
}
}
#[doc = "Field `FH1_CBC_INT_RAW` reader - "]
pub struct FH1_CBC_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FH1_CBC_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FH1_CBC_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FH1_CBC_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FH1_CBC_INT_RAW` writer - "]
pub struct FH1_CBC_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FH1_CBC_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 22)) | (((value as u32) & 0x01) << 22);
self.w
}
}
#[doc = "Field `FH0_CBC_INT_RAW` reader - "]
pub struct FH0_CBC_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FH0_CBC_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FH0_CBC_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FH0_CBC_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FH0_CBC_INT_RAW` writer - "]
pub struct FH0_CBC_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FH0_CBC_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 21)) | (((value as u32) & 0x01) << 21);
self.w
}
}
#[doc = "Field `OP2_TEB_INT_RAW` reader - "]
pub struct OP2_TEB_INT_RAW_R(crate::FieldReader<bool, bool>);
impl OP2_TEB_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
OP2_TEB_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for OP2_TEB_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `OP2_TEB_INT_RAW` writer - "]
pub struct OP2_TEB_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> OP2_TEB_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 20)) | (((value as u32) & 0x01) << 20);
self.w
}
}
#[doc = "Field `OP1_TEB_INT_RAW` reader - "]
pub struct OP1_TEB_INT_RAW_R(crate::FieldReader<bool, bool>);
impl OP1_TEB_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
OP1_TEB_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for OP1_TEB_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `OP1_TEB_INT_RAW` writer - "]
pub struct OP1_TEB_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> OP1_TEB_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 19)) | (((value as u32) & 0x01) << 19);
self.w
}
}
#[doc = "Field `OP0_TEB_INT_RAW` reader - "]
pub struct OP0_TEB_INT_RAW_R(crate::FieldReader<bool, bool>);
impl OP0_TEB_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
OP0_TEB_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for OP0_TEB_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `OP0_TEB_INT_RAW` writer - "]
pub struct OP0_TEB_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> OP0_TEB_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 18)) | (((value as u32) & 0x01) << 18);
self.w
}
}
#[doc = "Field `OP2_TEA_INT_RAW` reader - "]
pub struct OP2_TEA_INT_RAW_R(crate::FieldReader<bool, bool>);
impl OP2_TEA_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
OP2_TEA_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for OP2_TEA_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `OP2_TEA_INT_RAW` writer - "]
pub struct OP2_TEA_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> OP2_TEA_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 17)) | (((value as u32) & 0x01) << 17);
self.w
}
}
#[doc = "Field `OP1_TEA_INT_RAW` reader - "]
pub struct OP1_TEA_INT_RAW_R(crate::FieldReader<bool, bool>);
impl OP1_TEA_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
OP1_TEA_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for OP1_TEA_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `OP1_TEA_INT_RAW` writer - "]
pub struct OP1_TEA_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> OP1_TEA_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 16)) | (((value as u32) & 0x01) << 16);
self.w
}
}
#[doc = "Field `OP0_TEA_INT_RAW` reader - "]
pub struct OP0_TEA_INT_RAW_R(crate::FieldReader<bool, bool>);
impl OP0_TEA_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
OP0_TEA_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for OP0_TEA_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `OP0_TEA_INT_RAW` writer - "]
pub struct OP0_TEA_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> OP0_TEA_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 15)) | (((value as u32) & 0x01) << 15);
self.w
}
}
#[doc = "Field `FAULT2_CLR_INT_RAW` reader - "]
pub struct FAULT2_CLR_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FAULT2_CLR_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FAULT2_CLR_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FAULT2_CLR_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FAULT2_CLR_INT_RAW` writer - "]
pub struct FAULT2_CLR_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FAULT2_CLR_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 14)) | (((value as u32) & 0x01) << 14);
self.w
}
}
#[doc = "Field `FAULT1_CLR_INT_RAW` reader - "]
pub struct FAULT1_CLR_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FAULT1_CLR_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FAULT1_CLR_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FAULT1_CLR_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FAULT1_CLR_INT_RAW` writer - "]
pub struct FAULT1_CLR_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FAULT1_CLR_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 13)) | (((value as u32) & 0x01) << 13);
self.w
}
}
#[doc = "Field `FAULT0_CLR_INT_RAW` reader - "]
pub struct FAULT0_CLR_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FAULT0_CLR_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FAULT0_CLR_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FAULT0_CLR_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FAULT0_CLR_INT_RAW` writer - "]
pub struct FAULT0_CLR_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FAULT0_CLR_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 12)) | (((value as u32) & 0x01) << 12);
self.w
}
}
#[doc = "Field `FAULT2_INT_RAW` reader - "]
pub struct FAULT2_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FAULT2_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FAULT2_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FAULT2_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FAULT2_INT_RAW` writer - "]
pub struct FAULT2_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FAULT2_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 11)) | (((value as u32) & 0x01) << 11);
self.w
}
}
#[doc = "Field `FAULT1_INT_RAW` reader - "]
pub struct FAULT1_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FAULT1_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FAULT1_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FAULT1_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FAULT1_INT_RAW` writer - "]
pub struct FAULT1_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FAULT1_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 10)) | (((value as u32) & 0x01) << 10);
self.w
}
}
#[doc = "Field `FAULT0_INT_RAW` reader - "]
pub struct FAULT0_INT_RAW_R(crate::FieldReader<bool, bool>);
impl FAULT0_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
FAULT0_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for FAULT0_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `FAULT0_INT_RAW` writer - "]
pub struct FAULT0_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> FAULT0_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 9)) | (((value as u32) & 0x01) << 9);
self.w
}
}
#[doc = "Field `TIMER2_TEP_INT_RAW` reader - "]
pub struct TIMER2_TEP_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER2_TEP_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER2_TEP_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER2_TEP_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER2_TEP_INT_RAW` writer - "]
pub struct TIMER2_TEP_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER2_TEP_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 8)) | (((value as u32) & 0x01) << 8);
self.w
}
}
#[doc = "Field `TIMER1_TEP_INT_RAW` reader - "]
pub struct TIMER1_TEP_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER1_TEP_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER1_TEP_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER1_TEP_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER1_TEP_INT_RAW` writer - "]
pub struct TIMER1_TEP_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER1_TEP_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 7)) | (((value as u32) & 0x01) << 7);
self.w
}
}
#[doc = "Field `TIMER0_TEP_INT_RAW` reader - "]
pub struct TIMER0_TEP_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER0_TEP_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER0_TEP_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER0_TEP_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER0_TEP_INT_RAW` writer - "]
pub struct TIMER0_TEP_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER0_TEP_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 6)) | (((value as u32) & 0x01) << 6);
self.w
}
}
#[doc = "Field `TIMER2_TEZ_INT_RAW` reader - "]
pub struct TIMER2_TEZ_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER2_TEZ_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER2_TEZ_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER2_TEZ_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER2_TEZ_INT_RAW` writer - "]
pub struct TIMER2_TEZ_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER2_TEZ_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 5)) | (((value as u32) & 0x01) << 5);
self.w
}
}
#[doc = "Field `TIMER1_TEZ_INT_RAW` reader - "]
pub struct TIMER1_TEZ_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER1_TEZ_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER1_TEZ_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER1_TEZ_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER1_TEZ_INT_RAW` writer - "]
pub struct TIMER1_TEZ_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER1_TEZ_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 4)) | (((value as u32) & 0x01) << 4);
self.w
}
}
#[doc = "Field `TIMER0_TEZ_INT_RAW` reader - "]
pub struct TIMER0_TEZ_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER0_TEZ_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER0_TEZ_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER0_TEZ_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER0_TEZ_INT_RAW` writer - "]
pub struct TIMER0_TEZ_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER0_TEZ_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 3)) | (((value as u32) & 0x01) << 3);
self.w
}
}
#[doc = "Field `TIMER2_STOP_INT_RAW` reader - "]
pub struct TIMER2_STOP_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER2_STOP_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER2_STOP_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER2_STOP_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER2_STOP_INT_RAW` writer - "]
pub struct TIMER2_STOP_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER2_STOP_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 2)) | (((value as u32) & 0x01) << 2);
self.w
}
}
#[doc = "Field `TIMER1_STOP_INT_RAW` reader - "]
pub struct TIMER1_STOP_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER1_STOP_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER1_STOP_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER1_STOP_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER1_STOP_INT_RAW` writer - "]
pub struct TIMER1_STOP_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER1_STOP_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 1)) | (((value as u32) & 0x01) << 1);
self.w
}
}
#[doc = "Field `TIMER0_STOP_INT_RAW` reader - "]
pub struct TIMER0_STOP_INT_RAW_R(crate::FieldReader<bool, bool>);
impl TIMER0_STOP_INT_RAW_R {
pub(crate) fn new(bits: bool) -> Self {
TIMER0_STOP_INT_RAW_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for TIMER0_STOP_INT_RAW_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `TIMER0_STOP_INT_RAW` writer - "]
pub struct TIMER0_STOP_INT_RAW_W<'a> {
w: &'a mut W,
}
impl<'a> TIMER0_STOP_INT_RAW_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !0x01) | ((value as u32) & 0x01);
self.w
}
}
impl R {
#[doc = "Bit 29"]
#[inline(always)]
pub fn cap2_int_raw(&self) -> CAP2_INT_RAW_R {
CAP2_INT_RAW_R::new(((self.bits >> 29) & 0x01) != 0)
}
#[doc = "Bit 28"]
#[inline(always)]
pub fn cap1_int_raw(&self) -> CAP1_INT_RAW_R {
CAP1_INT_RAW_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 27"]
#[inline(always)]
pub fn cap0_int_raw(&self) -> CAP0_INT_RAW_R {
CAP0_INT_RAW_R::new(((self.bits >> 27) & 0x01) != 0)
}
#[doc = "Bit 26"]
#[inline(always)]
pub fn fh2_ost_int_raw(&self) -> FH2_OST_INT_RAW_R {
FH2_OST_INT_RAW_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 25"]
#[inline(always)]
pub fn fh1_ost_int_raw(&self) -> FH1_OST_INT_RAW_R {
FH1_OST_INT_RAW_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 24"]
#[inline(always)]
pub fn fh0_ost_int_raw(&self) -> FH0_OST_INT_RAW_R {
FH0_OST_INT_RAW_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 23"]
#[inline(always)]
pub fn fh2_cbc_int_raw(&self) -> FH2_CBC_INT_RAW_R {
FH2_CBC_INT_RAW_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 22"]
#[inline(always)]
pub fn fh1_cbc_int_raw(&self) -> FH1_CBC_INT_RAW_R {
FH1_CBC_INT_RAW_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 21"]
#[inline(always)]
pub fn fh0_cbc_int_raw(&self) -> FH0_CBC_INT_RAW_R {
FH0_CBC_INT_RAW_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 20"]
#[inline(always)]
pub fn op2_teb_int_raw(&self) -> OP2_TEB_INT_RAW_R {
OP2_TEB_INT_RAW_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 19"]
#[inline(always)]
pub fn op1_teb_int_raw(&self) -> OP1_TEB_INT_RAW_R {
OP1_TEB_INT_RAW_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 18"]
#[inline(always)]
pub fn op0_teb_int_raw(&self) -> OP0_TEB_INT_RAW_R {
OP0_TEB_INT_RAW_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 17"]
#[inline(always)]
pub fn op2_tea_int_raw(&self) -> OP2_TEA_INT_RAW_R {
OP2_TEA_INT_RAW_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 16"]
#[inline(always)]
pub fn op1_tea_int_raw(&self) -> OP1_TEA_INT_RAW_R {
OP1_TEA_INT_RAW_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 15"]
#[inline(always)]
pub fn op0_tea_int_raw(&self) -> OP0_TEA_INT_RAW_R {
OP0_TEA_INT_RAW_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 14"]
#[inline(always)]
pub fn fault2_clr_int_raw(&self) -> FAULT2_CLR_INT_RAW_R {
FAULT2_CLR_INT_RAW_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 13"]
#[inline(always)]
pub fn fault1_clr_int_raw(&self) -> FAULT1_CLR_INT_RAW_R {
FAULT1_CLR_INT_RAW_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 12"]
#[inline(always)]
pub fn fault0_clr_int_raw(&self) -> FAULT0_CLR_INT_RAW_R {
FAULT0_CLR_INT_RAW_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 11"]
#[inline(always)]
pub fn fault2_int_raw(&self) -> FAULT2_INT_RAW_R {
FAULT2_INT_RAW_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 10"]
#[inline(always)]
pub fn fault1_int_raw(&self) -> FAULT1_INT_RAW_R {
FAULT1_INT_RAW_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 9"]
#[inline(always)]
pub fn fault0_int_raw(&self) -> FAULT0_INT_RAW_R {
FAULT0_INT_RAW_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 8"]
#[inline(always)]
pub fn timer2_tep_int_raw(&self) -> TIMER2_TEP_INT_RAW_R {
TIMER2_TEP_INT_RAW_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 7"]
#[inline(always)]
pub fn timer1_tep_int_raw(&self) -> TIMER1_TEP_INT_RAW_R {
TIMER1_TEP_INT_RAW_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 6"]
#[inline(always)]
pub fn timer0_tep_int_raw(&self) -> TIMER0_TEP_INT_RAW_R {
TIMER0_TEP_INT_RAW_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 5"]
#[inline(always)]
pub fn timer2_tez_int_raw(&self) -> TIMER2_TEZ_INT_RAW_R {
TIMER2_TEZ_INT_RAW_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 4"]
#[inline(always)]
pub fn timer1_tez_int_raw(&self) -> TIMER1_TEZ_INT_RAW_R {
TIMER1_TEZ_INT_RAW_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 3"]
#[inline(always)]
pub fn timer0_tez_int_raw(&self) -> TIMER0_TEZ_INT_RAW_R {
TIMER0_TEZ_INT_RAW_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 2"]
#[inline(always)]
pub fn timer2_stop_int_raw(&self) -> TIMER2_STOP_INT_RAW_R {
TIMER2_STOP_INT_RAW_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 1"]
#[inline(always)]
pub fn timer1_stop_int_raw(&self) -> TIMER1_STOP_INT_RAW_R {
TIMER1_STOP_INT_RAW_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 0"]
#[inline(always)]
pub fn timer0_stop_int_raw(&self) -> TIMER0_STOP_INT_RAW_R {
TIMER0_STOP_INT_RAW_R::new((self.bits & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 29"]
#[inline(always)]
pub fn cap2_int_raw(&mut self) -> CAP2_INT_RAW_W {
CAP2_INT_RAW_W { w: self }
}
#[doc = "Bit 28"]
#[inline(always)]
pub fn cap1_int_raw(&mut self) -> CAP1_INT_RAW_W {
CAP1_INT_RAW_W { w: self }
}
#[doc = "Bit 27"]
#[inline(always)]
pub fn cap0_int_raw(&mut self) -> CAP0_INT_RAW_W {
CAP0_INT_RAW_W { w: self }
}
#[doc = "Bit 26"]
#[inline(always)]
pub fn fh2_ost_int_raw(&mut self) -> FH2_OST_INT_RAW_W {
FH2_OST_INT_RAW_W { w: self }
}
#[doc = "Bit 25"]
#[inline(always)]
pub fn fh1_ost_int_raw(&mut self) -> FH1_OST_INT_RAW_W {
FH1_OST_INT_RAW_W { w: self }
}
#[doc = "Bit 24"]
#[inline(always)]
pub fn fh0_ost_int_raw(&mut self) -> FH0_OST_INT_RAW_W {
FH0_OST_INT_RAW_W { w: self }
}
#[doc = "Bit 23"]
#[inline(always)]
pub fn fh2_cbc_int_raw(&mut self) -> FH2_CBC_INT_RAW_W {
FH2_CBC_INT_RAW_W { w: self }
}
#[doc = "Bit 22"]
#[inline(always)]
pub fn fh1_cbc_int_raw(&mut self) -> FH1_CBC_INT_RAW_W {
FH1_CBC_INT_RAW_W { w: self }
}
#[doc = "Bit 21"]
#[inline(always)]
pub fn fh0_cbc_int_raw(&mut self) -> FH0_CBC_INT_RAW_W {
FH0_CBC_INT_RAW_W { w: self }
}
#[doc = "Bit 20"]
#[inline(always)]
pub fn op2_teb_int_raw(&mut self) -> OP2_TEB_INT_RAW_W {
OP2_TEB_INT_RAW_W { w: self }
}
#[doc = "Bit 19"]
#[inline(always)]
pub fn op1_teb_int_raw(&mut self) -> OP1_TEB_INT_RAW_W {
OP1_TEB_INT_RAW_W { w: self }
}
#[doc = "Bit 18"]
#[inline(always)]
pub fn op0_teb_int_raw(&mut self) -> OP0_TEB_INT_RAW_W {
OP0_TEB_INT_RAW_W { w: self }
}
#[doc = "Bit 17"]
#[inline(always)]
pub fn op2_tea_int_raw(&mut self) -> OP2_TEA_INT_RAW_W {
OP2_TEA_INT_RAW_W { w: self }
}
#[doc = "Bit 16"]
#[inline(always)]
pub fn op1_tea_int_raw(&mut self) -> OP1_TEA_INT_RAW_W {
OP1_TEA_INT_RAW_W { w: self }
}
#[doc = "Bit 15"]
#[inline(always)]
pub fn op0_tea_int_raw(&mut self) -> OP0_TEA_INT_RAW_W {
OP0_TEA_INT_RAW_W { w: self }
}
#[doc = "Bit 14"]
#[inline(always)]
pub fn fault2_clr_int_raw(&mut self) -> FAULT2_CLR_INT_RAW_W {
FAULT2_CLR_INT_RAW_W { w: self }
}
#[doc = "Bit 13"]
#[inline(always)]
pub fn fault1_clr_int_raw(&mut self) -> FAULT1_CLR_INT_RAW_W {
FAULT1_CLR_INT_RAW_W { w: self }
}
#[doc = "Bit 12"]
#[inline(always)]
pub fn fault0_clr_int_raw(&mut self) -> FAULT0_CLR_INT_RAW_W {
FAULT0_CLR_INT_RAW_W { w: self }
}
#[doc = "Bit 11"]
#[inline(always)]
pub fn fault2_int_raw(&mut self) -> FAULT2_INT_RAW_W {
FAULT2_INT_RAW_W { w: self }
}
#[doc = "Bit 10"]
#[inline(always)]
pub fn fault1_int_raw(&mut self) -> FAULT1_INT_RAW_W {
FAULT1_INT_RAW_W { w: self }
}
#[doc = "Bit 9"]
#[inline(always)]
pub fn fault0_int_raw(&mut self) -> FAULT0_INT_RAW_W {
FAULT0_INT_RAW_W { w: self }
}
#[doc = "Bit 8"]
#[inline(always)]
pub fn timer2_tep_int_raw(&mut self) -> TIMER2_TEP_INT_RAW_W {
TIMER2_TEP_INT_RAW_W { w: self }
}
#[doc = "Bit 7"]
#[inline(always)]
pub fn timer1_tep_int_raw(&mut self) -> TIMER1_TEP_INT_RAW_W {
TIMER1_TEP_INT_RAW_W { w: self }
}
#[doc = "Bit 6"]
#[inline(always)]
pub fn timer0_tep_int_raw(&mut self) -> TIMER0_TEP_INT_RAW_W {
TIMER0_TEP_INT_RAW_W { w: self }
}
#[doc = "Bit 5"]
#[inline(always)]
pub fn timer2_tez_int_raw(&mut self) -> TIMER2_TEZ_INT_RAW_W {
TIMER2_TEZ_INT_RAW_W { w: self }
}
#[doc = "Bit 4"]
#[inline(always)]
pub fn timer1_tez_int_raw(&mut self) -> TIMER1_TEZ_INT_RAW_W {
TIMER1_TEZ_INT_RAW_W { w: self }
}
#[doc = "Bit 3"]
#[inline(always)]
pub fn timer0_tez_int_raw(&mut self) -> TIMER0_TEZ_INT_RAW_W {
TIMER0_TEZ_INT_RAW_W { w: self }
}
#[doc = "Bit 2"]
#[inline(always)]
pub fn timer2_stop_int_raw(&mut self) -> TIMER2_STOP_INT_RAW_W {
TIMER2_STOP_INT_RAW_W { w: self }
}
#[doc = "Bit 1"]
#[inline(always)]
pub fn timer1_stop_int_raw(&mut self) -> TIMER1_STOP_INT_RAW_W {
TIMER1_STOP_INT_RAW_W { w: self }
}
#[doc = "Bit 0"]
#[inline(always)]
pub fn timer0_stop_int_raw(&mut self) -> TIMER0_STOP_INT_RAW_W {
TIMER0_STOP_INT_RAW_W { w: self }
}
#[doc = "Writes raw bits to the register."]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "MCMCPWM_INT_RAW_MCPWM\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 [mcmcpwm_int_raw_mcpwm](index.html) module"]
pub struct MCMCPWM_INT_RAW_MCPWM_SPEC;
impl crate::RegisterSpec for MCMCPWM_INT_RAW_MCPWM_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [mcmcpwm_int_raw_mcpwm::R](R) reader structure"]
impl crate::Readable for MCMCPWM_INT_RAW_MCPWM_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [mcmcpwm_int_raw_mcpwm::W](W) writer structure"]
impl crate::Writable for MCMCPWM_INT_RAW_MCPWM_SPEC {
type Writer = W;
}
#[doc = "`reset()` method sets MCMCPWM_INT_RAW_MCPWM to value 0"]
impl crate::Resettable for MCMCPWM_INT_RAW_MCPWM_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}