Timer_B Registers
16-24
Timer_B
TBCCTLx, Capture/Compare Control Register
15
14
13
12
11
10
9
8
CMx
CCISx
SCS
CLLDx
CAP
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
7
6
5
4
3
2
1
0
OUTMODx
CCIE
CCI
OUT
COV
CCIFG
rw−(0)
rw−(0)
rw−(0)
rw−(0)
r
rw−(0)
rw−(0)
rw−(0)
CMx
Bit
15-14
Capture mode
00
No capture
01
Capture on rising edge
10
Capture on falling edge
11
Capture on both rising and falling edges
CCISx
Bit
13-12
Capture/compare input select. These bits select the TBCCRx input signal.
See the device-specific datasheet for specific signal connections.
00
CCIxA
01
CCIxB
10
GND
11
V
CC
SCS
Bit 11
Synchronize capture source. This bit is used to synchronize the capture input
signal with the timer clock.
0
Asynchronous capture
1
Synchronous capture
CLLDx
Bit
10-9
Compare latch load. These bits select the compare latch load event.
00
TBCLx loads on write to TBCCRx
01
TBCLx loads when TBR counts to 0
10
TBCLx loads when TBR counts to 0 (up or continuous mode)
TBCLx loads when TBR counts to TBCL0 or to 0 (up/down mode)
11
TBCLx loads when TBR counts to TBCLx
CAP
Bit 8
Capture mode
0
Compare mode
1
Capture mode
OUTMODx
Bits
7-5
Output mode. Modes 2, 3, 6, and 7 are not useful for TBCL0 because EQUx
= EQU0.
000 OUT bit value
001 Set
010 Toggle/reset
011 Set/reset
100 Toggle
101 Reset
110 Toggle/set
111
Reset/set
Содержание MSP430x4xx Family
Страница 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Страница 2: ......
Страница 6: ...vi ...
Страница 114: ...3 76 RISC 16 Bit CPU ...
Страница 304: ...5 20 FLL Clock Module ...
Страница 340: ...7 8 Supply Voltage Supervisor ...
Страница 348: ...8 8 16 Bit Hardware Multiplier ...
Страница 372: ...9 24 32 Bit Hardware Multiplier ...
Страница 400: ...10 28 DMA Controller ...
Страница 428: ...13 10 Basic Timer1 ...
Страница 466: ...15 24 Timer_A ...
Страница 522: ...17 30 USART Peripheral Interface UART Mode ...
Страница 544: ...18 22 USART Peripheral Interface SPI Mode ...
Страница 672: ...23 12 Comparator_A ...
Страница 692: ...24 20 LCD Controller ...
Страница 746: ...26 28 ADC12 ...