cyt4dn_b 0.0.1

Peripheral access crate for cyt4dn_b T2G family
Documentation
#[doc = r"Register block"]
#[repr(C)]
pub struct CH_STRUCT {
    #[doc = "0x00 - Channel control"]
    pub ch_ctl: CH_CTL,
    #[doc = "0x04 - Channel status"]
    pub ch_status: CH_STATUS,
    #[doc = "0x08 - Channel current indices"]
    pub ch_idx: CH_IDX,
    #[doc = "0x0c - Channel current descriptor pointer"]
    pub ch_curr_ptr: CH_CURR_PTR,
    #[doc = "0x10 - Interrupt"]
    pub intr: INTR,
    #[doc = "0x14 - Interrupt set"]
    pub intr_set: INTR_SET,
    #[doc = "0x18 - Interrupt mask"]
    pub intr_mask: INTR_MASK,
    #[doc = "0x1c - Interrupt masked"]
    pub intr_masked: INTR_MASKED,
    #[doc = "0x20 - SRAM data 0"]
    pub sram_data0: SRAM_DATA0,
    #[doc = "0x24 - SRAM data 1"]
    pub sram_data1: SRAM_DATA1,
    #[doc = "0x28 - Channel software trigger"]
    pub tr_cmd: TR_CMD,
}
#[doc = "CH_CTL (rw) register accessor: an alias for `Reg<CH_CTL_SPEC>`"]
pub type CH_CTL = crate::Reg<ch_ctl::CH_CTL_SPEC>;
#[doc = "Channel control"]
pub mod ch_ctl;
#[doc = "CH_STATUS (r) register accessor: an alias for `Reg<CH_STATUS_SPEC>`"]
pub type CH_STATUS = crate::Reg<ch_status::CH_STATUS_SPEC>;
#[doc = "Channel status"]
pub mod ch_status;
#[doc = "CH_IDX (rw) register accessor: an alias for `Reg<CH_IDX_SPEC>`"]
pub type CH_IDX = crate::Reg<ch_idx::CH_IDX_SPEC>;
#[doc = "Channel current indices"]
pub mod ch_idx;
#[doc = "CH_CURR_PTR (rw) register accessor: an alias for `Reg<CH_CURR_PTR_SPEC>`"]
pub type CH_CURR_PTR = crate::Reg<ch_curr_ptr::CH_CURR_PTR_SPEC>;
#[doc = "Channel current descriptor pointer"]
pub mod ch_curr_ptr;
#[doc = "INTR (rw) register accessor: an alias for `Reg<INTR_SPEC>`"]
pub type INTR = crate::Reg<intr::INTR_SPEC>;
#[doc = "Interrupt"]
pub mod intr;
#[doc = "INTR_SET (rw) register accessor: an alias for `Reg<INTR_SET_SPEC>`"]
pub type INTR_SET = crate::Reg<intr_set::INTR_SET_SPEC>;
#[doc = "Interrupt set"]
pub mod intr_set;
#[doc = "INTR_MASK (rw) register accessor: an alias for `Reg<INTR_MASK_SPEC>`"]
pub type INTR_MASK = crate::Reg<intr_mask::INTR_MASK_SPEC>;
#[doc = "Interrupt mask"]
pub mod intr_mask;
#[doc = "INTR_MASKED (r) register accessor: an alias for `Reg<INTR_MASKED_SPEC>`"]
pub type INTR_MASKED = crate::Reg<intr_masked::INTR_MASKED_SPEC>;
#[doc = "Interrupt masked"]
pub mod intr_masked;
#[doc = "SRAM_DATA0 (rw) register accessor: an alias for `Reg<SRAM_DATA0_SPEC>`"]
pub type SRAM_DATA0 = crate::Reg<sram_data0::SRAM_DATA0_SPEC>;
#[doc = "SRAM data 0"]
pub mod sram_data0;
#[doc = "SRAM_DATA1 (rw) register accessor: an alias for `Reg<SRAM_DATA1_SPEC>`"]
pub type SRAM_DATA1 = crate::Reg<sram_data1::SRAM_DATA1_SPEC>;
#[doc = "SRAM data 1"]
pub mod sram_data1;
#[doc = "TR_CMD (rw) register accessor: an alias for `Reg<TR_CMD_SPEC>`"]
pub type TR_CMD = crate::Reg<tr_cmd::TR_CMD_SPEC>;
#[doc = "Channel software trigger"]
pub mod tr_cmd;