Timer 1 Registers - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

Timer 1 Registers

There are no triggers associated with channels 3 and 4.
9.12 Timer 1 Registers
This section describes the Timer 1 registers, which consist of the following registers:
T1CNTH – Timer 1 count high
T1CNTL – Timer 1 count low
T1CTL – Timer 1 control
T1STAT – Timer 1 status
T1CCTLn – Timer 1 channel n capture or compare control
T1CCnH – Timer 1 channel n capture or compare value high
T1CCnL – Timer 1 channel n capture or compare value low
The TIMIF.T1OVFIM register bit resides in the TIMIF register, which is described together with the
Timer 3 and Timer 4 registers.
T1CNTH (0xE3) – Timer 1 Counter High
Bit
Name
Reset
R/W
7:0
CNT[15:8 0x00
R
]
T1CNTL (0xE2) – Timer 1 Counter Low
Bit
Name
Reset
R/W
7:0
CNT[7:0] 0x00
R/W
T1CTL (0xE4) – Timer 1 Control
Bit
Name
Reset
R/W
7:4
0000
R0
3:2
DIV[1:0]
00
R/W
1:0
MODE
00
R/W
[1:0]
114
Timer 1 (16-Bit Timer)
Description
Timer count high-order byte. Contains the high byte of the 16-bit timer counter buffered at the time
T1CNTL is read
Description
Timer count low-order byte. Contains the low byte of the 16-bit timer counter. Writing anything to
this register results in the counter being cleared to 0x0000 and initializes all output pins of
associated channels.
Description
Reserved
Prescaler divider value. Generates the active clock edge used to update the counter as follows:
00:
Tick frequency / 1
01:
Tick frequency / 8
10:
Tick frequency / 32
11:
Tick frequency / 128
Timer 1 mode select. The timer operating mode is selected as follows:
00:
Operation is suspended.
01:
Free-running, repeatedly count from 0x0000 to 0xFFFF.
Modulo, repeatedly count from 0x0000 to T1CC0.
10:
Up-and-down, repeatedly count from 0x0000 to T1CC0 and from T1CC0 down to 0x0000.
11:
Copyright © 2009–2014, Texas Instruments Incorporated
SWRU191F – April 2009 – Revised April 2014
Submit Documentation Feedback
www.ti.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents