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
#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
    sm_p_start_adr: SM_P_START_ADR,
    sm_len: SM_LEN,
    sm_control: SM_CONTROL,
    sm_status: SM_STATUS,
    sm_act: SM_ACT,
    sm_pdi_ctr: SM_PDI_CTR,
}
impl RegisterBlock {
    #[doc = "0x00 - Physical Start Address SyncManager 0"]
    #[inline(always)]
    pub const fn sm_p_start_adr(&self) -> &SM_P_START_ADR {
        &self.sm_p_start_adr
    }
    #[doc = "0x02 - Length SyncManager 0"]
    #[inline(always)]
    pub const fn sm_len(&self) -> &SM_LEN {
        &self.sm_len
    }
    #[doc = "0x04 - Control Register SyncManager 0"]
    #[inline(always)]
    pub const fn sm_control(&self) -> &SM_CONTROL {
        &self.sm_control
    }
    #[doc = "0x05 - Status Register SyncManager 0"]
    #[inline(always)]
    pub const fn sm_status(&self) -> &SM_STATUS {
        &self.sm_status
    }
    #[doc = "0x06 - Activate SyncManager 0"]
    #[inline(always)]
    pub const fn sm_act(&self) -> &SM_ACT {
        &self.sm_act
    }
    #[doc = "0x07 - PDI Control SyncManager 0"]
    #[inline(always)]
    pub const fn sm_pdi_ctr(&self) -> &SM_PDI_CTR {
        &self.sm_pdi_ctr
    }
}
#[doc = "SM_P_START_ADR (r) register accessor: Physical Start Address SyncManager 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sm_p_start_adr::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sm_p_start_adr`]
module"]
pub type SM_P_START_ADR = crate::Reg<sm_p_start_adr::SM_P_START_ADR_SPEC>;
#[doc = "Physical Start Address SyncManager 0"]
pub mod sm_p_start_adr;
#[doc = "SM_LEN (r) register accessor: Length SyncManager 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sm_len::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sm_len`]
module"]
pub type SM_LEN = crate::Reg<sm_len::SM_LEN_SPEC>;
#[doc = "Length SyncManager 0"]
pub mod sm_len;
#[doc = "SM_CONTROL (r) register accessor: Control Register SyncManager 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sm_control::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sm_control`]
module"]
pub type SM_CONTROL = crate::Reg<sm_control::SM_CONTROL_SPEC>;
#[doc = "Control Register SyncManager 0"]
pub mod sm_control;
#[doc = "SM_STATUS (r) register accessor: Status Register SyncManager 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sm_status::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sm_status`]
module"]
pub type SM_STATUS = crate::Reg<sm_status::SM_STATUS_SPEC>;
#[doc = "Status Register SyncManager 0"]
pub mod sm_status;
#[doc = "SM_ACT (r) register accessor: Activate SyncManager 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sm_act::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sm_act`]
module"]
pub type SM_ACT = crate::Reg<sm_act::SM_ACT_SPEC>;
#[doc = "Activate SyncManager 0"]
pub mod sm_act;
#[doc = "SM_PDI_CTR (rw) register accessor: PDI Control SyncManager 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sm_pdi_ctr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`sm_pdi_ctr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sm_pdi_ctr`]
module"]
pub type SM_PDI_CTR = crate::Reg<sm_pdi_ctr::SM_PDI_CTR_SPEC>;
#[doc = "PDI Control SyncManager 0"]
pub mod sm_pdi_ctr;