CHANNEL_INTVAL - Time Interval Value | |
| #define | MRT_CHANNEL_INTVAL_IVALUE_MASK |
| #define | MRT_CHANNEL_INTVAL_IVALUE_SHIFT |
| #define | MRT_CHANNEL_INTVAL_IVALUE(x) |
| #define | MRT_CHANNEL_INTVAL_LOAD_MASK |
| #define | MRT_CHANNEL_INTVAL_LOAD_SHIFT |
| #define | MRT_CHANNEL_INTVAL_LOAD(x) |
| #define | MRT_CHANNEL_INTVAL_IVALUE_MASK |
| #define | MRT_CHANNEL_INTVAL_IVALUE_SHIFT |
| #define | MRT_CHANNEL_INTVAL_IVALUE(x) |
| #define | MRT_CHANNEL_INTVAL_LOAD_MASK |
| #define | MRT_CHANNEL_INTVAL_LOAD_SHIFT |
| #define | MRT_CHANNEL_INTVAL_LOAD(x) |
| #define | MRT_CHANNEL_INTVAL_IVALUE_MASK |
| #define | MRT_CHANNEL_INTVAL_IVALUE_SHIFT |
| #define | MRT_CHANNEL_INTVAL_IVALUE(x) |
| #define | MRT_CHANNEL_INTVAL_LOAD_MASK |
| #define | MRT_CHANNEL_INTVAL_LOAD_SHIFT |
| #define | MRT_CHANNEL_INTVAL_LOAD(x) |
| #define | MRT_CHANNEL_INTVAL_IVALUE_MASK |
| #define | MRT_CHANNEL_INTVAL_IVALUE_SHIFT |
| #define | MRT_CHANNEL_INTVAL_IVALUE(x) |
| #define | MRT_CHANNEL_INTVAL_LOAD_MASK |
| #define | MRT_CHANNEL_INTVAL_LOAD_SHIFT |
| #define | MRT_CHANNEL_INTVAL_LOAD(x) |
CHANNEL_TIMER - Timer | |
| #define | MRT_CHANNEL_TIMER_VALUE_MASK |
| #define | MRT_CHANNEL_TIMER_VALUE_SHIFT |
| #define | MRT_CHANNEL_TIMER_VALUE(x) |
| #define | MRT_CHANNEL_TIMER_VALUE_MASK |
| #define | MRT_CHANNEL_TIMER_VALUE_SHIFT |
| #define | MRT_CHANNEL_TIMER_VALUE(x) |
| #define | MRT_CHANNEL_TIMER_VALUE_MASK |
| #define | MRT_CHANNEL_TIMER_VALUE_SHIFT |
| #define | MRT_CHANNEL_TIMER_VALUE(x) |
| #define | MRT_CHANNEL_TIMER_VALUE_MASK |
| #define | MRT_CHANNEL_TIMER_VALUE_SHIFT |
| #define | MRT_CHANNEL_TIMER_VALUE(x) |
CHANNEL_CTRL - Control | |
| #define | MRT_CHANNEL_CTRL_INTEN_MASK |
| #define | MRT_CHANNEL_CTRL_INTEN_SHIFT |
| #define | MRT_CHANNEL_CTRL_INTEN(x) |
| #define | MRT_CHANNEL_CTRL_MODE_MASK |
| #define | MRT_CHANNEL_CTRL_MODE_SHIFT |
| #define | MRT_CHANNEL_CTRL_MODE(x) |
| #define | MRT_CHANNEL_CTRL_INTEN_MASK |
| #define | MRT_CHANNEL_CTRL_INTEN_SHIFT |
| #define | MRT_CHANNEL_CTRL_INTEN(x) |
| #define | MRT_CHANNEL_CTRL_MODE_MASK |
| #define | MRT_CHANNEL_CTRL_MODE_SHIFT |
| #define | MRT_CHANNEL_CTRL_MODE(x) |
| #define | MRT_CHANNEL_CTRL_INTEN_MASK |
| #define | MRT_CHANNEL_CTRL_INTEN_SHIFT |
| #define | MRT_CHANNEL_CTRL_INTEN(x) |
| #define | MRT_CHANNEL_CTRL_MODE_MASK |
| #define | MRT_CHANNEL_CTRL_MODE_SHIFT |
| #define | MRT_CHANNEL_CTRL_MODE(x) |
| #define | MRT_CHANNEL_CTRL_INTEN_MASK |
| #define | MRT_CHANNEL_CTRL_INTEN_SHIFT |
| #define | MRT_CHANNEL_CTRL_INTEN(x) |
| #define | MRT_CHANNEL_CTRL_MODE_MASK |
| #define | MRT_CHANNEL_CTRL_MODE_SHIFT |
| #define | MRT_CHANNEL_CTRL_MODE(x) |
CHANNEL_STAT - Status | |
| #define | MRT_CHANNEL_STAT_INTFLAG_MASK |
| #define | MRT_CHANNEL_STAT_INTFLAG_SHIFT |
| #define | MRT_CHANNEL_STAT_INTFLAG(x) |
| #define | MRT_CHANNEL_STAT_RUN_MASK |
| #define | MRT_CHANNEL_STAT_RUN_SHIFT |
| #define | MRT_CHANNEL_STAT_RUN(x) |
| #define | MRT_CHANNEL_STAT_INUSE_MASK |
| #define | MRT_CHANNEL_STAT_INUSE_SHIFT |
| #define | MRT_CHANNEL_STAT_INUSE(x) |
| #define | MRT_CHANNEL_STAT_INTFLAG_MASK |
| #define | MRT_CHANNEL_STAT_INTFLAG_SHIFT |
| #define | MRT_CHANNEL_STAT_INTFLAG(x) |
| #define | MRT_CHANNEL_STAT_RUN_MASK |
| #define | MRT_CHANNEL_STAT_RUN_SHIFT |
| #define | MRT_CHANNEL_STAT_RUN(x) |
| #define | MRT_CHANNEL_STAT_INUSE_MASK |
| #define | MRT_CHANNEL_STAT_INUSE_SHIFT |
| #define | MRT_CHANNEL_STAT_INUSE(x) |
| #define | MRT_CHANNEL_STAT_INTFLAG_MASK |
| #define | MRT_CHANNEL_STAT_INTFLAG_SHIFT |
| #define | MRT_CHANNEL_STAT_INTFLAG(x) |
| #define | MRT_CHANNEL_STAT_RUN_MASK |
| #define | MRT_CHANNEL_STAT_RUN_SHIFT |
| #define | MRT_CHANNEL_STAT_RUN(x) |
| #define | MRT_CHANNEL_STAT_INUSE_MASK |
| #define | MRT_CHANNEL_STAT_INUSE_SHIFT |
| #define | MRT_CHANNEL_STAT_INUSE(x) |
| #define | MRT_CHANNEL_STAT_INTFLAG_MASK |
| #define | MRT_CHANNEL_STAT_INTFLAG_SHIFT |
| #define | MRT_CHANNEL_STAT_INTFLAG(x) |
| #define | MRT_CHANNEL_STAT_RUN_MASK |
| #define | MRT_CHANNEL_STAT_RUN_SHIFT |
| #define | MRT_CHANNEL_STAT_RUN(x) |
| #define | MRT_CHANNEL_STAT_INUSE_MASK |
| #define | MRT_CHANNEL_STAT_INUSE_SHIFT |
| #define | MRT_CHANNEL_STAT_INUSE(x) |
MODCFG - Module Configuration | |
| #define | MRT_MODCFG_NOC_MASK |
| #define | MRT_MODCFG_NOC_SHIFT |
| #define | MRT_MODCFG_NOC(x) |
| #define | MRT_MODCFG_NOB_MASK |
| #define | MRT_MODCFG_NOB_SHIFT |
| #define | MRT_MODCFG_NOB(x) |
| #define | MRT_MODCFG_MULTITASK_MASK |
| #define | MRT_MODCFG_MULTITASK_SHIFT |
| #define | MRT_MODCFG_MULTITASK(x) |
| #define | MRT_MODCFG_NOC_MASK |
| #define | MRT_MODCFG_NOC_SHIFT |
| #define | MRT_MODCFG_NOC(x) |
| #define | MRT_MODCFG_NOB_MASK |
| #define | MRT_MODCFG_NOB_SHIFT |
| #define | MRT_MODCFG_NOB(x) |
| #define | MRT_MODCFG_MULTITASK_MASK |
| #define | MRT_MODCFG_MULTITASK_SHIFT |
| #define | MRT_MODCFG_MULTITASK(x) |
| #define | MRT_MODCFG_NOC_MASK |
| #define | MRT_MODCFG_NOC_SHIFT |
| #define | MRT_MODCFG_NOC(x) |
| #define | MRT_MODCFG_NOB_MASK |
| #define | MRT_MODCFG_NOB_SHIFT |
| #define | MRT_MODCFG_NOB(x) |
| #define | MRT_MODCFG_MULTITASK_MASK |
| #define | MRT_MODCFG_MULTITASK_SHIFT |
| #define | MRT_MODCFG_MULTITASK(x) |
| #define | MRT_MODCFG_NOC_MASK |
| #define | MRT_MODCFG_NOC_SHIFT |
| #define | MRT_MODCFG_NOC(x) |
| #define | MRT_MODCFG_NOB_MASK |
| #define | MRT_MODCFG_NOB_SHIFT |
| #define | MRT_MODCFG_NOB(x) |
| #define | MRT_MODCFG_MULTITASK_MASK |
| #define | MRT_MODCFG_MULTITASK_SHIFT |
| #define | MRT_MODCFG_MULTITASK(x) |
IDLE_CH - Idle Channel | |
| #define | MRT_IDLE_CH_CHAN_MASK |
| #define | MRT_IDLE_CH_CHAN_SHIFT |
| #define | MRT_IDLE_CH_CHAN(x) |
| #define | MRT_IDLE_CH_CHAN_MASK |
| #define | MRT_IDLE_CH_CHAN_SHIFT |
| #define | MRT_IDLE_CH_CHAN(x) |
| #define | MRT_IDLE_CH_CHAN_MASK |
| #define | MRT_IDLE_CH_CHAN_SHIFT |
| #define | MRT_IDLE_CH_CHAN(x) |
| #define | MRT_IDLE_CH_CHAN_MASK |
| #define | MRT_IDLE_CH_CHAN_SHIFT |
| #define | MRT_IDLE_CH_CHAN(x) |
IRQ_FLAG - Global Interrupt Flag | |
| #define | MRT_IRQ_FLAG_GFLAG0_MASK |
| #define | MRT_IRQ_FLAG_GFLAG0_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG0(x) |
| #define | MRT_IRQ_FLAG_GFLAG1_MASK |
| #define | MRT_IRQ_FLAG_GFLAG1_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG1(x) |
| #define | MRT_IRQ_FLAG_GFLAG2_MASK |
| #define | MRT_IRQ_FLAG_GFLAG2_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG2(x) |
| #define | MRT_IRQ_FLAG_GFLAG3_MASK |
| #define | MRT_IRQ_FLAG_GFLAG3_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG3(x) |
| #define | MRT_IRQ_FLAG_GFLAG0_MASK |
| #define | MRT_IRQ_FLAG_GFLAG0_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG0(x) |
| #define | MRT_IRQ_FLAG_GFLAG1_MASK |
| #define | MRT_IRQ_FLAG_GFLAG1_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG1(x) |
| #define | MRT_IRQ_FLAG_GFLAG2_MASK |
| #define | MRT_IRQ_FLAG_GFLAG2_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG2(x) |
| #define | MRT_IRQ_FLAG_GFLAG3_MASK |
| #define | MRT_IRQ_FLAG_GFLAG3_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG3(x) |
| #define | MRT_IRQ_FLAG_GFLAG0_MASK |
| #define | MRT_IRQ_FLAG_GFLAG0_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG0(x) |
| #define | MRT_IRQ_FLAG_GFLAG1_MASK |
| #define | MRT_IRQ_FLAG_GFLAG1_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG1(x) |
| #define | MRT_IRQ_FLAG_GFLAG2_MASK |
| #define | MRT_IRQ_FLAG_GFLAG2_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG2(x) |
| #define | MRT_IRQ_FLAG_GFLAG3_MASK |
| #define | MRT_IRQ_FLAG_GFLAG3_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG3(x) |
| #define | MRT_IRQ_FLAG_GFLAG0_MASK |
| #define | MRT_IRQ_FLAG_GFLAG0_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG0(x) |
| #define | MRT_IRQ_FLAG_GFLAG1_MASK |
| #define | MRT_IRQ_FLAG_GFLAG1_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG1(x) |
| #define | MRT_IRQ_FLAG_GFLAG2_MASK |
| #define | MRT_IRQ_FLAG_GFLAG2_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG2(x) |
| #define | MRT_IRQ_FLAG_GFLAG3_MASK |
| #define | MRT_IRQ_FLAG_GFLAG3_SHIFT |
| #define | MRT_IRQ_FLAG_GFLAG3(x) |
ID_CODE - Multi-Rate Timer ID code | |
| #define | MRT_ID_CODE_ID_CODE_MASK |
| #define | MRT_ID_CODE_ID_CODE_SHIFT |
| #define | MRT_ID_CODE_ID_CODE(x) |
| #define MRT_CHANNEL_INTVAL_IVALUE | ( | x | ) |
IVALUE - Time interval load value.
IVALUE - Time Interval Load Value.
| #define MRT_CHANNEL_INTVAL_LOAD | ( | x | ) |
LOAD - Determines how the timer interval value (IVALUE -1) is loaded into the TIMER n register. 0b0..No force load. 0b1..Force load. T
LOAD - Force Load Enable 0b0..No force load 0b1..Force load
| #define MRT_CHANNEL_TIMER_VALUE | ( | x | ) |
VALUE - Holds the current timer value of the down-counter.
VALUE - Current Timer Value
| #define MRT_CHANNEL_CTRL_INTEN | ( | x | ) |
INTEN - Enable the TIMER n interrupt. 0b0..Disabled. TIMER n interrupt is disabled. 0b1..Enabled. TIMER n interrupt is enabled.
INTEN - Interrupt request 0b0..Disabled 0b1..Enabled
| #define MRT_CHANNEL_CTRL_MODE | ( | x | ) |
MODE - Selects the timer mode 0b00..Repeat interrupt mode 0b01..One-shot interrupt mode 0b10..One-shot stall mode 0b11..Reserved
MODE - MRT Operating mode 0b00..Repeat Interrupt mode 0b01..One-Shot Interrupt mode 0b10..One-Shot Stall mode 0b11..Reserved
| #define MRT_CHANNEL_STAT_INTFLAG | ( | x | ) |
INTFLAG - Monitors the interrupt flag 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt.
INTFLAG - Monitors the interrupt flag. Writing 0 indicates no pending interrupt or no operation. Writing 1 indicates pending interrupt, because TIMERn has reached the end of the time interval. If CTRL and the global interrupt are generated. Writing 1 to this field bit clears the interrupt request.n in the CONTROLn also gets 1, then the interrupt for timer channel n 0b0..No pending interrupt. 0b1..Pending interrupt.
INTFLAG - Interrupt Flag 0b0..No pending interrupt. 0b1..Pending interrupt.
| #define MRT_CHANNEL_STAT_RUN | ( | x | ) |
RUN - Indicates the state of TIMER n. RUN bit is read-only. 0b0..Idle state. TIMER n has stopped. 0b1..Running. TIMER n is running.
RUN - Timer n State 0b0..Idle state. 0b1..Running.
RUN - Indicates the state of TIMER n . RUN bit is read-only. 0b0..Idle state. TIMER n has stopped. 0b1..Running. TIMER n is running.
| #define MRT_CHANNEL_STAT_INUSE | ( | x | ) |
INUSE - Channel-In-Use flag 0b0..This timer channel is not in use. 0b1..This timer channel is in use. Writing a 1 to this bit clears the status.
INUSE - Channel-In-Use flag 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
INUSE - Channel-In-Use flag. Operating details depend on the operating mode bit (MODCFG.MULTITASK), and affects the use of the Idle Channel register (IDLE_CH). 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
| #define MRT_MODCFG_NOC | ( | x | ) |
NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)
NOC - Number of Channels
| #define MRT_MODCFG_NOB | ( | x | ) |
NOB - Number Of Bits: identifies the number of timer bits in this MRT. (24 bits on this device)
NOB - Number of Bits
| #define MRT_MODCFG_MULTITASK | ( | x | ) |
MULTITASK - Selects the operating mode for the INUSE flags and the IDLE_CH register. 0b0..Hardware status mode. In this mode, the INUSE(n) flags for all channels are reset. 0b1..Multi-task mode
MULTITASK - MULTITASK 0b0..Hardware status mode. 0b1..Multitask mode
| #define MRT_IDLE_CH_CHAN | ( | x | ) |
CHAN - Idle channel.
CHAN - Idle Channel
CHAN - Idle channel. Reading the CHAN bits, returns the lowest idle timer channel. The number is positioned so that it can be used as an offset from the MRT base address, to access the registers for the allocated channel. If all timer channels are running, then CHAN = 0xF.
| #define MRT_IRQ_FLAG_GFLAG0 | ( | x | ) |
GFLAG0 - Monitors the interrupt flag of TIMER0. 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt
GFLAG0 - Interrupt Flag 0b0..No pending interrupt. 0b1..Pending interrupt
GFLAG0 - Monitors the interrupt flag of TIMER0. 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt. The interrupt is pending because TIMER0 has reached the end of the time interval. If the INTEN bit in the CONTROL0 register is also set to 1, then the interrupt for timer channel 0 and the global interrupt are generated. Writing a 1 to GFLAG0 bit clears the interrupt request.
| #define MRT_IRQ_FLAG_GFLAG1 | ( | x | ) |
GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.
GFLAG1 - Interrupt Flag
| #define MRT_IRQ_FLAG_GFLAG2 | ( | x | ) |
GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.
GFLAG2 - Interrupt Flag
| #define MRT_IRQ_FLAG_GFLAG3 | ( | x | ) |
GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.
GFLAG3 - Interrupt Flag
| #define MRT_CHANNEL_INTVAL_IVALUE | ( | x | ) |
IVALUE - Time Interval Load Value.
IVALUE - Time interval load value.
| #define MRT_CHANNEL_INTVAL_LOAD | ( | x | ) |
LOAD - Force Load Enable 0b0..No force load 0b1..Force load
LOAD - Determines how the timer interval value (IVALUE -1) is loaded into the TIMER n register. 0b0..No force load. 0b1..Force load. T
| #define MRT_CHANNEL_TIMER_VALUE | ( | x | ) |
VALUE - Current Timer Value
VALUE - Holds the current timer value of the down-counter.
| #define MRT_CHANNEL_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt request 0b0..Disabled 0b1..Enabled
INTEN - Enable the TIMER n interrupt. 0b0..Disabled. TIMER n interrupt is disabled. 0b1..Enabled. TIMER n interrupt is enabled.
| #define MRT_CHANNEL_CTRL_MODE | ( | x | ) |
MODE - MRT Operating mode 0b00..Repeat Interrupt mode 0b01..One-Shot Interrupt mode 0b10..One-Shot Stall mode 0b11..Reserved
MODE - Selects the timer mode 0b00..Repeat interrupt mode 0b01..One-shot interrupt mode 0b10..One-shot stall mode 0b11..Reserved
| #define MRT_CHANNEL_STAT_INTFLAG | ( | x | ) |
INTFLAG - Monitors the interrupt flag. Writing 0 indicates no pending interrupt or no operation. Writing 1 indicates pending interrupt, because TIMERn has reached the end of the time interval. If CTRL and the global interrupt are generated. Writing 1 to this field bit clears the interrupt request.n in the CONTROLn also gets 1, then the interrupt for timer channel n 0b0..No pending interrupt. 0b1..Pending interrupt.
INTFLAG - Interrupt Flag 0b0..No pending interrupt. 0b1..Pending interrupt.
INTFLAG - Monitors the interrupt flag 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt.
| #define MRT_CHANNEL_STAT_RUN | ( | x | ) |
RUN - Timer n State 0b0..Idle state. 0b1..Running.
RUN - Indicates the state of TIMER n . RUN bit is read-only. 0b0..Idle state. TIMER n has stopped. 0b1..Running. TIMER n is running.
| #define MRT_CHANNEL_STAT_INUSE | ( | x | ) |
INUSE - Channel-In-Use flag 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
INUSE - Channel-In-Use flag. Operating details depend on the operating mode bit (MODCFG.MULTITASK), and affects the use of the Idle Channel register (IDLE_CH). 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
| #define MRT_MODCFG_NOC | ( | x | ) |
NOC - Number of Channels
NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)
| #define MRT_MODCFG_NOB | ( | x | ) |
NOB - Number of Bits
NOB - Number Of Bits: identifies the number of timer bits in this MRT. (24 bits on this device)
| #define MRT_MODCFG_MULTITASK | ( | x | ) |
MULTITASK - MULTITASK 0b0..Hardware status mode. 0b1..Multitask mode
MULTITASK - Selects the operating mode for the INUSE flags and the IDLE_CH register. 0b0..Hardware status mode. In this mode, the INUSE(n) flags for all channels are reset. 0b1..Multi-task mode
| #define MRT_IDLE_CH_CHAN | ( | x | ) |
CHAN - Idle Channel
CHAN - Idle channel. Reading the CHAN bits, returns the lowest idle timer channel. The number is positioned so that it can be used as an offset from the MRT base address, to access the registers for the allocated channel. If all timer channels are running, then CHAN = 0xF.
| #define MRT_IRQ_FLAG_GFLAG0 | ( | x | ) |
GFLAG0 - Interrupt Flag 0b0..No pending interrupt. 0b1..Pending interrupt
GFLAG0 - Monitors the interrupt flag of TIMER0. 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt. The interrupt is pending because TIMER0 has reached the end of the time interval. If the INTEN bit in the CONTROL0 register is also set to 1, then the interrupt for timer channel 0 and the global interrupt are generated. Writing a 1 to GFLAG0 bit clears the interrupt request.
| #define MRT_IRQ_FLAG_GFLAG1 | ( | x | ) |
GFLAG1 - Interrupt Flag
GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.
| #define MRT_IRQ_FLAG_GFLAG2 | ( | x | ) |
GFLAG2 - Interrupt Flag
GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.
| #define MRT_IRQ_FLAG_GFLAG3 | ( | x | ) |
GFLAG3 - Interrupt Flag
GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.
| #define MRT_CHANNEL_INTVAL_IVALUE | ( | x | ) |
IVALUE - Time Interval Load Value.
IVALUE - Time interval load value.
| #define MRT_CHANNEL_INTVAL_LOAD | ( | x | ) |
LOAD - Force Load Enable 0b0..No force load 0b1..Force load
LOAD - Determines how the timer interval value (IVALUE -1) is loaded into the TIMER n register. 0b0..No force load. 0b1..Force load. T
| #define MRT_CHANNEL_TIMER_VALUE | ( | x | ) |
VALUE - Current Timer Value
VALUE - Holds the current timer value of the down-counter.
| #define MRT_CHANNEL_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt request 0b0..Disabled 0b1..Enabled
INTEN - Enable the TIMER n interrupt. 0b0..Disabled. TIMER n interrupt is disabled. 0b1..Enabled. TIMER n interrupt is enabled.
| #define MRT_CHANNEL_CTRL_MODE | ( | x | ) |
MODE - MRT Operating mode 0b00..Repeat Interrupt mode 0b01..One-Shot Interrupt mode 0b10..One-Shot Stall mode 0b11..Reserved
MODE - Selects the timer mode 0b00..Repeat interrupt mode 0b01..One-shot interrupt mode 0b10..One-shot stall mode 0b11..Reserved
| #define MRT_CHANNEL_STAT_INTFLAG | ( | x | ) |
INTFLAG - Interrupt Flag 0b0..No pending interrupt. 0b1..Pending interrupt.
INTFLAG - Monitors the interrupt flag 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt.
| #define MRT_CHANNEL_STAT_RUN | ( | x | ) |
RUN - Timer n State 0b0..Idle state. 0b1..Running.
RUN - Indicates the state of TIMER n . RUN bit is read-only. 0b0..Idle state. TIMER n has stopped. 0b1..Running. TIMER n is running.
| #define MRT_CHANNEL_STAT_INUSE | ( | x | ) |
INUSE - Channel-In-Use flag 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
INUSE - Channel-In-Use flag. Operating details depend on the operating mode bit (MODCFG.MULTITASK), and affects the use of the Idle Channel register (IDLE_CH). 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
| #define MRT_MODCFG_NOC | ( | x | ) |
NOC - Number of Channels
NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)
| #define MRT_MODCFG_NOB | ( | x | ) |
NOB - Number of Bits
NOB - Number Of Bits: identifies the number of timer bits in this MRT. (24 bits on this device)
| #define MRT_MODCFG_MULTITASK | ( | x | ) |
MULTITASK - MULTITASK 0b0..Hardware status mode. 0b1..Multitask mode
MULTITASK - Selects the operating mode for the INUSE flags and the IDLE_CH register. 0b0..Hardware status mode. In this mode, the INUSE(n) flags for all channels are reset. 0b1..Multi-task mode
| #define MRT_IDLE_CH_CHAN | ( | x | ) |
CHAN - Idle Channel
CHAN - Idle channel. Reading the CHAN bits, returns the lowest idle timer channel. The number is positioned so that it can be used as an offset from the MRT base address, to access the registers for the allocated channel. If all timer channels are running, then CHAN = 0xF.
| #define MRT_IRQ_FLAG_GFLAG0 | ( | x | ) |
GFLAG0 - Interrupt Flag 0b0..No pending interrupt. 0b1..Pending interrupt
GFLAG0 - Monitors the interrupt flag of TIMER0. 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt. The interrupt is pending because TIMER0 has reached the end of the time interval. If the INTEN bit in the CONTROL0 register is also set to 1, then the interrupt for timer channel 0 and the global interrupt are generated. Writing a 1 to GFLAG0 bit clears the interrupt request.
| #define MRT_IRQ_FLAG_GFLAG1 | ( | x | ) |
GFLAG1 - Interrupt Flag
GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.
| #define MRT_IRQ_FLAG_GFLAG2 | ( | x | ) |
GFLAG2 - Interrupt Flag
GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.
| #define MRT_IRQ_FLAG_GFLAG3 | ( | x | ) |
GFLAG3 - Interrupt Flag
GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.
| #define MRT_CHANNEL_INTVAL_IVALUE | ( | x | ) |
IVALUE - Time interval load value.
| #define MRT_CHANNEL_INTVAL_LOAD | ( | x | ) |
LOAD - Determines how the timer interval value (IVALUE -1) is loaded into the TIMER n register. 0b0..No force load. 0b1..Force load. T
| #define MRT_CHANNEL_TIMER_VALUE | ( | x | ) |
VALUE - Holds the current timer value of the down-counter.
| #define MRT_CHANNEL_CTRL_INTEN | ( | x | ) |
INTEN - Enable the TIMER n interrupt. 0b0..Disabled. TIMER n interrupt is disabled. 0b1..Enabled. TIMER n interrupt is enabled.
| #define MRT_CHANNEL_CTRL_MODE | ( | x | ) |
MODE - Selects the timer mode 0b00..Repeat interrupt mode 0b01..One-shot interrupt mode 0b10..One-shot stall mode 0b11..Reserved
| #define MRT_CHANNEL_STAT_INTFLAG | ( | x | ) |
INTFLAG - Monitors the interrupt flag 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt.
| #define MRT_CHANNEL_STAT_RUN | ( | x | ) |
RUN - Indicates the state of TIMER n . RUN bit is read-only. 0b0..Idle state. TIMER n has stopped. 0b1..Running. TIMER n is running.
| #define MRT_CHANNEL_STAT_INUSE | ( | x | ) |
INUSE - Channel-In-Use flag. Operating details depend on the operating mode bit (MODCFG.MULTITASK), and affects the use of the Idle Channel register (IDLE_CH). 0b0..This timer channel is not in use. 0b1..This timer channel is in use.
| #define MRT_MODCFG_NOC | ( | x | ) |
NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)
| #define MRT_MODCFG_NOB | ( | x | ) |
NOB - Number Of Bits: identifies the number of timer bits in this MRT. (24 bits on this device)
| #define MRT_MODCFG_MULTITASK | ( | x | ) |
MULTITASK - Selects the operating mode for the INUSE flags and the IDLE_CH register. 0b0..Hardware status mode. In this mode, the INUSE(n) flags for all channels are reset. 0b1..Multi-task mode
| #define MRT_IDLE_CH_CHAN | ( | x | ) |
CHAN - Idle channel. Reading the CHAN bits, returns the lowest idle timer channel. The number is positioned so that it can be used as an offset from the MRT base address, to access the registers for the allocated channel. If all timer channels are running, then CHAN = 0xF.
| #define MRT_IRQ_FLAG_GFLAG0 | ( | x | ) |
GFLAG0 - Monitors the interrupt flag of TIMER0. 0b0..No pending interrupt. Writing a zero is equivalent to no operation. 0b1..Pending interrupt. The interrupt is pending because TIMER0 has reached the end of the time interval. If the INTEN bit in the CONTROL0 register is also set to 1, then the interrupt for timer channel 0 and the global interrupt are generated. Writing a 1 to GFLAG0 bit clears the interrupt request.
| #define MRT_IRQ_FLAG_GFLAG1 | ( | x | ) |
GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.
| #define MRT_IRQ_FLAG_GFLAG2 | ( | x | ) |
GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.
| #define MRT_IRQ_FLAG_GFLAG3 | ( | x | ) |
GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.
| #define MRT_ID_CODE_ID_CODE | ( | x | ) |
ID_CODE - Multi-Rate Timer ID code