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

X  

SMBP2501BPB bảng dữ liệu(PDF) 83 Page - SONiX Technology Company

tên linh kiện SMBP2501BPB
Giải thích chi tiết về linh kiện  8-Bit Micro-Controller
PDF  107 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SONIX [SONiX Technology Company]
Trang chủ  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SMBP2501BPB bảng dữ liệu(HTML) 83 Page - SONiX Technology Company

Back Button SMBP2501BPB Datasheet HTML 79Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 80Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 81Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 82Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 83Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 84Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 85Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 86Page - SONiX Technology Company SMBP2501BPB Datasheet HTML 87Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 107 page
background image
SN8P2501B
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 83
Version 2.1
8.3.4 TC0R AUTO-LOAD REGISTER
TC0 timer is with auto-load function controlled by ALOAD0 bit of TC0M. When TC0C overflow occurring, TC0R value
will load to TC0C by system. It is easy to generate an accurate time, and users don
’t reset TC0C during interrupt
service routine.
TC0 is double buffer design. If new TC0R value is set by program, the new value is stored in 1
st buffer. Until TC0
overflow occurs, the new value moves to real TC0R buffer. This way can avoid TC0 interval time error and glitch in
PWM and Buzzer output.
Note: Under PWM mode, auto-load is enabled automatically. The ALOAD0 bit is selecting overflow
boundary.
0CDH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC0R
TC0R7
TC0R6
TC0R5
TC0R4
TC0R3
TC0R2
TC0R1
TC0R0
Read/Write
W
W
W
W
W
W
W
W
After reset
0
0
0
0
0
0
0
0
The equation of TC0R initial value is as following.
TC0R initial value = N - (TC0 interrupt interval time * input clock)
N is TC0 overflow boundary number. TC0 timer overflow time has six types (TC0 timer, TC0 event counter, TC0 Fcpu
clock source, TC0 Fosc clock source, PWM mode and no PWM mode). These parameters decide TC0 overflow time
and valid value as follow table.
TC0CKS PWM0 ALOAD0 TC0OUT
N
TC0R valid
value
TC0R value
binary type
0
0
x
x
256
0x00~0xFF
00000000b~11111111b
1
0
0
256
0x00~0xFF
00000000b~11111111b
1
0
1
64
0x00~0x3F
xx000000b~xx111111b
1
1
0
32
0x00~0x1F
xxx00000b~xxx11111b
1
1
1
16
0x00~0x0F
xxxx0000b~xxxx1111b
1
-
-
-
256
0x00~0xFF
00000000b~11111111b
Example: To set 10ms interval time for TC0 interrupt. TC0 clock source is Fcpu (TC0KS=0) and no PWM
output (PWM0=0). High clock is external 4MHz. Fcpu=Fosc/4. Select TC0RATE=010 (Fcpu/64).
TC0R initial value = N - (TC0 interrupt interval time * input clock)
= 256 - (10ms * 4MHz / 4 / 64)
= 256 - (10-2 * 4 * 106 / 4 / 64)
= 100
= 64H



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