Electronic Components Datasheet Search
  English  ▼

X  

HT45F56 Datasheet(PDF) 59 Page - Holtek Semiconductor Inc

Part # HT45F56
Description  Shock Detector Flash MCU
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F56 Datasheet(HTML) 59 Page - Holtek Semiconductor Inc

Back Button HT45F56 Datasheet HTML 55Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 56Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 57Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 58Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 59Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 60Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 61Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 62Page - Holtek Semiconductor Inc HT45F56 Datasheet HTML 63Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 90 page
background image
Rev. 1.11
58
April 11, 2017
Rev. 1.11
59
April 11, 2017
HT45F56
Shock Detector Flash MCU
HT45F56
Shock Detector Flash MCU
Timer/Counter Mode
Toselectthismode,bitsCTM1andCTM0intheCTMC1registershouldbesetto11respectively.
TheTimer/CounterModeoperatesinanidenticalwaytotheCompareMatchOutputMode
generatingthesameinterruptflags.TheexceptionisthatintheTimer/CounterModetheCTM
outputpinisnotused.ThereforetheabovedescriptionandTimingDiagramsfortheCompare
MatchOutputModecanbeusedtounderstanditsfunction.AstheCTMoutputpinisnotusedin
thismode,thepincanbeusedasanormalI/Opinorotherpin-sharedfunction.
PWM Output Mode
Toselectthismode,bitsCTM1andCTM0intheCTMC1registershouldbesetto10respectively.
ThePWMfunctionwithintheCTMisusefulforapplicationswhichrequirefunctionssuchasmotor
control,heatingcontrol,illuminationcontroletc.Byprovidingasignaloffixedfrequencybutof
varyingdutycycleontheCTMoutputpin,asquarewaveACwaveformcanbegeneratedwith
varyingequivalentDCRMSvalues.
AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated
waveformisextremelyflexible.InthePWMmode,theCTCCLRbithasnoeffectonthePWM
operation.BothoftheCCRAandCCRPregistersareusedtogeneratethePWMwaveform,one
registerisusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency,while
theotheroneisusedtocontrolthedutycycle.Whichregisterisusedtocontroleitherfrequency
ordutycycleisdeterminedusingtheCTDPXbitintheCTMC1register.ThePWMwaveform
frequencyanddutycyclecanthereforebecontrolledbythevaluesintheCCRAandCCRPregisters.
Aninterruptflag,oneforeachoftheCCRAandCCRP,willbegeneratedwhenacomparematch
occursfromeitherComparatorAorComparatorP.TheCTOCbitintheCTMC1registerisusedto
selecttherequiredpolarityofthePWMwaveformwhilethetwoCTIO1andCTIO0bitsareusedto
enablethePWMoutputortoforcetheTMoutputpintoafixedhighorlowlevel.TheCTPOLbitis
usedtoreversethepolarityofthePWMoutputwaveform.
• 10-bit CTM, PWM Mode, Edge-aligned Mode, CTDPX=0
CCRP
001b
011b
011b
100b
101b
110b
111b
000b
Period
128
256
384
512
640
768
896
1024
Duty
CCRA
IffSYS=8MHz,CTMclocksourceisfSYS/4,CCRP=2andCCRA=128,
TheCTMPWMoutputfrequency=(fSYS/4)/(2x256)=fSYS/2048=4kHz,duty=128/(2x256)=25%.
IftheDutyvaluedefinedbytheCCRAregisterisequaltoorgreaterthanthePeriodvalue,thenthe
PWMoutputdutyis100%.
• 10-bit CTM, PWM Mode, Edge-aligned Mode, CTDPX=1
CCRP
001b
011b
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


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