| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 198 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 198 Page - Holtek Semiconductor Inc |
|
198 / 298 page ![]() Rev. 1.90 198 �e���a�� 18� �01� Rev. 1.90 199 �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM 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 HC F Bi t De b ounc e Ci rc ui tr y SC L Pi n SD A Pi n C onf i gur at io n Op ti on s 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: • Step1 SettheSIM2~SIM0andSIMENbitsintheSIMC0registerto“1”toenabletheI2Cbus. • Step2 WritetheslaveaddressofthedevicetotheI2CbusaddressregisterSIMA. • Step3 SettheSIMEandSIMMuti-Functioninterruptenablebitoftheinterruptcontrolregisterto enabletheSIMinterruptandMulti-functioninterrupt. |
|
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 |
| 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 |