数据搜索系统,热门电子元器件搜索 |
|
HT48R068B 数据表(PDF) 86 Page - Holtek Semiconductor Inc |
|
HT48R068B 数据表(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. |
类似零件编号 - HT48R068B_15 |
|
类似说明 - HT48R068B_15 |
|
|
链接网址 |
隐私政策 |
ALLDATASHEETCN.COM |
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 |