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

X  

HT45F12 bảng dữ liệu(PDF) 56 Page - Holtek Semiconductor Inc

tên linh kiện HT45F12
Giải thích chi tiết về linh kiện  8-Bit Flash MCU with Op Amps & Comparators
PDF  104 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  HOLTEK [Holtek Semiconductor Inc]
Trang chủ  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F12 bảng dữ liệu(HTML) 56 Page - Holtek Semiconductor Inc

Back Button HT45F12 Datasheet HTML 52Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 53Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 54Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 55Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 56Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 57Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 58Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 59Page - Holtek Semiconductor Inc HT45F12 Datasheet HTML 60Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 104 page
background image
Rev. 0.00
5�
�e�te��e� ��� �01�
Rev. 0.00
57
�e�te��e� ��� �01�
HT45F12
8-Bit Flash MCU with Op Amps & Comparators
HT45F12
8-Bit Flash MCU with Op Amps & Comparators
Programming Considerations
Withintheuserprogram,oneofthefirstthingstoconsiderisportinitialisation.Afterareset,allof
theI/Odataandportcontrolregisterswillbesethigh.ThismeansthatallI/Opinswilldefaultto
aninputstate,thelevelofwhichdependsontheotherconnectedcircuitryandwhetherpull-high
selectionshavebeenchosen.Iftheportcontrolregisters,PAC~PCC,arethenprogrammedtosetup
somepinsasoutputs,theseoutputpinswillhaveaninitialhighoutputvalueunlesstheassociated
portdataregisters,PA~PC,arefirstprogrammed.Selectingwhichpinsareinputsandwhichare
outputscanbeachievedbyte-widebyloadingthecorrectvaluesintotheappropriateportcontrol
registerorbyprogrammingindividualbitsintheportcontrolregisterusingthe“SET[m].i”and
“CLR[m].i”instructions.Notethatwhenusingthesebitcontrolinstructions,aread-modify-write
operationtakesplace.Themicrocontrollermustfirstreadinthedataontheentireport,modifyitto
therequirednewbitvaluesandthenrewritethisdatabacktotheoutputports.
T1
T2
T3
T4
T1
T2
T3
T4
Wr it e to P or t
R ead fr om P or t
S yst em C lo ck
Po rt D at a
Read Modify Write Timing
PortAhastheadditionalcapabilityofprovidingwake-upfunctions.Whenthedeviceisinthe
SLEEPorIDLEMode,variousmethodsareavailabletowakethedeviceup.Oneoftheseisahigh
tolowtransitionofanyofthePortApins.SingleormultiplepinsonPortAcanbesetuptohavethis
function.Inaddition,thePortBpinsalsoprovideOpenDrainI/Ostructureoptionswhichcanbe
controlledbythespecificregister.
Timer/Event Counter
Theprovisionoftimersformanimportantpartofanymicrocontroller,givingthedesignerameans
ofcarryingouttimerelatedfunctions.Thedevicecontainsasiglecount-uptimerof8-bitcapacity.
Asthetimerhasthreedifferentoperatingmodes,itcanbeconfiguredtooperateasageneraltimer,
anexternaleventcounterorasapulsewidthcapturedevice.Theprovisionofaninternalprescaler
totheclockcircuitryongivingaddedrangetothetimer.
TherearetwotypesofregistersrelatedtotheTimer/EventCounter.Thefirstistheregistersthat
containtheactualvalueoftheTimer/EventCounterandintowhichaninitialvaluecanbepreloaded.
ReadingfromtheseregistersretrievesthecontentsoftheTimer/EventCounter.Thesecondtype
ofassociatedregisteristheTimerControlRegisterwhichdefinesthetimeroptionsanddetermines
howtheTimer/EventCounteristobeused.TheTimer/EventCountercanhaveitsclockconfigured
tocomefromaninternalclocksource.Inaddition,itsclocksourcecanalsobeconfiguredtocome
fromanexternaltimerpin.
TO N
Pr el oad R eg is te r
Ti me r/ Ev ent
Co un te r
Da ta B us
Re l oad
Ov er fl ow
to I nt er ru pt
2
8- Bi t Ti me r/ Ev en t Co unt er
PF D0
¸
Ti me r/ Ev ent C oun te r
M ode C on tr ol
7- st a ge Pr es ca le r
TP SC 2~ TP SC 0
(1 /1 ~1 /1 28 )
TM 1T M0
f SY S
TM R
TE
Fi lt er
Fi lt er O n/ Of f
Co nf ig ur at io n op ti on
M
U
X
Co m par at or 1
ou tp ut
TM 0 , T M1
8-bit Timer/Event Counter Structure
2. ,
2. ,
2)# , =J =
Note:TheoutputiscontrolledbyPA5data.



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