lpc845_pac/
mrt0.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00..0x40 - no description available"]
5    pub channel: [CHANNEL; 4],
6    _reserved1: [u8; 0xb4],
7    #[doc = "0xf4 - Idle channel register. This register returns the number of the first idle channel."]
8    pub idle_ch: crate::Reg<idle_ch::IDLE_CH_SPEC>,
9    #[doc = "0xf8 - Global interrupt flag register"]
10    pub irq_flag: crate::Reg<irq_flag::IRQ_FLAG_SPEC>,
11}
12#[doc = r"Register block"]
13#[repr(C)]
14pub struct CHANNEL {
15    #[doc = "0x00 - MRT Time interval value register. This value is loaded into the TIMER register."]
16    pub intval: crate::Reg<self::channel::intval::INTVAL_SPEC>,
17    #[doc = "0x04 - MRT Timer register. This register reads the value of the down-counter."]
18    pub timer: crate::Reg<self::channel::timer::TIMER_SPEC>,
19    #[doc = "0x08 - MRT Control register. This register controls the MRT modes."]
20    pub ctrl: crate::Reg<self::channel::ctrl::CTRL_SPEC>,
21    #[doc = "0x0c - MRT Status register."]
22    pub stat: crate::Reg<self::channel::stat::STAT_SPEC>,
23}
24#[doc = r"Register block"]
25#[doc = "no description available"]
26pub mod channel;
27#[doc = "IDLE_CH register accessor: an alias for `Reg<IDLE_CH_SPEC>`"]
28pub type IDLE_CH = crate::Reg<idle_ch::IDLE_CH_SPEC>;
29#[doc = "Idle channel register. This register returns the number of the first idle channel."]
30pub mod idle_ch;
31#[doc = "IRQ_FLAG register accessor: an alias for `Reg<IRQ_FLAG_SPEC>`"]
32pub type IRQ_FLAG = crate::Reg<irq_flag::IRQ_FLAG_SPEC>;
33#[doc = "Global interrupt flag register"]
34pub mod irq_flag;