MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches

Macros

#define MRT_CHANNEL_INTVAL_COUNT
#define MRT_CHANNEL_TIMER_COUNT
#define MRT_CHANNEL_CTRL_COUNT
#define MRT_CHANNEL_STAT_COUNT
#define MRT_CHANNEL_INTVAL_COUNT
#define MRT_CHANNEL_TIMER_COUNT
#define MRT_CHANNEL_CTRL_COUNT
#define MRT_CHANNEL_STAT_COUNT
#define MRT_CHANNEL_INTVAL_COUNT
#define MRT_CHANNEL_TIMER_COUNT
#define MRT_CHANNEL_CTRL_COUNT
#define MRT_CHANNEL_STAT_COUNT
#define MRT_CHANNEL_INTVAL_COUNT
#define MRT_CHANNEL_TIMER_COUNT
#define MRT_CHANNEL_CTRL_COUNT
#define MRT_CHANNEL_STAT_COUNT

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)

Detailed Description

Macro Definition Documentation

◆ MRT_CHANNEL_INTVAL_IVALUE [1/4]

#define MRT_CHANNEL_INTVAL_IVALUE ( x)

IVALUE - Time interval load value.

IVALUE - Time Interval Load Value.

◆ MRT_CHANNEL_INTVAL_LOAD [1/4]

#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

◆ MRT_CHANNEL_TIMER_VALUE [1/4]

#define MRT_CHANNEL_TIMER_VALUE ( x)

VALUE - Holds the current timer value of the down-counter.

VALUE - Current Timer Value

◆ MRT_CHANNEL_CTRL_INTEN [1/4]

#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

◆ MRT_CHANNEL_CTRL_MODE [1/4]

#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

◆ MRT_CHANNEL_STAT_INTFLAG [1/4]

#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.

◆ MRT_CHANNEL_STAT_RUN [1/4]

#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.

◆ MRT_CHANNEL_STAT_INUSE [1/4]

#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.

◆ MRT_MODCFG_NOC [1/4]

#define MRT_MODCFG_NOC ( x)

NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)

NOC - Number of Channels

◆ MRT_MODCFG_NOB [1/4]

#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

◆ MRT_MODCFG_MULTITASK [1/4]

#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

