![Texas Instruments SimpleLink Ethernet MSP432E401Y Скачать руководство пользователя страница 1276](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_10955781276.webp)
GPTM Registers
1276
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Timers
Table 18-13. GPTMTAMR Register Field Descriptions (continued)
Bit
Field
Type
Reset
Description
5
TAMIE
R/W
0x0
GPTM Timer A Match Interrupt Enable.
0x0 = The match interrupt is disabled for match events.Clearing the
TAMIE bit in the GPTMTAMR register prevents assertion of µDMA or
ADC requests generated on a match event. Even if the
TATODMAEN bit is set in the GPTMDMAEV register or the
TATOADCEN bit is set in the GPTMADCEV register, a µDMA or
ADC match trigger is not sent to the µDMA or ADC, respectively,
when the TAMIE bit is clear.
0x1 = An interrupt is generated when the match value in the
GPTMTAMATCHR register is reached in the one-shot and periodic
modes.
4
TACDIR
R/W
0x0
GPTM Timer A Count Direction.
When in PWM or RTC mode, the status of this bit is ignored.
PWM mode always counts down and RTC mode always counts up.
0x0 = The timer counts down.
0x1 = T he timer counts up. When counting up, the timer starts from
a value of 0x0.
3
TAAMS
R/W
0x0
GPTM Timer A Alternate Mode Select.
0x0 = Capture or compare mode is enabled.
0x1 = PWM mode is enabled.To enable PWM mode, you must also
clear the TACMR bit and configure the TAMR field to 0x1 or 0x2.
2
TACMR
R/W
0x0
GPTM Timer A Capture Mode.
0x0 = Edge-Count mode
0x1 = Edge-Time mode
1-0
TAMR
R/W
0x0
GPTM Timer A Mode.
The Timer mode is based on the timer configuration defined by bits
2:0 in the GPTMCFG register.
0x0 = Reserved
0x1 = One-Shot Timer mode
0x2 = Periodic Timer mode
0x3 = Capture mode