| Electronic Components Datasheet Search |
|
HT45F75 Datasheet(PDF) 124 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F75 Datasheet(HTML) 124 Page - Holtek Semiconductor Inc |
|
124 / 190 page ![]() Rev. 1.10 1�� De�e��e� 1�� �01� Rev. 1.10 1�5 De�e��e� 1�� �01� HT45F75 Body Fat Scale Flash MCU HT45F75 Body Fat Scale Flash MCU SIMTOC Register Bit 7 6 5 4 3 2 1 0 Na�e SIMTOEN SIMTOF SIMTOS5 SIMTOS� SIMTOS3 SIMTOS� SIMTOS1 SIMTOS0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 Bit7 SIMTOEN:I2CinterfaceTime-outcontrol 0:Disable 1:Enable Bit6 SIMTOF:I2CinterfaceTime-outflag 0:Nooccurred 1:Occurred TheSIMTOFflagissetbythetime-outcircuitrywhenthetime-outeventoccursand clearedbysoftwareprogram. Bit5~0 SIMTOS5~SIMTOS0:I2CinterfaceTime-outperiodselection TheI2CTime-OutclocksourceisfSUB/32. TheI2CTime-Outtimeis([SIMTOS5:SIMTOS0]+1)×(32/fSUB) 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~SIM0bitsto"110"andtheSIMENbitsto"1"intheSIMC0registertoenablethe I2Cbus. • Step2 WritetheslaveaddressofthedevicetotheI2CbusaddressregisterSIMA. • Step3 SettheSIEandSIMMuti-Functioninterruptenablebitoftheinterruptcontrolregistertoenable theSIMinterruptandMulti-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 |