Electronic Components Datasheet Search
  English  ▼

X  

HT45F2020 Datasheet(PDF) 50 Page - Holtek Semiconductor Inc

Part # HT45F2020
Description  Sound Effect Generator Flash MCU
PDF  85 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F2020 Datasheet(HTML) 50 Page - Holtek Semiconductor Inc

Back Button HT45F2020 Datasheet HTML 46Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 47Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 48Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 49Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 50Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 51Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 52Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 53Page - Holtek Semiconductor Inc HT45F2020 Datasheet HTML 54Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 50 / 85 page
background image
Rev. 1.00
50
April 11, 2017
Rev. 1.00
51
April 11, 2017
HT45F2020/HT45F2022
Sound Effect Generator Flash MCU
HT45F2020/HT45F2022
Sound Effect Generator Flash MCU
PTMRPH Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
—
PTRP9
PTRP8
R/W
—
—
—
—
—
—
R/W
R/W
POR
—
—
—
—
—
—
0
0
Bit7~2
Unimplemented,readas“0”
Bit1~0
PTMCCRPHighByteRegisterbit1~bit0
PTM10-bitCCRPbit9~bit8
Periodic Type TM Operation Modes
ThePeriodicTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode,
PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The
operatingmodeisselectedusingthePTM1andPTM0bitsinthePTMC1register.
Compare Match Output Mode
Toselectthismode,bitsPTM1andPTM0inthePTMC1register,shouldbesetto00respectively.
Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare
acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparatorP.
WhenthePTCCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen
acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallowsthe
countertooverflow.HerebothPTMAFandPTMPFinterruptrequestflagsforComparatorAand
ComparatorPrespectively,willbothbegenerated.
IfthePTCCLRbitinthePTMC1registerishighthenthecounterwillbeclearedwhenacompare
matchoccursfromComparatorA.However,hereonlythePTMAFinterruptrequestflagwillbe
generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen
PTCCLRishighnoPTMPFinterruptrequestflagwillbegenerated.IntheCompareMatchOutput
Mode,theCCRAcannotbesetto“0”.
Asthenameofthemodesuggests,afteracomparisonismade,thePTMoutputpinwillchange
state.ThePTMoutputpinconditionhoweveronlychangesstatewhenaPTMAFinterruptrequest
flagisgeneratedafteracomparematchoccursfromComparatorA.ThePTMPFinterruptrequest
flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectonthePTM
outputpin.ThewayinwhichthePTMoutputpinchangesstatearedeterminedbytheconditionof
thePTIO1andPTIO0bitsinthePTMC1register.ThePTMoutputpincanbeselectedusingthe
PTIO1andPTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare
matchoccursfromComparatorA.TheinitialconditionofthePTMoutputpin,whichissetupafter
thePTONbitchangesfromlowtohigh,issetupusingthePTOCbit.NotethatifthePTIO1and
PTIO0bitsarezerothennopinchangewilltakeplace.



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


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