3.2.3. Control Register, TimerXControl

The bit assignments of the Control Register are listed in Table 3.2.

Table 3.2. Control Register bit assignments

BitsNameTypeFunction
[31:8]

-

-

Reserved bits, do not modify, and ignore on read

[7]

TimerEn

Read/write

Enable bit:

0 = Timer module disabled (default)

1 = Timer module enabled.

[6]

TimerMode

Read/write

Mode bit:

0 = Timer module is in free-running mode (default)

1 = Timer module is in periodic mode.

[5]

IntEnable

Read/write

Interrupt Enable bit:

0 = Timer module Interrupt disabled

1 = Timer module Interrupt enabled (default).

[4]

-

-

Reserved bit, do not modify, and ignore on read

[3:2]

TimerPre

Read/write

Prescale bits:

00 = 0 stages of prescale, clock is divided by 1 (default)

01 = 4 stages of prescale, clock is divided by 16

10 = 8 stages of prescale, clock is divided by 256

11 = Undefined, do not use.

[1]

TimerSize

Read/write

Selects 16/32 bit counter operation:

0 = 16-bit counter (default)

1 = 32-bit counter.

[0]

OneShot

Read/write

Selects one-shot or wrapping counter mode:

0 = wrapping mode (default)

1 = one-shot mode.

Caution

The counter mode, size or prescale settings must not be changed while the Timer module is running. If a new configuration is required then the Timer module must be disabled and then the new configuration values written to the appropriate registers. The Timer module must then be re-enabled after the configuration changes are complete. Failure to follow this procedure can result in unpredictable behavior of the device.

Copyright © 2002-2004 ARM Limited. All rights reserved.ARM DDI 0271D
Non-Confidential