Timer_B Operation
16-13
Timer_B
Compare Latch TBCLx
The TBCCRx compare latch, TBCLx, holds the data for the comparison to the
timer value in compare mode. TBCLx is buffered by TBCCRx. The buffered
compare latch gives the user control over when a compare period updates.
The user cannot directly access TBCLx. Compare data is written to each
TBCCRx and automatically transferred to TBCLx. The timing of the transfer
from TBCCRx to TBCLx is user-selectable with the CLLDx bits as described
in Table 16−2.
Table 16−2.TBCLx Load Events
CLLDx
Description
00
New data is transferred from TBCCRx to TBCLx immediately when
TBCCRx is written to.
01
New data is transferred from TBCCRx to TBCLx when TBR counts to 0
10
New data is transferred from TBCCRx to TBCLx when TBR counts to 0
for up and continuous modes. New data is transferred to from TBCCRx
to TBCLx when TBR counts to the old TBCL0 value or to 0 for up/down
mode
11
New data is transferred from TBCCRx to TBCLx when TBR
counts to the old TBCLx
value.
Grouping Compare Latches
Multiple compare latches may be grouped together for simultaneous updates
with the TBCLGRPx bits. When using groups, the CLLDx bits of the lowest
numbered TBCCRx in the group determine the load event for each compare
latch of the group, except when TBCLGRP = 3, as shown in Table 16−3. The
CLLDx bits of the controlling TBCCRx must not be set to zero. When the
CLLDx bits of the controlling TBCCRx are set to zero, all compare latches
update immediately when their corresponding TBCCRx is written; no compare
latches are grouped.
Two conditions must exist for the compare latches to be loaded when grouped.
First, all TBCCRx registers of the group must be updated, even when new
TBCCRx data = old TBCCRx data. Second, the load event must occur.
Table 16−3.Compare Latch Operating Modes
TBCLGRPx
Grouping
Update Control
00
None
Individual
01
TBCL1+TBCL2
TBCL3+TBCL4
TBCL5+TBCL6
TBCCR1
TBCCR3
TBCCR5
10
TBCL1+TBCL2+TBCL3
TBCL4+TBCL5+TBCL6
TBCCR1
TBCCR4
11
TBCL0+TBCL1+TBCL2+
TBCL3+TBCL4+TBCL5+TBCL6
TBCCR1
Содержание 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 ...