summaryrefslogtreecommitdiff
path: root/src/can0/txbcf.rs
diff options
context:
space:
mode:
authorArne Dußin2021-11-06 11:50:33 +0100
committerArne Dußin2021-11-06 11:50:33 +0100
commit0666a6ba1dbd66cf8b93c113e362ccbcd99152a0 (patch)
treea184284dbd2316f4624f092e4e7521ea8c90855b /src/can0/txbcf.rs
downloadsamc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.tar.gz
samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.zip
Initial commit
Diffstat (limited to 'src/can0/txbcf.rs')
-rw-r--r--src/can0/txbcf.rs641
1 files changed, 641 insertions, 0 deletions
diff --git a/src/can0/txbcf.rs b/src/can0/txbcf.rs
new file mode 100644
index 0000000..ce6a1fc
--- /dev/null
+++ b/src/can0/txbcf.rs
@@ -0,0 +1,641 @@
+#[doc = "Register `TXBCF` reader"]
+pub struct R(crate::R<TXBCF_SPEC>);
+impl core::ops::Deref for R {
+ type Target = crate::R<TXBCF_SPEC>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+impl From<crate::R<TXBCF_SPEC>> for R {
+ #[inline(always)]
+ fn from(reader: crate::R<TXBCF_SPEC>) -> Self {
+ R(reader)
+ }
+}
+#[doc = "Field `CF0` reader - Tx Buffer Cancellation Finished 0"]
+pub struct CF0_R(crate::FieldReader<bool, bool>);
+impl CF0_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF0_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF0_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF1` reader - Tx Buffer Cancellation Finished 1"]
+pub struct CF1_R(crate::FieldReader<bool, bool>);
+impl CF1_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF1_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF1_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF2` reader - Tx Buffer Cancellation Finished 2"]
+pub struct CF2_R(crate::FieldReader<bool, bool>);
+impl CF2_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF2_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF2_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF3` reader - Tx Buffer Cancellation Finished 3"]
+pub struct CF3_R(crate::FieldReader<bool, bool>);
+impl CF3_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF3_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF3_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF4` reader - Tx Buffer Cancellation Finished 4"]
+pub struct CF4_R(crate::FieldReader<bool, bool>);
+impl CF4_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF4_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF4_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF5` reader - Tx Buffer Cancellation Finished 5"]
+pub struct CF5_R(crate::FieldReader<bool, bool>);
+impl CF5_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF5_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF5_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF6` reader - Tx Buffer Cancellation Finished 6"]
+pub struct CF6_R(crate::FieldReader<bool, bool>);
+impl CF6_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF6_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF6_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF7` reader - Tx Buffer Cancellation Finished 7"]
+pub struct CF7_R(crate::FieldReader<bool, bool>);
+impl CF7_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF7_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF7_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF8` reader - Tx Buffer Cancellation Finished 8"]
+pub struct CF8_R(crate::FieldReader<bool, bool>);
+impl CF8_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF8_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF8_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF9` reader - Tx Buffer Cancellation Finished 9"]
+pub struct CF9_R(crate::FieldReader<bool, bool>);
+impl CF9_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF9_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF9_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF10` reader - Tx Buffer Cancellation Finished 10"]
+pub struct CF10_R(crate::FieldReader<bool, bool>);
+impl CF10_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF10_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF10_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF11` reader - Tx Buffer Cancellation Finished 11"]
+pub struct CF11_R(crate::FieldReader<bool, bool>);
+impl CF11_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF11_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF11_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF12` reader - Tx Buffer Cancellation Finished 12"]
+pub struct CF12_R(crate::FieldReader<bool, bool>);
+impl CF12_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF12_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF12_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF13` reader - Tx Buffer Cancellation Finished 13"]
+pub struct CF13_R(crate::FieldReader<bool, bool>);
+impl CF13_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF13_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF13_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF14` reader - Tx Buffer Cancellation Finished 14"]
+pub struct CF14_R(crate::FieldReader<bool, bool>);
+impl CF14_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF14_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF14_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF15` reader - Tx Buffer Cancellation Finished 15"]
+pub struct CF15_R(crate::FieldReader<bool, bool>);
+impl CF15_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF15_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF15_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF16` reader - Tx Buffer Cancellation Finished 16"]
+pub struct CF16_R(crate::FieldReader<bool, bool>);
+impl CF16_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF16_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF16_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF17` reader - Tx Buffer Cancellation Finished 17"]
+pub struct CF17_R(crate::FieldReader<bool, bool>);
+impl CF17_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF17_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF17_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF18` reader - Tx Buffer Cancellation Finished 18"]
+pub struct CF18_R(crate::FieldReader<bool, bool>);
+impl CF18_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF18_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF18_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF19` reader - Tx Buffer Cancellation Finished 19"]
+pub struct CF19_R(crate::FieldReader<bool, bool>);
+impl CF19_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF19_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF19_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF20` reader - Tx Buffer Cancellation Finished 20"]
+pub struct CF20_R(crate::FieldReader<bool, bool>);
+impl CF20_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF20_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF20_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF21` reader - Tx Buffer Cancellation Finished 21"]
+pub struct CF21_R(crate::FieldReader<bool, bool>);
+impl CF21_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF21_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF21_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF22` reader - Tx Buffer Cancellation Finished 22"]
+pub struct CF22_R(crate::FieldReader<bool, bool>);
+impl CF22_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF22_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF22_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF23` reader - Tx Buffer Cancellation Finished 23"]
+pub struct CF23_R(crate::FieldReader<bool, bool>);
+impl CF23_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF23_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF23_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF24` reader - Tx Buffer Cancellation Finished 24"]
+pub struct CF24_R(crate::FieldReader<bool, bool>);
+impl CF24_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF24_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF24_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF25` reader - Tx Buffer Cancellation Finished 25"]
+pub struct CF25_R(crate::FieldReader<bool, bool>);
+impl CF25_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF25_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF25_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF26` reader - Tx Buffer Cancellation Finished 26"]
+pub struct CF26_R(crate::FieldReader<bool, bool>);
+impl CF26_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF26_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF26_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF27` reader - Tx Buffer Cancellation Finished 27"]
+pub struct CF27_R(crate::FieldReader<bool, bool>);
+impl CF27_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF27_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF27_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF28` reader - Tx Buffer Cancellation Finished 28"]
+pub struct CF28_R(crate::FieldReader<bool, bool>);
+impl CF28_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF28_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF28_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF29` reader - Tx Buffer Cancellation Finished 29"]
+pub struct CF29_R(crate::FieldReader<bool, bool>);
+impl CF29_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF29_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF29_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF30` reader - Tx Buffer Cancellation Finished 30"]
+pub struct CF30_R(crate::FieldReader<bool, bool>);
+impl CF30_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF30_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF30_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+#[doc = "Field `CF31` reader - Tx Buffer Cancellation Finished 31"]
+pub struct CF31_R(crate::FieldReader<bool, bool>);
+impl CF31_R {
+ pub(crate) fn new(bits: bool) -> Self {
+ CF31_R(crate::FieldReader::new(bits))
+ }
+}
+impl core::ops::Deref for CF31_R {
+ type Target = crate::FieldReader<bool, bool>;
+ #[inline(always)]
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+impl R {
+ #[doc = "Bit 0 - Tx Buffer Cancellation Finished 0"]
+ #[inline(always)]
+ pub fn cf0(&self) -> CF0_R {
+ CF0_R::new((self.bits & 0x01) != 0)
+ }
+ #[doc = "Bit 1 - Tx Buffer Cancellation Finished 1"]
+ #[inline(always)]
+ pub fn cf1(&self) -> CF1_R {
+ CF1_R::new(((self.bits >> 1) & 0x01) != 0)
+ }
+ #[doc = "Bit 2 - Tx Buffer Cancellation Finished 2"]
+ #[inline(always)]
+ pub fn cf2(&self) -> CF2_R {
+ CF2_R::new(((self.bits >> 2) & 0x01) != 0)
+ }
+ #[doc = "Bit 3 - Tx Buffer Cancellation Finished 3"]
+ #[inline(always)]
+ pub fn cf3(&self) -> CF3_R {
+ CF3_R::new(((self.bits >> 3) & 0x01) != 0)
+ }
+ #[doc = "Bit 4 - Tx Buffer Cancellation Finished 4"]
+ #[inline(always)]
+ pub fn cf4(&self) -> CF4_R {
+ CF4_R::new(((self.bits >> 4) & 0x01) != 0)
+ }
+ #[doc = "Bit 5 - Tx Buffer Cancellation Finished 5"]
+ #[inline(always)]
+ pub fn cf5(&self) -> CF5_R {
+ CF5_R::new(((self.bits >> 5) & 0x01) != 0)
+ }
+ #[doc = "Bit 6 - Tx Buffer Cancellation Finished 6"]
+ #[inline(always)]
+ pub fn cf6(&self) -> CF6_R {
+ CF6_R::new(((self.bits >> 6) & 0x01) != 0)
+ }
+ #[doc = "Bit 7 - Tx Buffer Cancellation Finished 7"]
+ #[inline(always)]
+ pub fn cf7(&self) -> CF7_R {
+ CF7_R::new(((self.bits >> 7) & 0x01) != 0)
+ }
+ #[doc = "Bit 8 - Tx Buffer Cancellation Finished 8"]
+ #[inline(always)]
+ pub fn cf8(&self) -> CF8_R {
+ CF8_R::new(((self.bits >> 8) & 0x01) != 0)
+ }
+ #[doc = "Bit 9 - Tx Buffer Cancellation Finished 9"]
+ #[inline(always)]
+ pub fn cf9(&self) -> CF9_R {
+ CF9_R::new(((self.bits >> 9) & 0x01) != 0)
+ }
+ #[doc = "Bit 10 - Tx Buffer Cancellation Finished 10"]
+ #[inline(always)]
+ pub fn cf10(&self) -> CF10_R {
+ CF10_R::new(((self.bits >> 10) & 0x01) != 0)
+ }
+ #[doc = "Bit 11 - Tx Buffer Cancellation Finished 11"]
+ #[inline(always)]
+ pub fn cf11(&self) -> CF11_R {
+ CF11_R::new(((self.bits >> 11) & 0x01) != 0)
+ }
+ #[doc = "Bit 12 - Tx Buffer Cancellation Finished 12"]
+ #[inline(always)]
+ pub fn cf12(&self) -> CF12_R {
+ CF12_R::new(((self.bits >> 12) & 0x01) != 0)
+ }
+ #[doc = "Bit 13 - Tx Buffer Cancellation Finished 13"]
+ #[inline(always)]
+ pub fn cf13(&self) -> CF13_R {
+ CF13_R::new(((self.bits >> 13) & 0x01) != 0)
+ }
+ #[doc = "Bit 14 - Tx Buffer Cancellation Finished 14"]
+ #[inline(always)]
+ pub fn cf14(&self) -> CF14_R {
+ CF14_R::new(((self.bits >> 14) & 0x01) != 0)
+ }
+ #[doc = "Bit 15 - Tx Buffer Cancellation Finished 15"]
+ #[inline(always)]
+ pub fn cf15(&self) -> CF15_R {
+ CF15_R::new(((self.bits >> 15) & 0x01) != 0)
+ }
+ #[doc = "Bit 16 - Tx Buffer Cancellation Finished 16"]
+ #[inline(always)]
+ pub fn cf16(&self) -> CF16_R {
+ CF16_R::new(((self.bits >> 16) & 0x01) != 0)
+ }
+ #[doc = "Bit 17 - Tx Buffer Cancellation Finished 17"]
+ #[inline(always)]
+ pub fn cf17(&self) -> CF17_R {
+ CF17_R::new(((self.bits >> 17) & 0x01) != 0)
+ }
+ #[doc = "Bit 18 - Tx Buffer Cancellation Finished 18"]
+ #[inline(always)]
+ pub fn cf18(&self) -> CF18_R {
+ CF18_R::new(((self.bits >> 18) & 0x01) != 0)
+ }
+ #[doc = "Bit 19 - Tx Buffer Cancellation Finished 19"]
+ #[inline(always)]
+ pub fn cf19(&self) -> CF19_R {
+ CF19_R::new(((self.bits >> 19) & 0x01) != 0)
+ }
+ #[doc = "Bit 20 - Tx Buffer Cancellation Finished 20"]
+ #[inline(always)]
+ pub fn cf20(&self) -> CF20_R {
+ CF20_R::new(((self.bits >> 20) & 0x01) != 0)
+ }
+ #[doc = "Bit 21 - Tx Buffer Cancellation Finished 21"]
+ #[inline(always)]
+ pub fn cf21(&self) -> CF21_R {
+ CF21_R::new(((self.bits >> 21) & 0x01) != 0)
+ }
+ #[doc = "Bit 22 - Tx Buffer Cancellation Finished 22"]
+ #[inline(always)]
+ pub fn cf22(&self) -> CF22_R {
+ CF22_R::new(((self.bits >> 22) & 0x01) != 0)
+ }
+ #[doc = "Bit 23 - Tx Buffer Cancellation Finished 23"]
+ #[inline(always)]
+ pub fn cf23(&self) -> CF23_R {
+ CF23_R::new(((self.bits >> 23) & 0x01) != 0)
+ }
+ #[doc = "Bit 24 - Tx Buffer Cancellation Finished 24"]
+ #[inline(always)]
+ pub fn cf24(&self) -> CF24_R {
+ CF24_R::new(((self.bits >> 24) & 0x01) != 0)
+ }
+ #[doc = "Bit 25 - Tx Buffer Cancellation Finished 25"]
+ #[inline(always)]
+ pub fn cf25(&self) -> CF25_R {
+ CF25_R::new(((self.bits >> 25) & 0x01) != 0)
+ }
+ #[doc = "Bit 26 - Tx Buffer Cancellation Finished 26"]
+ #[inline(always)]
+ pub fn cf26(&self) -> CF26_R {
+ CF26_R::new(((self.bits >> 26) & 0x01) != 0)
+ }
+ #[doc = "Bit 27 - Tx Buffer Cancellation Finished 27"]
+ #[inline(always)]
+ pub fn cf27(&self) -> CF27_R {
+ CF27_R::new(((self.bits >> 27) & 0x01) != 0)
+ }
+ #[doc = "Bit 28 - Tx Buffer Cancellation Finished 28"]
+ #[inline(always)]
+ pub fn cf28(&self) -> CF28_R {
+ CF28_R::new(((self.bits >> 28) & 0x01) != 0)
+ }
+ #[doc = "Bit 29 - Tx Buffer Cancellation Finished 29"]
+ #[inline(always)]
+ pub fn cf29(&self) -> CF29_R {
+ CF29_R::new(((self.bits >> 29) & 0x01) != 0)
+ }
+ #[doc = "Bit 30 - Tx Buffer Cancellation Finished 30"]
+ #[inline(always)]
+ pub fn cf30(&self) -> CF30_R {
+ CF30_R::new(((self.bits >> 30) & 0x01) != 0)
+ }
+ #[doc = "Bit 31 - Tx Buffer Cancellation Finished 31"]
+ #[inline(always)]
+ pub fn cf31(&self) -> CF31_R {
+ CF31_R::new(((self.bits >> 31) & 0x01) != 0)
+ }
+}
+#[doc = "Tx Buffer Cancellation Finished\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [txbcf](index.html) module"]
+pub struct TXBCF_SPEC;
+impl crate::RegisterSpec for TXBCF_SPEC {
+ type Ux = u32;
+}
+#[doc = "`read()` method returns [txbcf::R](R) reader structure"]
+impl crate::Readable for TXBCF_SPEC {
+ type Reader = R;
+}
+#[doc = "`reset()` method sets TXBCF to value 0"]
+impl crate::Resettable for TXBCF_SPEC {
+ #[inline(always)]
+ fn reset_value() -> Self::Ux {
+ 0
+ }
+}