| 전자부품 데이터시트 검색엔진 |
|
HT45F75 데이터시트(PDF) 124 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F75 데이터시트(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. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |