Zakładka z wyszukiwarką danych komponentów |
|
HT48R068B Arkusz danych(PDF) 87 Page - Holtek Semiconductor Inc |
|
HT48R068B Arkusz danych(HTML) 87 Page - Holtek Semiconductor Inc |
87 / 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 I2C Bus Read/Write Signal TheSRWbitintheSIMC1registerdefineswhethertheslavedevicewishestoreaddatafromthe I2CbusorwritedatatotheI2Cbus.Theslavedeviceshouldexaminethisbittodetermineifitisto beatransmitterorareceiver.IftheSRWflagis"1"thenthisindicatesthatthemasterdevicewishes toreaddatafromtheI2Cbus,thereforetheslavedevicemustbesetuptosenddatatotheI2Cbusas atransmitter.IftheSRWflagis"0"thenthisindicatesthatthemasterwishestosenddatatotheI2C bus,thereforetheslavedevicemustbesetuptoreaddatafromtheI2Cbusasareceiver. I2C Bus Slave Address Acknowledge Signal Afterthemasterhastransmittedacallingaddress,anyslavedeviceontheI2Cbus,whose owninternaladdressmatchesthecallingaddress,mustgenerateanacknowledgesignal.The acknowledgesignalwillinformthemasterthataslavedevicehasaccepteditscallingaddress.Ifno acknowledgesignalisreceivedbythemasterthenaSTOPsignalmustbetransmittedbythemaster toendthecommunication.WhentheHAASflagishigh,theaddresseshavematchedandtheslave devicemustchecktheSRWflagtodetermineifitistobeatransmitterorareceiver.IftheSRWflag ishigh,theslavedeviceshouldbesetuptobeatransmittersotheHTXbitintheSIMC1register shouldbesetto"1".IftheSRWflagislow,thenthemicrocontrollerslavedeviceshouldbesetupas areceiverandtheHTXbitintheSIMC1registershouldbesetto"0". I2C Bus Data and Acknowledge Signal Thetransmitteddatais8-bitswideandistransmittedaftertheslavedevicehasacknowledged receiptofitsslaveaddress.TheorderofserialbittransmissionistheMSBfirstandtheLSBlast. Afterreceiptof8-bitsofdata,thereceivermusttransmitanacknowledgesignal,level"0",before itcanreceivethenextdatabyte.Iftheslavetransmitterdoesnotreceiveanacknowledgebitsignal fromthemasterreceiver,thentheslavetransmitterwillreleasetheSDAlinetoallowthemaster tosendaSTOPsignaltoreleasetheI2CBus.ThecorrespondingdatawillbestoredintheSIMD register.Ifsetupasatransmitter,theslavedevicemustfirstwritethedatatobetransmittedintothe SIMDregister.Ifsetupasareceiver,theslavedevicemustreadthetransmitteddatafromtheSIMD register. Whentheslavereceiverreceivesthedatabyte,itmustgenerateanacknowledgebit,knownas TXAK,onthe9thclock.Theslavedevice,whichissetupasatransmitterwillchecktheRXAKbit intheSIMC1registertodetermineifitistosendanotherdatabyte,ifnotthenitwillreleasethe SDAlineandawaitthereceiptofaSTOPsignalfromthemaster. |
Podobny numer części - HT48R068B_15 |
|
Podobny opis - HT48R068B_15 |
|
|
Link URL |
Polityka prywatności |
ALLDATASHEET.PL |
Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Linki | Lista producentów 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 |