1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#[doc = "Register `C1SCR` writer"]
pub struct W(crate::W<C1SCR_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<C1SCR_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<C1SCR_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<C1SCR_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `CH6S` writer - processor 1 Transmit channel 6 status set"]
pub type CH6S_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH5S` writer - processor 1 Transmit channel 5 status set"]
pub type CH5S_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH4S` writer - processor 1 Transmit channel 4 status set"]
pub type CH4S_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH3S` writer - processor 1 Transmit channel 3 status set"]
pub type CH3S_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH2S` writer - processor 1 Transmit channel 2 status set"]
pub type CH2S_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH1S` writer - processor 1 Transmit channel 1 status set"]
pub type CH1S_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH6C` writer - processor 1 Receive channel 6 status clear"]
pub type CH6C_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH5C` writer - processor 1 Receive channel 5 status clear"]
pub type CH5C_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH4C` writer - processor 1 Receive channel 4 status clear"]
pub type CH4C_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH3C` writer - processor 1 Receive channel 3 status clear"]
pub type CH3C_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH2C` writer - processor 1 Receive channel 2 status clear"]
pub type CH2C_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
#[doc = "Field `CH1C` writer - processor 1 Receive channel 1 status clear"]
pub type CH1C_W<'a, const O: u8> = crate::BitWriter<'a, u32, C1SCR_SPEC, bool, O>;
impl W {
    #[doc = "Bit 21 - processor 1 Transmit channel 6 status set"]
    #[inline(always)]
    pub fn ch6s(&mut self) -> CH6S_W<21> {
        CH6S_W::new(self)
    }
    #[doc = "Bit 20 - processor 1 Transmit channel 5 status set"]
    #[inline(always)]
    pub fn ch5s(&mut self) -> CH5S_W<20> {
        CH5S_W::new(self)
    }
    #[doc = "Bit 19 - processor 1 Transmit channel 4 status set"]
    #[inline(always)]
    pub fn ch4s(&mut self) -> CH4S_W<19> {
        CH4S_W::new(self)
    }
    #[doc = "Bit 18 - processor 1 Transmit channel 3 status set"]
    #[inline(always)]
    pub fn ch3s(&mut self) -> CH3S_W<18> {
        CH3S_W::new(self)
    }
    #[doc = "Bit 17 - processor 1 Transmit channel 2 status set"]
    #[inline(always)]
    pub fn ch2s(&mut self) -> CH2S_W<17> {
        CH2S_W::new(self)
    }
    #[doc = "Bit 16 - processor 1 Transmit channel 1 status set"]
    #[inline(always)]
    pub fn ch1s(&mut self) -> CH1S_W<16> {
        CH1S_W::new(self)
    }
    #[doc = "Bit 5 - processor 1 Receive channel 6 status clear"]
    #[inline(always)]
    pub fn ch6c(&mut self) -> CH6C_W<5> {
        CH6C_W::new(self)
    }
    #[doc = "Bit 4 - processor 1 Receive channel 5 status clear"]
    #[inline(always)]
    pub fn ch5c(&mut self) -> CH5C_W<4> {
        CH5C_W::new(self)
    }
    #[doc = "Bit 3 - processor 1 Receive channel 4 status clear"]
    #[inline(always)]
    pub fn ch4c(&mut self) -> CH4C_W<3> {
        CH4C_W::new(self)
    }
    #[doc = "Bit 2 - processor 1 Receive channel 3 status clear"]
    #[inline(always)]
    pub fn ch3c(&mut self) -> CH3C_W<2> {
        CH3C_W::new(self)
    }
    #[doc = "Bit 1 - processor 1 Receive channel 2 status clear"]
    #[inline(always)]
    pub fn ch2c(&mut self) -> CH2C_W<1> {
        CH2C_W::new(self)
    }
    #[doc = "Bit 0 - processor 1 Receive channel 1 status clear"]
    #[inline(always)]
    pub fn ch1c(&mut self) -> CH1C_W<0> {
        CH1C_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 = "Status Set or Clear register CPU1\n\nThis register you can [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [c1scr](index.html) module"]
pub struct C1SCR_SPEC;
impl crate::RegisterSpec for C1SCR_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [c1scr::W](W) writer structure"]
impl crate::Writable for C1SCR_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets C1SCR to value 0"]
impl crate::Resettable for C1SCR_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}