Electronic Components Datasheet Search
  English  ▼

X  

HT45F0060 Datasheet(PDF) 52 Page - Holtek Semiconductor Inc

Part # HT45F0060
Description  RGB Dimming LED Flash MCU
PDF  95 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F0060 Datasheet(HTML) 52 Page - Holtek Semiconductor Inc

Back Button HT45F0060 Datasheet HTML 48Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 49Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 50Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 51Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 52Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 53Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 54Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 55Page - Holtek Semiconductor Inc HT45F0060 Datasheet HTML 56Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 95 page
background image
Rev. 1.00
52
July 19, 2017
Rev. 1.00
53
July 19, 2017
HT45F0060
RGB Dimming LED Flash MCU
HT45F0060
RGB Dimming LED Flash MCU
Timer/Counter Mode
Toselectthismode,bitsCTnM1andCTnM0intheCTMnC1registershouldbesetto11
respectively.TheTimer/CounterModeoperatesinanidenticalwaytotheCompareMatchOutput
Modegeneratingthesameinterruptflags.TheexceptionisthatintheTimer/CounterModethe
CTMoutputpinisnotused.ThereforetheabovedescriptionandTimingDiagramsfortheCompare
MatchOutputModecanbeusedtounderstanditsfunction.
PWM Output Mode
Toselectthismode,bitsCTnM1andCTnM0intheCTMnC1registershouldbesetto10
respectively.ThePWMfunctionwithintheCTMisusefulforapplicationswhichrequirefunctions
suchasmotorcontrol,heatingcontrol,illuminationcontroletc.Byprovidingasignaloffixed
frequencybutofvaryingdutycycleontheCTMoutputpin,asquarewaveACwaveformcanbe
generatedwithvaryingequivalentDCRMSvalues.
AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated
waveformisextremelyflexible.InthePWMOutputMode,theCTnCCLRbithasnoeffectonthe
PWMoperation.BothoftheCCRAandCCRPregistersareusedtogeneratethePWMwaveform,
oneregisterisusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency,
whiletheotheroneisusedtocontrolthedutycycle.Whichregisterisusedtocontroleither
frequencyordutycycleisdeterminedusingtheCTnDPXbitintheCTMnC1register.ThePWM
waveformfrequencyanddutycyclecanthereforebecontrolledbythevaluesintheCCRAand
CCRPregisters.
Aninterruptflag,oneforeachoftheCCRAandCCRP,willbegeneratedwhenacomparematch
occursfromeitherComparatorAorComparatorP.TheCTnOCbitintheCTMnC1registerisused
toselecttherequiredpolarityofthePWMwaveformwhilethetwoCTnIO1andCTnIO0bitsare
usedtoenablethePWMoutputortoforcetheCTMoutputpintoafixedhighorlowlevel.The
CTnPOLbitisusedtoreversethepolarityofthePWMoutputwaveform.
CTM, PWM Output Mode, Edge-aligned Mode, CTnDPX=0
CCRP
001b
010b
011b
100b
101b
110b
111b
000b
Period
128
256
384
512
640
768
896
1024
Duty
CCRA
IffSYS=8MHz,CTMclocksourceisfSYS/4,CCRP=100b,CCRA=128,
TheCTMPWMoutputfrequency=(fSYS/4)/512=fSYS/2048=3.9063kHz,duty=128/512=25%.
IftheDutyvaluedefinedbytheCCRAregisterisequaltoorgreaterthanthePeriodvalue,thenthe
PWMoutputdutyis100%.
CTM, PWM Output Mode, Edge-aligned Mode, CTnDPX=1
CCRP
001b
010b
011b
100b
101b
110b
111b
000b
Period
CCRA
Duty
128
256
384
512
640
768
896
1024
ThePWMoutputperiodisdeterminedbytheCCRAregistervaluetogetherwiththeCTMclock
whilethePWMdutycycleisdefinedbytheCCRPregistervalue.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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