전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

EKTF6708 데이터시트(PDF) 109 Page - ELAN Microelectronics Corp

부품명 EKTF6708
상세설명  8-Bit Microcontroller
PDF  158 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  EMC [ELAN Microelectronics Corp]
홈페이지  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EKTF6708 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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