Texas Instruments MSP430x1xx User Manual page 232

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Timer_A Registers
TACCTLx, Capture/Compare Control Register
15
14
CMx
rw−(0)
rw−(0)
7
6
OUTMODx
rw−(0)
rw−(0)
CMx
Bit
Capture mode
15-14
00
01
10
11
CCISx
Bit
Capture/compare input select. These bits select the TACCRx input signal.
13-12
See the device-specific datasheet for specific signal connections.
00
01
10
11
SCS
Bit 11
Synchronize capture source. This bit is used to synchronize the capture input
signal with the timer clock.
0
1
SCCI
Bit 10
Synchronized capture/compare input. The selected CCI input signal is
latched with the EQUx signal and can be read via this bit
Unused
Bit 9
Unused. Read only. Always read as 0.
CAP
Bit 8
Capture mode
0
1
OUTMODx
Bits
Output mode. Modes 2, 3, 6, and 7 are not useful for TACCR0 because EQUx
7-5
= EQU0.
000 OUT bit value
001 Set
010 Toggle/reset
011 Set/reset
100 Toggle
101 Reset
110 Toggle/set
111 Reset/set
11-22
Timer_A
13
12
11
CCISx
SCS
rw−(0)
rw−(0)
rw−(0)
5
4
CCIE
CCI
rw−(0)
rw−(0)
No capture
Capture on rising edge
Capture on falling edge
Capture on both rising and falling edges
CCIxA
CCIxB
GND
V
CC
Asynchronous capture
Synchronous capture
Compare mode
Capture mode
10
9
SCCI
Unused
r−(0)
r−(0)
3
2
1
OUT
COV
r
rw−(0)
rw−(0)
8
CAP
rw−(0)
0
CCIFG
rw−(0)

Advertisement

Table of Contents
loading

Table of Contents