Datenblatt-Suchmaschine für elektronische Bauteile |
|
HT48R068B Datenblatt(PDF) 85 Page - Holtek Semiconductor Inc |
|
HT48R068B Datenblatt(HTML) 85 Page - Holtek Semiconductor Inc |
85 / 118 page Rev. 1.30 84 �e���a�� 0�� �01� Rev. 1.30 8� �e���a�� 0�� �01� HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU I 2 C Da ta R eg is te r (S IM D) Sl av e Ad dr e ss Re gi st er (S IM A) Sh i ft R egi st er Di re ct i on Co nt ro l M U X A ddr e ss Ma tc h HA AS B it I 2 C In te rr up t Da ta i n LS B Da ta O ut M SB Tr ans mi t/R ec ei ve C ont ro l Un it 8- bi t D at a Co mp le te De te c t S ta rt o r St op Da ta B us A ddr es s Co mp ar at or E nabl e/ Di s abl e A ck now le dge R ead/ wr it e Sl av e SR W Bi t HB B Bi t HT X Bi t SC L Pi n SD A Pi n HC F Bi t I2C Block Diagram I2C Bus Communication CommunicationontheI2Cbusrequiresfourseparatesteps,aSTARTsignal,aslavedeviceaddress transmission,adatatransmissionandfinallyaSTOPsignal.WhenaSTARTsignalisplacedon theI2Cbus,alldevicesonthebuswillreceivethissignalandbenotifiedoftheimminentarrivalof dataonthebus.Thefirstsevenbitsofthedatawillbetheslaveaddresswiththefirstbitbeingthe MSB.Iftheaddressoftheslavedevicematchesthatofthetransmittedaddress,theHAASbitinthe SIMC1registerwillbesetandanI2Cinterruptwillbegenerated.Afterenteringtheinterruptservice routine,theslavedevicemustfirstchecktheconditionoftheHAASbittodeterminewhetherthe interruptsourceoriginatesfromanaddressmatchorfromthecompletionofan8-bitdatatransfer. Duringadatatransfer,notethatafterthe7-bitslaveaddresshasbeentransmitted,thefollowingbit, whichisthe8thbit,istheread/writebitwhosevaluewillbeplacedintheSRWbit.Thisbitwillbe checkedbytheslavedevicetodeterminewhethertogointotransmitorreceivemode.Beforeany transferofdatatoorfromtheI2Cbus,themicrocontrollermustinitialisethebus,thefollowingare stepstoachievethis: Step 1 SettheSIM2~SIM0andSIMENbitsintheSIMC0registerto"1"toenabletheI2Cbus. Step 2 WritetheslaveaddressofthedevicetotheI2CbusaddressregisterSIMA. Step 3 SettheESIMandSIMMuti-Functioninterruptenablebitoftheinterruptcontrolregistertoenable theSIMinterruptandMulti-functioninterrupt. |
Ähnliche Teilenummer - HT48R068B_15 |
|
Ähnliche Beschreibung - HT48R068B_15 |
|
|
Link URL |
Privatsphäre und Datenschutz |
ALLDATASHEETDE.COM |
War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Linktausch | Hersteller All Rights Reserved©Alldatasheet.com |
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 |