#[doc = "Register `TXBAR` reader"]
pub type R = crate::R<TxbarSpec>;
#[doc = "Register `TXBAR` writer"]
pub type W = crate::W<TxbarSpec>;
#[doc = "Field `AR0` reader - Add Request 0"]
pub type Ar0R = crate::BitReader;
#[doc = "Field `AR0` writer - Add Request 0"]
pub type Ar0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR1` reader - Add Request 1"]
pub type Ar1R = crate::BitReader;
#[doc = "Field `AR1` writer - Add Request 1"]
pub type Ar1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR2` reader - Add Request 2"]
pub type Ar2R = crate::BitReader;
#[doc = "Field `AR2` writer - Add Request 2"]
pub type Ar2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR3` reader - Add Request 3"]
pub type Ar3R = crate::BitReader;
#[doc = "Field `AR3` writer - Add Request 3"]
pub type Ar3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR4` reader - Add Request 4"]
pub type Ar4R = crate::BitReader;
#[doc = "Field `AR4` writer - Add Request 4"]
pub type Ar4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR5` reader - Add Request 5"]
pub type Ar5R = crate::BitReader;
#[doc = "Field `AR5` writer - Add Request 5"]
pub type Ar5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR6` reader - Add Request 6"]
pub type Ar6R = crate::BitReader;
#[doc = "Field `AR6` writer - Add Request 6"]
pub type Ar6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR7` reader - Add Request 7"]
pub type Ar7R = crate::BitReader;
#[doc = "Field `AR7` writer - Add Request 7"]
pub type Ar7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR8` reader - Add Request 8"]
pub type Ar8R = crate::BitReader;
#[doc = "Field `AR8` writer - Add Request 8"]
pub type Ar8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR9` reader - Add Request 9"]
pub type Ar9R = crate::BitReader;
#[doc = "Field `AR9` writer - Add Request 9"]
pub type Ar9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR10` reader - Add Request 10"]
pub type Ar10R = crate::BitReader;
#[doc = "Field `AR10` writer - Add Request 10"]
pub type Ar10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR11` reader - Add Request 11"]
pub type Ar11R = crate::BitReader;
#[doc = "Field `AR11` writer - Add Request 11"]
pub type Ar11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR12` reader - Add Request 12"]
pub type Ar12R = crate::BitReader;
#[doc = "Field `AR12` writer - Add Request 12"]
pub type Ar12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR13` reader - Add Request 13"]
pub type Ar13R = crate::BitReader;
#[doc = "Field `AR13` writer - Add Request 13"]
pub type Ar13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR14` reader - Add Request 14"]
pub type Ar14R = crate::BitReader;
#[doc = "Field `AR14` writer - Add Request 14"]
pub type Ar14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR15` reader - Add Request 15"]
pub type Ar15R = crate::BitReader;
#[doc = "Field `AR15` writer - Add Request 15"]
pub type Ar15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR16` reader - Add Request 16"]
pub type Ar16R = crate::BitReader;
#[doc = "Field `AR16` writer - Add Request 16"]
pub type Ar16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR17` reader - Add Request 17"]
pub type Ar17R = crate::BitReader;
#[doc = "Field `AR17` writer - Add Request 17"]
pub type Ar17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR18` reader - Add Request 18"]
pub type Ar18R = crate::BitReader;
#[doc = "Field `AR18` writer - Add Request 18"]
pub type Ar18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR19` reader - Add Request 19"]
pub type Ar19R = crate::BitReader;
#[doc = "Field `AR19` writer - Add Request 19"]
pub type Ar19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR20` reader - Add Request 20"]
pub type Ar20R = crate::BitReader;
#[doc = "Field `AR20` writer - Add Request 20"]
pub type Ar20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR21` reader - Add Request 21"]
pub type Ar21R = crate::BitReader;
#[doc = "Field `AR21` writer - Add Request 21"]
pub type Ar21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR22` reader - Add Request 22"]
pub type Ar22R = crate::BitReader;
#[doc = "Field `AR22` writer - Add Request 22"]
pub type Ar22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR23` reader - Add Request 23"]
pub type Ar23R = crate::BitReader;
#[doc = "Field `AR23` writer - Add Request 23"]
pub type Ar23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR24` reader - Add Request 24"]
pub type Ar24R = crate::BitReader;
#[doc = "Field `AR24` writer - Add Request 24"]
pub type Ar24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR25` reader - Add Request 25"]
pub type Ar25R = crate::BitReader;
#[doc = "Field `AR25` writer - Add Request 25"]
pub type Ar25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR26` reader - Add Request 26"]
pub type Ar26R = crate::BitReader;
#[doc = "Field `AR26` writer - Add Request 26"]
pub type Ar26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR27` reader - Add Request 27"]
pub type Ar27R = crate::BitReader;
#[doc = "Field `AR27` writer - Add Request 27"]
pub type Ar27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR28` reader - Add Request 28"]
pub type Ar28R = crate::BitReader;
#[doc = "Field `AR28` writer - Add Request 28"]
pub type Ar28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR29` reader - Add Request 29"]
pub type Ar29R = crate::BitReader;
#[doc = "Field `AR29` writer - Add Request 29"]
pub type Ar29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR30` reader - Add Request 30"]
pub type Ar30R = crate::BitReader;
#[doc = "Field `AR30` writer - Add Request 30"]
pub type Ar30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `AR31` reader - Add Request 31"]
pub type Ar31R = crate::BitReader;
#[doc = "Field `AR31` writer - Add Request 31"]
pub type Ar31W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[doc = "Bit 0 - Add Request 0"]
#[inline(always)]
pub fn ar0(&self) -> Ar0R {
Ar0R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - Add Request 1"]
#[inline(always)]
pub fn ar1(&self) -> Ar1R {
Ar1R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2 - Add Request 2"]
#[inline(always)]
pub fn ar2(&self) -> Ar2R {
Ar2R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3 - Add Request 3"]
#[inline(always)]
pub fn ar3(&self) -> Ar3R {
Ar3R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4 - Add Request 4"]
#[inline(always)]
pub fn ar4(&self) -> Ar4R {
Ar4R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - Add Request 5"]
#[inline(always)]
pub fn ar5(&self) -> Ar5R {
Ar5R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - Add Request 6"]
#[inline(always)]
pub fn ar6(&self) -> Ar6R {
Ar6R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - Add Request 7"]
#[inline(always)]
pub fn ar7(&self) -> Ar7R {
Ar7R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - Add Request 8"]
#[inline(always)]
pub fn ar8(&self) -> Ar8R {
Ar8R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - Add Request 9"]
#[inline(always)]
pub fn ar9(&self) -> Ar9R {
Ar9R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - Add Request 10"]
#[inline(always)]
pub fn ar10(&self) -> Ar10R {
Ar10R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11 - Add Request 11"]
#[inline(always)]
pub fn ar11(&self) -> Ar11R {
Ar11R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12 - Add Request 12"]
#[inline(always)]
pub fn ar12(&self) -> Ar12R {
Ar12R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 13 - Add Request 13"]
#[inline(always)]
pub fn ar13(&self) -> Ar13R {
Ar13R::new(((self.bits >> 13) & 1) != 0)
}
#[doc = "Bit 14 - Add Request 14"]
#[inline(always)]
pub fn ar14(&self) -> Ar14R {
Ar14R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15 - Add Request 15"]
#[inline(always)]
pub fn ar15(&self) -> Ar15R {
Ar15R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16 - Add Request 16"]
#[inline(always)]
pub fn ar16(&self) -> Ar16R {
Ar16R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17 - Add Request 17"]
#[inline(always)]
pub fn ar17(&self) -> Ar17R {
Ar17R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18 - Add Request 18"]
#[inline(always)]
pub fn ar18(&self) -> Ar18R {
Ar18R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19 - Add Request 19"]
#[inline(always)]
pub fn ar19(&self) -> Ar19R {
Ar19R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20 - Add Request 20"]
#[inline(always)]
pub fn ar20(&self) -> Ar20R {
Ar20R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 21 - Add Request 21"]
#[inline(always)]
pub fn ar21(&self) -> Ar21R {
Ar21R::new(((self.bits >> 21) & 1) != 0)
}
#[doc = "Bit 22 - Add Request 22"]
#[inline(always)]
pub fn ar22(&self) -> Ar22R {
Ar22R::new(((self.bits >> 22) & 1) != 0)
}
#[doc = "Bit 23 - Add Request 23"]
#[inline(always)]
pub fn ar23(&self) -> Ar23R {
Ar23R::new(((self.bits >> 23) & 1) != 0)
}
#[doc = "Bit 24 - Add Request 24"]
#[inline(always)]
pub fn ar24(&self) -> Ar24R {
Ar24R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25 - Add Request 25"]
#[inline(always)]
pub fn ar25(&self) -> Ar25R {
Ar25R::new(((self.bits >> 25) & 1) != 0)
}
#[doc = "Bit 26 - Add Request 26"]
#[inline(always)]
pub fn ar26(&self) -> Ar26R {
Ar26R::new(((self.bits >> 26) & 1) != 0)
}
#[doc = "Bit 27 - Add Request 27"]
#[inline(always)]
pub fn ar27(&self) -> Ar27R {
Ar27R::new(((self.bits >> 27) & 1) != 0)
}
#[doc = "Bit 28 - Add Request 28"]
#[inline(always)]
pub fn ar28(&self) -> Ar28R {
Ar28R::new(((self.bits >> 28) & 1) != 0)
}
#[doc = "Bit 29 - Add Request 29"]
#[inline(always)]
pub fn ar29(&self) -> Ar29R {
Ar29R::new(((self.bits >> 29) & 1) != 0)
}
#[doc = "Bit 30 - Add Request 30"]
#[inline(always)]
pub fn ar30(&self) -> Ar30R {
Ar30R::new(((self.bits >> 30) & 1) != 0)
}
#[doc = "Bit 31 - Add Request 31"]
#[inline(always)]
pub fn ar31(&self) -> Ar31R {
Ar31R::new(((self.bits >> 31) & 1) != 0)
}
}
impl W {
#[doc = "Bit 0 - Add Request 0"]
#[inline(always)]
#[must_use]
pub fn ar0(&mut self) -> Ar0W<TxbarSpec> {
Ar0W::new(self, 0)
}
#[doc = "Bit 1 - Add Request 1"]
#[inline(always)]
#[must_use]
pub fn ar1(&mut self) -> Ar1W<TxbarSpec> {
Ar1W::new(self, 1)
}
#[doc = "Bit 2 - Add Request 2"]
#[inline(always)]
#[must_use]
pub fn ar2(&mut self) -> Ar2W<TxbarSpec> {
Ar2W::new(self, 2)
}
#[doc = "Bit 3 - Add Request 3"]
#[inline(always)]
#[must_use]
pub fn ar3(&mut self) -> Ar3W<TxbarSpec> {
Ar3W::new(self, 3)
}
#[doc = "Bit 4 - Add Request 4"]
#[inline(always)]
#[must_use]
pub fn ar4(&mut self) -> Ar4W<TxbarSpec> {
Ar4W::new(self, 4)
}
#[doc = "Bit 5 - Add Request 5"]
#[inline(always)]
#[must_use]
pub fn ar5(&mut self) -> Ar5W<TxbarSpec> {
Ar5W::new(self, 5)
}
#[doc = "Bit 6 - Add Request 6"]
#[inline(always)]
#[must_use]
pub fn ar6(&mut self) -> Ar6W<TxbarSpec> {
Ar6W::new(self, 6)
}
#[doc = "Bit 7 - Add Request 7"]
#[inline(always)]
#[must_use]
pub fn ar7(&mut self) -> Ar7W<TxbarSpec> {
Ar7W::new(self, 7)
}
#[doc = "Bit 8 - Add Request 8"]
#[inline(always)]
#[must_use]
pub fn ar8(&mut self) -> Ar8W<TxbarSpec> {
Ar8W::new(self, 8)
}
#[doc = "Bit 9 - Add Request 9"]
#[inline(always)]
#[must_use]
pub fn ar9(&mut self) -> Ar9W<TxbarSpec> {
Ar9W::new(self, 9)
}
#[doc = "Bit 10 - Add Request 10"]
#[inline(always)]
#[must_use]
pub fn ar10(&mut self) -> Ar10W<TxbarSpec> {
Ar10W::new(self, 10)
}
#[doc = "Bit 11 - Add Request 11"]
#[inline(always)]
#[must_use]
pub fn ar11(&mut self) -> Ar11W<TxbarSpec> {
Ar11W::new(self, 11)
}
#[doc = "Bit 12 - Add Request 12"]
#[inline(always)]
#[must_use]
pub fn ar12(&mut self) -> Ar12W<TxbarSpec> {
Ar12W::new(self, 12)
}
#[doc = "Bit 13 - Add Request 13"]
#[inline(always)]
#[must_use]
pub fn ar13(&mut self) -> Ar13W<TxbarSpec> {
Ar13W::new(self, 13)
}
#[doc = "Bit 14 - Add Request 14"]
#[inline(always)]
#[must_use]
pub fn ar14(&mut self) -> Ar14W<TxbarSpec> {
Ar14W::new(self, 14)
}
#[doc = "Bit 15 - Add Request 15"]
#[inline(always)]
#[must_use]
pub fn ar15(&mut self) -> Ar15W<TxbarSpec> {
Ar15W::new(self, 15)
}
#[doc = "Bit 16 - Add Request 16"]
#[inline(always)]
#[must_use]
pub fn ar16(&mut self) -> Ar16W<TxbarSpec> {
Ar16W::new(self, 16)
}
#[doc = "Bit 17 - Add Request 17"]
#[inline(always)]
#[must_use]
pub fn ar17(&mut self) -> Ar17W<TxbarSpec> {
Ar17W::new(self, 17)
}
#[doc = "Bit 18 - Add Request 18"]
#[inline(always)]
#[must_use]
pub fn ar18(&mut self) -> Ar18W<TxbarSpec> {
Ar18W::new(self, 18)
}
#[doc = "Bit 19 - Add Request 19"]
#[inline(always)]
#[must_use]
pub fn ar19(&mut self) -> Ar19W<TxbarSpec> {
Ar19W::new(self, 19)
}
#[doc = "Bit 20 - Add Request 20"]
#[inline(always)]
#[must_use]
pub fn ar20(&mut self) -> Ar20W<TxbarSpec> {
Ar20W::new(self, 20)
}
#[doc = "Bit 21 - Add Request 21"]
#[inline(always)]
#[must_use]
pub fn ar21(&mut self) -> Ar21W<TxbarSpec> {
Ar21W::new(self, 21)
}
#[doc = "Bit 22 - Add Request 22"]
#[inline(always)]
#[must_use]
pub fn ar22(&mut self) -> Ar22W<TxbarSpec> {
Ar22W::new(self, 22)
}
#[doc = "Bit 23 - Add Request 23"]
#[inline(always)]
#[must_use]
pub fn ar23(&mut self) -> Ar23W<TxbarSpec> {
Ar23W::new(self, 23)
}
#[doc = "Bit 24 - Add Request 24"]
#[inline(always)]
#[must_use]
pub fn ar24(&mut self) -> Ar24W<TxbarSpec> {
Ar24W::new(self, 24)
}
#[doc = "Bit 25 - Add Request 25"]
#[inline(always)]
#[must_use]
pub fn ar25(&mut self) -> Ar25W<TxbarSpec> {
Ar25W::new(self, 25)
}
#[doc = "Bit 26 - Add Request 26"]
#[inline(always)]
#[must_use]
pub fn ar26(&mut self) -> Ar26W<TxbarSpec> {
Ar26W::new(self, 26)
}
#[doc = "Bit 27 - Add Request 27"]
#[inline(always)]
#[must_use]
pub fn ar27(&mut self) -> Ar27W<TxbarSpec> {
Ar27W::new(self, 27)
}
#[doc = "Bit 28 - Add Request 28"]
#[inline(always)]
#[must_use]
pub fn ar28(&mut self) -> Ar28W<TxbarSpec> {
Ar28W::new(self, 28)
}
#[doc = "Bit 29 - Add Request 29"]
#[inline(always)]
#[must_use]
pub fn ar29(&mut self) -> Ar29W<TxbarSpec> {
Ar29W::new(self, 29)
}
#[doc = "Bit 30 - Add Request 30"]
#[inline(always)]
#[must_use]
pub fn ar30(&mut self) -> Ar30W<TxbarSpec> {
Ar30W::new(self, 30)
}
#[doc = "Bit 31 - Add Request 31"]
#[inline(always)]
#[must_use]
pub fn ar31(&mut self) -> Ar31W<TxbarSpec> {
Ar31W::new(self, 31)
}
}
#[doc = "Tx Buffer Add Request\n\nYou can [`read`](crate::Reg::read) this register and get [`txbar::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`txbar::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct TxbarSpec;
impl crate::RegisterSpec for TxbarSpec {
type Ux = u32;
}
#[doc = "`read()` method returns [`txbar::R`](R) reader structure"]
impl crate::Readable for TxbarSpec {}
#[doc = "`write(|w| ..)` method takes [`txbar::W`](W) writer structure"]
impl crate::Writable for TxbarSpec {
type Safety = crate::Unsafe;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets TXBAR to value 0"]
impl crate::Resettable for TxbarSpec {
const RESET_VALUE: u32 = 0;
}