◆ MRT_IDLE_CH_CHAN [1/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG0 [1/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG1 [1/4]

#define MRT_IRQ_FLAG_GFLAG1 ( x)

GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.

GFLAG1 - Interrupt Flag

◆ MRT_IRQ_FLAG_GFLAG2 [1/4]

#define MRT_IRQ_FLAG_GFLAG2 ( x)

GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.

GFLAG2 - Interrupt Flag

◆ MRT_IRQ_FLAG_GFLAG3 [1/4]

#define MRT_IRQ_FLAG_GFLAG3 ( x)

GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.

GFLAG3 - Interrupt Flag

◆ MRT_CHANNEL_INTVAL_IVALUE [2/4]

#define MRT_CHANNEL_INTVAL_IVALUE ( x)

IVALUE - Time Interval Load Value.

IVALUE - Time interval load value.

◆ MRT_CHANNEL_INTVAL_LOAD [2/4]

#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

◆ MRT_CHANNEL_TIMER_VALUE [2/4]

#define MRT_CHANNEL_TIMER_VALUE ( x)

VALUE - Current Timer Value

VALUE - Holds the current timer value of the down-counter.

◆ MRT_CHANNEL_CTRL_INTEN [2/4]

#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.

◆ MRT_CHANNEL_CTRL_MODE [2/4]

#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

◆ MRT_CHANNEL_STAT_INTFLAG [2/4]

#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.

◆ MRT_CHANNEL_STAT_RUN [2/4]

#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.

◆ MRT_CHANNEL_STAT_INUSE [2/4]

#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.

◆ MRT_MODCFG_NOC [2/4]

#define MRT_MODCFG_NOC ( x)

NOC - Number of Channels

NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)

◆ MRT_MODCFG_NOB [2/4]

#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)

◆ MRT_MODCFG_MULTITASK [2/4]

#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

◆ MRT_IDLE_CH_CHAN [2/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG0 [2/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG1 [2/4]

#define MRT_IRQ_FLAG_GFLAG1 ( x)

GFLAG1 - Interrupt Flag

GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.

◆ MRT_IRQ_FLAG_GFLAG2 [2/4]

#define MRT_IRQ_FLAG_GFLAG2 ( x)

GFLAG2 - Interrupt Flag

GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.

◆ MRT_IRQ_FLAG_GFLAG3 [2/4]

#define MRT_IRQ_FLAG_GFLAG3 ( x)

GFLAG3 - Interrupt Flag

GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.

◆ MRT_CHANNEL_INTVAL_IVALUE [3/4]

#define MRT_CHANNEL_INTVAL_IVALUE ( x)

IVALUE - Time Interval Load Value.

IVALUE - Time interval load value.

◆ MRT_CHANNEL_INTVAL_LOAD [3/4]

#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

◆ MRT_CHANNEL_TIMER_VALUE [3/4]

#define MRT_CHANNEL_TIMER_VALUE ( x)

VALUE - Current Timer Value

VALUE - Holds the current timer value of the down-counter.

◆ MRT_CHANNEL_CTRL_INTEN [3/4]

#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.

◆ MRT_CHANNEL_CTRL_MODE [3/4]

#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

◆ MRT_CHANNEL_STAT_INTFLAG [3/4]

#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.

◆ MRT_CHANNEL_STAT_RUN [3/4]

#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.

◆ MRT_CHANNEL_STAT_INUSE [3/4]

#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.

◆ MRT_MODCFG_NOC [3/4]

#define MRT_MODCFG_NOC ( x)

NOC - Number of Channels

NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)

◆ MRT_MODCFG_NOB [3/4]

#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)

◆ MRT_MODCFG_MULTITASK [3/4]

#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

◆ MRT_IDLE_CH_CHAN [3/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG0 [3/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG1 [3/4]

#define MRT_IRQ_FLAG_GFLAG1 ( x)

GFLAG1 - Interrupt Flag

GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.

◆ MRT_IRQ_FLAG_GFLAG2 [3/4]

#define MRT_IRQ_FLAG_GFLAG2 ( x)

GFLAG2 - Interrupt Flag

GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.

◆ MRT_IRQ_FLAG_GFLAG3 [3/4]

#define MRT_IRQ_FLAG_GFLAG3 ( x)

GFLAG3 - Interrupt Flag

GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.

◆ MRT_CHANNEL_INTVAL_IVALUE [4/4]

#define MRT_CHANNEL_INTVAL_IVALUE ( x)

IVALUE - Time interval load value.

◆ MRT_CHANNEL_INTVAL_LOAD [4/4]

#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

◆ MRT_CHANNEL_TIMER_VALUE [4/4]

#define MRT_CHANNEL_TIMER_VALUE ( x)

VALUE - Holds the current timer value of the down-counter.

◆ MRT_CHANNEL_CTRL_INTEN [4/4]

#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.

◆ MRT_CHANNEL_CTRL_MODE [4/4]

#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

◆ MRT_CHANNEL_STAT_INTFLAG [4/4]

#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.

◆ MRT_CHANNEL_STAT_RUN [4/4]

#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.

◆ MRT_CHANNEL_STAT_INUSE [4/4]

#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.

◆ MRT_MODCFG_NOC [4/4]

#define MRT_MODCFG_NOC ( x)

NOC - Number Of Channels: identifies the number of channels in this MRT. (Minus 1 encoded)

◆ MRT_MODCFG_NOB [4/4]

#define MRT_MODCFG_NOB ( x)

NOB - Number Of Bits: identifies the number of timer bits in this MRT. (24 bits on this device)

◆ MRT_MODCFG_MULTITASK [4/4]

#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

◆ MRT_IDLE_CH_CHAN [4/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG0 [4/4]

#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.

◆ MRT_IRQ_FLAG_GFLAG1 [4/4]

#define MRT_IRQ_FLAG_GFLAG1 ( x)

GFLAG1 - Monitors the interrupt flag of TIMER1, and acts similarly to channel 0.

◆ MRT_IRQ_FLAG_GFLAG2 [4/4]

#define MRT_IRQ_FLAG_GFLAG2 ( x)

GFLAG2 - Monitors the interrupt flag of TIMER2, and acts similarly to channel 0.

◆ MRT_IRQ_FLAG_GFLAG3 [4/4]

#define MRT_IRQ_FLAG_GFLAG3 ( x)

GFLAG3 - Monitors the interrupt flag of TIMER3, and acts similarly to channel 0.

◆ MRT_ID_CODE_ID_CODE

#define MRT_ID_CODE_ID_CODE ( x)

ID_CODE - Multi-Rate Timer ID code