stm32wb_pac/ipcc/
c1to2sr.rs1#[doc = "Reader of register C1TO2SR"]
2pub type R = crate::R<u32, super::C1TO2SR>;
3#[doc = "Reader of field `CH6F`"]
4pub type CH6F_R = crate::R<bool, bool>;
5#[doc = "Reader of field `CH5F`"]
6pub type CH5F_R = crate::R<bool, bool>;
7#[doc = "Reader of field `CH4F`"]
8pub type CH4F_R = crate::R<bool, bool>;
9#[doc = "Reader of field `CH3F`"]
10pub type CH3F_R = crate::R<bool, bool>;
11#[doc = "Reader of field `CH2F`"]
12pub type CH2F_R = crate::R<bool, bool>;
13#[doc = "Reader of field `CH1F`"]
14pub type CH1F_R = crate::R<bool, bool>;
15impl R {
16 #[doc = "Bit 5 - processor 1 transmit to process 2 Receive channel 6 status flag"]
17 #[inline(always)]
18 pub fn ch6f(&self) -> CH6F_R {
19 CH6F_R::new(((self.bits >> 5) & 0x01) != 0)
20 }
21 #[doc = "Bit 4 - processor 1 transmit to process 2 Receive channel 5 status flag"]
22 #[inline(always)]
23 pub fn ch5f(&self) -> CH5F_R {
24 CH5F_R::new(((self.bits >> 4) & 0x01) != 0)
25 }
26 #[doc = "Bit 3 - processor 1 transmit to process 2 Receive channel 4 status flag"]
27 #[inline(always)]
28 pub fn ch4f(&self) -> CH4F_R {
29 CH4F_R::new(((self.bits >> 3) & 0x01) != 0)
30 }
31 #[doc = "Bit 2 - processor 1 transmit to process 2 Receive channel 3 status flag"]
32 #[inline(always)]
33 pub fn ch3f(&self) -> CH3F_R {
34 CH3F_R::new(((self.bits >> 2) & 0x01) != 0)
35 }
36 #[doc = "Bit 1 - processor 1 transmit to process 2 Receive channel 2 status flag"]
37 #[inline(always)]
38 pub fn ch2f(&self) -> CH2F_R {
39 CH2F_R::new(((self.bits >> 1) & 0x01) != 0)
40 }
41 #[doc = "Bit 0 - processor 1 transmit to process 2 Receive channel 1 status flag"]
42 #[inline(always)]
43 pub fn ch1f(&self) -> CH1F_R {
44 CH1F_R::new((self.bits & 0x01) != 0)
45 }
46}