Timer_A Registers
15-20
Timer_A
TACTL, Timer_A Control Register
15
14
13
12
11
10
9
8
Unused
TASSELx
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
7
6
5
4
3
2
1
0
IDx
MCx
Unused
TACLR
TAIE
TAIFG
rw−(0)
rw−(0)
rw−(0)
rw−(0)
rw−(0)
w−(0)
rw−(0)
rw−(0)
Unused
Bits
15-10
Unused
TASSELx
Bits
9-8
Timer_A clock source select
00
TACLK
01
ACLK
10
SMCLK
11
Inverted TACLK
IDx
Bits
7-6
Input divider. These bits select the divider for the input clock.
00
/1
01
/2
10
/4
11
/8
MCx
Bits
5-4
Mode control. Setting MCx = 00h when Timer_A is not in use conserves
power.
00
Stop mode: the timer is halted
01
Up mode: the timer counts up to TACCR0
10
Continuous mode: the timer counts up to 0FFFFh
11
Up/down mode: the timer counts up to TACCR0 then down to 0000h
Unused
Bit 3
Unused
TACLR
Bit 2
Timer_A clear. Setting this bit resets TAR, the clock divider, and the count
direction. The TACLR bit is automatically reset and is always read as zero.
TAIE
Bit 1
Timer_A interrupt enable. This bit enables the TAIFG interrupt request.
0
Interrupt disabled
1
Interrupt enabled
TAIFG
Bit 0
Timer_A interrupt flag
0
No interrupt pending
1
Interrupt pending
Содержание 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 ...