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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00..0x40 - no description available"]
pub channel: [CHANNEL; 4],
_reserved1: [u8; 0xb4],
#[doc = "0xf4 - Idle channel register. This register returns the number of the first idle channel."]
pub idle_ch: crate::Reg<idle_ch::IDLE_CH_SPEC>,
#[doc = "0xf8 - Global interrupt flag register"]
pub irq_flag: crate::Reg<irq_flag::IRQ_FLAG_SPEC>,
}
#[doc = r"Register block"]
#[repr(C)]
pub struct CHANNEL {
#[doc = "0x00 - MRT Time interval value register. This value is loaded into the TIMER register."]
pub intval: crate::Reg<self::channel::intval::INTVAL_SPEC>,
#[doc = "0x04 - MRT Timer register. This register reads the value of the down-counter."]
pub timer: crate::Reg<self::channel::timer::TIMER_SPEC>,
#[doc = "0x08 - MRT Control register. This register controls the MRT modes."]
pub ctrl: crate::Reg<self::channel::ctrl::CTRL_SPEC>,
#[doc = "0x0c - MRT Status register."]
pub stat: crate::Reg<self::channel::stat::STAT_SPEC>,
}
#[doc = r"Register block"]
#[doc = "no description available"]
pub mod channel;
#[doc = "IDLE_CH register accessor: an alias for `Reg<IDLE_CH_SPEC>`"]
pub type IDLE_CH = crate::Reg<idle_ch::IDLE_CH_SPEC>;
#[doc = "Idle channel register. This register returns the number of the first idle channel."]
pub mod idle_ch;
#[doc = "IRQ_FLAG register accessor: an alias for `Reg<IRQ_FLAG_SPEC>`"]
pub type IRQ_FLAG = crate::Reg<irq_flag::IRQ_FLAG_SPEC>;
#[doc = "Global interrupt flag register"]
pub mod irq_flag;