công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

RM0352 bảng dữ liệu(PDF) 54 Page - STMicroelectronics

tên linh kiện RM0352
Giải thích chi tiết về linh kiện  Brain smart hub family
PDF  138 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0352 bảng dữ liệu(HTML) 54 Page - STMicroelectronics

Back Button RM0352 Datasheet HTML 50Page - STMicroelectronics RM0352 Datasheet HTML 51Page - STMicroelectronics RM0352 Datasheet HTML 52Page - STMicroelectronics RM0352 Datasheet HTML 53Page - STMicroelectronics RM0352 Datasheet HTML 54Page - STMicroelectronics RM0352 Datasheet HTML 55Page - STMicroelectronics RM0352 Datasheet HTML 56Page - STMicroelectronics RM0352 Datasheet HTML 57Page - STMicroelectronics RM0352 Datasheet HTML 58Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 54 / 138 page
background image
ARM© dual timer module (SP804)
RM0352
54/138
DocID024647 Rev 1
Free running mode
Free running mode is selected by setting the following bits in the TimerControl register:
•
Set TimerMode bit to 1
•
Set OneShot bit to 0.
The 32-bit or 16-bit counter operation is selected by setting the TimerSize bit appropriately
in the TimerControl register.
On reset the timer value is initialized to 0xFFFFFFFF and if the counter is enabled then the
count decrements by one for each TIMCLK positive edge when TIMCLKENX is HIGH and
the prescaler generates an enable pulse. Alternatively, a new initial counter value can be
loaded by writing to the TimerXLoad register and the counter starts decrementing from this
value if the counter is enabled.
In 32-bit mode, when the count reaches zero, 0x00000000, an interrupt is generated and
the counter wraps around to 0xFFFFFFFF irrespective of the value in the TimerXLoad
register. The counter starts to decrement again and this whole cycle repeats for as long as
the counter is enabled.
In 16-bit mode, only the least significant 16-bits of the counter are decremented and when
the count reaches 0x0000, an interrupt is generated and the counter wraps round to 0xFFFF
irrespective of the value in the TimerXLoad register.
If the counter is disabled by clearing the TimerEn bit in the TimerControl register, the counter
halts and holds its current value. If the counter is re-enabled again then the counter
continues decrementing from the current value.
The counter value can be read at any time by reading the TimerXValue register.
Periodic mode
Periodic mode is selected by setting the following bits in the TimerControl register:
•
Set TimerMode bit to 0
•
Set OneShot bit to 0.
The 32-bit or 16-bit counter operation is selected by setting the TimerSize bit appropriately
in the TimerControl register.
An initial counter value can be loaded by writing to the TimerXLoad register and the counter
starts decrementing from this value if the counter is enabled.
In 32-bit mode, the full 32 bits of the counter are decremented and when the count reaches
zero, 0x00000000, an interrupt is generated and the counter reloads with the value in the
TimerXLoad register. The counter starts to decrement again and this whole cycle repeats for
as long as the counter is enabled.
In 16-bit mode, only the least significant 16-bits of the counter are decremented and when
the count reaches 0x0000, an interrupt is generated and the counter reloads with the value
in the TimerXLoad register. The counter starts to decrement again and this whole cycle
repeats for as long as the counter is enabled.
If a new value is loaded into the counter by writing to the TimerXLoad register while the
counter is running then the counter values change to the new load value on the next
TIMCLK when TIMCLKENX is HIGH.
If a new value is written to the background load register, TimerXBGLoad, while the counter
is running then the TimerXLoad register is also updated with the same load value but the
counter continues to decrement to zero. When it reaches zero, the counter reloads with the



Html Pages

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  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com