Module lpc845_pac::ctimer0::mcr[][src]

Expand description

Match Control Register. The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs.

Structs

Match Control Register. The MCR is used to control if an interrupt is generated and if the TC is reset when a Match occurs.

Field MR0I reader - Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 = disabled. 1 = enabled.

Field MR0I writer - Interrupt on MR0: an interrupt is generated when MR0 matches the value in the TC. 0 = disabled. 1 = enabled.

Field MR0RL reader - Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR0RL writer - Reload MR0 with the contents of the Match 0 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR0R reader - Reset on MR0: the TC will be reset if MR0 matches it. 0 = disabled. 1 = enabled.

Field MR0R writer - Reset on MR0: the TC will be reset if MR0 matches it. 0 = disabled. 1 = enabled.

Field MR0S reader - Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. 0 = disabled. 1 = enabled.

Field MR0S writer - Stop on MR0: the TC and PC will be stopped and TCR[0] will be set to 0 if MR0 matches the TC. 0 = disabled. 1 = enabled.

Field MR1I reader - Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 0 = disabled. 1 = enabled. 0 = disabled. 1 = enabled.

Field MR1I writer - Interrupt on MR1: an interrupt is generated when MR1 matches the value in the TC. 0 = disabled. 1 = enabled. 0 = disabled. 1 = enabled.

Field MR1RL reader - Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR1RL writer - Reload MR1 with the contents of the Match 1 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR1R reader - Reset on MR1: the TC will be reset if MR1 matches it. 0 = disabled. 1 = enabled.

Field MR1R writer - Reset on MR1: the TC will be reset if MR1 matches it. 0 = disabled. 1 = enabled.

Field MR1S reader - Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. 0 = disabled. 1 = enabled.

Field MR1S writer - Stop on MR1: the TC and PC will be stopped and TCR[0] will be set to 0 if MR1 matches the TC. 0 = disabled. 1 = enabled.

Field MR2I reader - Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 0 = disabled. 1 = enabled.

Field MR2I writer - Interrupt on MR2: an interrupt is generated when MR2 matches the value in the TC. 0 = disabled. 1 = enabled.

Field MR2RL reader - Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR2RL writer - Reload MR2 with the contents of the Match 2 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR2R reader - Reset on MR2: the TC will be reset if MR2 matches it. 0 = disabled. 1 = enabled.

Field MR2R writer - Reset on MR2: the TC will be reset if MR2 matches it. 0 = disabled. 1 = enabled.

Field MR2S reader - Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. 0 = disabled. 1 = enabled.

Field MR2S writer - Stop on MR2: the TC and PC will be stopped and TCR[0] will be set to 0 if MR2 matches the TC. 0 = disabled. 1 = enabled.

Field MR3I reader - Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 0 = disabled. 1 = enabled.

Field MR3I writer - Interrupt on MR3: an interrupt is generated when MR3 matches the value in the TC. 0 = disabled. 1 = enabled.

Field MR3RL reader - Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR3RL writer - Reload MR3 with the contents of the Match 3 Shadow Register when the TC is reset to zero (either via a match event or a write to bit 1 of the TCR). 0 = disabled. 1 = enabled.

Field MR3R reader - Reset on MR3: the TC will be reset if MR3 matches it. 0 = disabled. 1 = enabled.

Field MR3R writer - Reset on MR3: the TC will be reset if MR3 matches it. 0 = disabled. 1 = enabled.

Field MR3S reader - Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. 0 = disabled. 1 = enabled.

Field MR3S writer - Stop on MR3: the TC and PC will be stopped and TCR[0] will be set to 0 if MR3 matches the TC. 0 = disabled. 1 = enabled.

Register MCR reader

Register MCR writer