參數(shù)資料
型號(hào): LM3S101
廠商: Electronic Theatre Controls, Inc.
英文描述: Microcontroller
中文描述: 微控制器
文件頁數(shù): 133/284頁
文件大?。?/td> 1774K
代理商: LM3S101
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁當(dāng)前第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁第270頁第271頁第272頁第273頁第274頁第275頁第276頁第277頁第278頁第279頁第280頁第281頁第282頁第283頁第284頁
General-Purpose Timers
133
March 22, 2006
Preliminary
The
32KHZ
pin is dedicated to the 32-bit RTC function, and the input clock is 32 KHz.
When software writes the
TAEN
bit in
GPTMCTL
, the counter starts counting up from its preloaded
value of 0x00000001. When the current count value matches the preloaded value in
GPTMTAMATCHR
, it rolls over to a value of 0x00000000 and continues counting until either a
hardware reset, or it is disabled by software (clearing the
TAEN
bit). When a match occurs, the
GPTM asserts the
RTCRIS
bit in
GPTMRIS
. If the RTC interrupt is enabled in
GPTIMR
, the GPTM
also sets the
RTCMIS
bit in
GPTMISR
and generates a controller interrupt. The status flags are
cleared by writing the
RTCCINT
bit in
GPTMICR
.
If the
TASTALL
and/or
TBSTALL
bits in the
GPTMCTL
register are set, the timer does not freeze if
the
RTCEN
bit is set in
GPTMCTL
.
9.2.3
16-Bit Timer Operating Modes
The GPTM is placed into global 16-bit mode by writing a value of 0x4 to the
GPTM Configuration
(GPTMCFG)
register (see page 141). This section describes each of the GPTM 16-bit modes of
operation. Timer A and Timer B have identical modes, so a single description is given using an
n
to
reference both.
9.2.3.1
16-Bit One-Shot/Periodic Timer Mode
In 16-bit one-shot and periodic timer modes, the timer is configured as a 16-bit down-counter with
an optional 8-bit prescaler that effectively extends the counting range of the timer to 24 bits. The
selection of one-shot or periodic mode is determined by the value written to the
TnMR
field of the
GPTMTnMR
register. The optional prescaler is loaded into the
Timern Prescale (GPTMTnPR)
register.
When software writes the
TnEN
bit in the
GPTMCTL
register, the timer begins counting down from
its preloaded value. Once the 0x0000 state is reached, the timer reloads its start value from
GPTMTnILR
and
GPTMTnPR
on the next cycle. If configured to be a one-shot timer, the timer
stops counting and clears the
TnEN
bit in the
GPTMCTL
register. If configured as a periodic timer,
it continues counting.
In addition to reloading the count value, the timer generates interrupts and output triggers when it
reaches the 0x0000 state. The GPTM sets the
TnTORIS
bit in the
GPTMRIS
register, and holds it
until it is cleared by writing the
GPTMICR
register. If the time-out interrupt is enabled in
GPTIMR
,
the GPTM also sets the
TnTOMIS
bit in
GPTMISR
and generates a controller interrupt.
The output trigger is a one-clock-cycle pulse that is asserted when the counter hits the 0x0000
state, and deasserted on the following clock cycle. It is enabled by setting the
TnOTE
bit in the
GPTMCTL
register, and can trigger SoC-level events.
If software reloads the
GPTMTAILR
register while the counter is running, the counter loads the
new value on the next clock cycle and continues counting from the new value.
If the
TnSTALL
bit in the
GPTMCTL
register is enabled, the timer freezes counting until the signal
is deasserted.
The following example shows a variety of configurations for a 16-bit free running timer while using
the prescaler. All values assume a 50 MHz clock with Tc=20 ns (clock period).
Table 9-1.
16-Bit Timer With Prescaler Configurations
Prescale
#Clock (T
c
)
a
Max Time
Units
00000000
1
1.3107
mS
00000001
2
2.6214
mS
相關(guān)PDF資料
PDF描述
LM4040D82IDCKR PRECISION MICROPOWER SHUNT VOLTAGE REFERENCE
LM4040 PRECISION MICROPOWER SHUNT VOLTAGE REFERENCE
LM4040DIM7-2.5 Precision Micropower Shunt Voltage Reference
LM4040EIM7-2.5 Precision Micropower Shunt Voltage Reference
LM4040EIM3X-2.5 Precision Micropower Shunt Voltage Reference
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LM3S101_0610 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
LM3S101-CRN20 功能描述:ARM微控制器 - MCU MICROCONTROLLER RoHS:否 制造商:STMicroelectronics 核心:ARM Cortex M4F 處理器系列:STM32F373xx 數(shù)據(jù)總線寬度:32 bit 最大時(shí)鐘頻率:72 MHz 程序存儲(chǔ)器大小:256 KB 數(shù)據(jù) RAM 大小:32 KB 片上 ADC:Yes 工作電源電壓:1.65 V to 3.6 V, 2 V to 3.6 V, 2.2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:LQFP-48 安裝風(fēng)格:SMD/SMT
LM3S101-CRN20-XNPP 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
LM3S101-CRN20-XNPR 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
LM3S101-CRN20-XNPT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller