Os motores de busca de Datasheet de Componentes eletrônicos |
|
HT48R068B Folha de dados(PDF) 86 Page - Holtek Semiconductor Inc |
|
HT48R068B Folha de dados(HTML) 86 Page - Holtek Semiconductor Inc |
86 / 118 page Rev. 1.30 86 �e���a�� 0�� �01� Rev. 1.30 87 �e���a�� 0�� �01� HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU St ar t Wr it e Sl av e A ddr e ss to S IM A SE T SI M[ 2: 0] =1 10 SE T SI ME N I 2 C Bu s In te rr up t= ? Ye s No SE T EM FI a nd ES IM Wa it f or In te rr upt Go to M ai n Pr og ra m CL R ES IM Po ll S IM F to d ec i de wh en t o go t o I 2 C Bu s IS R Go to M ai n Pr og ra m I2C Bus Initialisation Flow Chart I2C Bus Start Signal TheSTARTsignalcanonlybegeneratedbythemasterdeviceconnectedtotheI2Cbusandnotby theslavedevice.ThisSTARTsignalwillbedetectedbyalldevicesconnectedtotheI2Cbus.When detected,thisindicatesthattheI2CbusisbusyandthereforetheHBBbitwillbeset.ASTART conditionoccurswhenahightolowtransitionontheSDAlinetakesplacewhentheSCLline remainshigh. Slave Address ThetransmissionofaSTARTsignalbythemasterwillbedetectedbyalldevicesontheI2Cbus. Todeterminewhichslavedevicethemasterwishestocommunicatewith,theaddressoftheslave devicewillbesentoutimmediatelyfollowingtheSTARTsignal.Allslavedevices,afterreceiving this7-bitaddressdata,willcompareitwiththeirown7-bitslaveaddress.Iftheaddresssentoutby themastermatchestheinternaladdressofthemicrocontrollerslavedevice,thenaninternalI2Cbus interruptsignalwillbegenerated.Thenextbitfollowingtheaddress,whichisthe8thbit,defines theread/writestatusandwillbesavedtotheSRWbitoftheSIMC1register.Theslavedevicewill thentransmitanacknowledgebit,whichisalowlevel,asthe9thbit.Theslavedevicewillalsoset thestatusflagHAASwhentheaddressesmatch. AsanI2Cbusinterruptcancomefromtwosources,whentheprogramenterstheinterrupt subroutine,theHAASbitshouldbeexaminedtoseewhethertheinterruptsourcehascomefrom amatchingslaveaddressorfromthecompletionofadatabytetransfer.Whenaslaveaddressis matched,thedevicemustbeplacedineitherthetransmitmodeandthenwritedatatotheSIMD register,orinthereceivemodewhereitmustimplementadummyreadfromtheSIMDregisterto releasetheSCLline. |
Nº de peça semelhante - HT48R068B_15 |
|
Descrição semelhante - HT48R068B_15 |
|
|
Ligação URL |
Privacy Policy |
ALLDATASHEETPT.COM |
ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | roca de Link | Lista de Fabricantes 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 |