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

X  

EKTF6708 bảng dữ liệu(PDF) 109 Page - ELAN Microelectronics Corp

tên linh kiện EKTF6708
Giải thích chi tiết về linh kiện  8-Bit Microcontroller
PDF  158 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  EMC [ELAN Microelectronics Corp]
Trang chủ  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EKTF6708 bảng dữ liệu(HTML) 109 Page - ELAN Microelectronics Corp

Back Button EKTF6708 Datasheet HTML 105Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 106Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 107Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 108Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 109Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 110Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 111Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 112Page - ELAN Microelectronics Corp EKTF6708 Datasheet HTML 113Page - ELAN Microelectronics Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 109 / 158 page
background image
eKTF6708
8-Bit Microcontroller
IC Product Specification (V1.2) 03.12.2020
 99
(This specification is subject to change without prior notice)
6.8.5 PWM Duty Cycle (DTX: DTxH/DT1L)
The PWM duty cycle is defined by writing to the DTX register, and is latched from DTX to
DLX while TMRX is cleared. When DLX is equal to TMRX, the PWMX pin is cleared. DTX
can be loaded at anytime, however it cannot be latched into DLX until the current value of
DLX is equal to TMRX.
The following formula shows how to calculate the PWM duty cycle:
value
prescale
TMRX
F
DTX
cycle
Duty
OSC


1
Example:
DTX = 10;
Fosc = 4 MHz;
TMRX (0, 0, 0) = 1 : 1;
Then
 
s
M
cycle
Duty
5
.
2
1
4
1
10
6.8.6 PWM Programming Process/Steps
1)
Load the PWM duty cycle to DT
2)
Load the PWM time period to PRD
3)
Enable the interrupt function by writing Bank0-R1D, if required
4)
Load a desired value for the timer prescaler
5)
Enable PWMX function (i.e., enable PWMXE control bit)
6)
Finally, enable TMRX function (i.e., enable TXEN control bit)
If the application needs to change PWM duty and period cycle at run time, refer to the
following programming steps:
1)
Load new duty cycle (if using dual PWM function) at any time.
2)
Load new period cycle. You must take note of the order of loading period cycle. As the
low byte of PWM period cycle is assigned a value, the new PWM cycle is loaded into a
circuit.
3)
The circuit will automatically update the new duty and period cycles to generate new
PWM waveform at the next PWM cycle.



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