Struct lpc82x::mrt::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub intval0: INTVAL, pub timer0: TIMER, pub ctrl0: CTRL, pub stat0: STAT, pub intval1: INTVAL, pub timer1: TIMER, pub ctrl1: CTRL, pub stat1: STAT, pub intval2: INTVAL, pub timer2: TIMER, pub ctrl2: CTRL, pub stat2: STAT, pub intval3: INTVAL, pub timer3: TIMER, pub ctrl3: CTRL, pub stat3: STAT, pub idle_ch: IDLE_CH, pub irq_flag: IRQ_FLAG, // some fields omitted }
Register block
Fields
intval0: INTVAL
0x00 - MRT0 Time interval value register. This value is loaded into the TIMER0 register.
timer0: TIMER
0x04 - MRT0 Timer register. This register reads the value of the down-counter.
ctrl0: CTRL
0x08 - MRT0 Control register. This register controls the MRT0 modes.
stat0: STAT
0x0c - MRT0 Status register.
intval1: INTVAL
0x10 - MRT0 Time interval value register. This value is loaded into the TIMER0 register.
timer1: TIMER
0x14 - MRT0 Timer register. This register reads the value of the down-counter.
ctrl1: CTRL
0x18 - MRT0 Control register. This register controls the MRT0 modes.
stat1: STAT
0x1c - MRT0 Status register.
intval2: INTVAL
0x20 - MRT0 Time interval value register. This value is loaded into the TIMER0 register.
timer2: TIMER
0x24 - MRT0 Timer register. This register reads the value of the down-counter.
ctrl2: CTRL
0x28 - MRT0 Control register. This register controls the MRT0 modes.
stat2: STAT
0x2c - MRT0 Status register.
intval3: INTVAL
0x30 - MRT0 Time interval value register. This value is loaded into the TIMER0 register.
timer3: TIMER
0x34 - MRT0 Timer register. This register reads the value of the down-counter.
ctrl3: CTRL
0x38 - MRT0 Control register. This register controls the MRT0 modes.
stat3: STAT
0x3c - MRT0 Status register.
idle_ch: IDLE_CH
0xf4 - Idle channel register. This register returns the number of the first idle channel.
irq_flag: IRQ_FLAG
0xf8 - Global interrupt flag register