| 전자부품 데이터시트 검색엔진 |
|
HT83B60 데이터시트(PDF) 43 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83B60 데이터시트(HTML) 43 Page - Holtek Semiconductor Inc |
|
43 / 84 page ![]() Rev. 1.00 4� De�e��e� 1�� �011 Rev. 1.00 43 De�e��e� 1�� �011 HT83B60 Voice Mask MCU HT83B60 Voice Mask MCU • RXAKA/B TheRXAKA/Bflagisthereceiveacknowledgeflag.WhentheRXAKA/Bbithasbeenresetto zeroitmeansthatacorrectacknowledgesignalhasbeenreceivedatthe9thclock,after8bits ofdatahavebeentransmitted.Wheninthetransmitmode,thetransmittercheckstheRXAKA/ Bbittodetermineifthereceiverwishestoreceivethenextbyte.Thetransmitterwilltherefore continuesendingoutdatauntiltheRXAKA/Bbitissetto"1".Whenthisoccurs,thetransmitter willreleasetheSDAA/BlinetoallowthemastertosendaSTOPsignaltoreleasethebus. ST AR T si gnal fr om M as te r S end sl av e a ddr es s and R/ W bi t f ro m Ma st er Ac kn ow le dge fr om s la ve Se nd d at a by te fr om M as te r Ac kn ow le dg e fr om s la ve ST OP s i gnal fr om M as te r I2C Bus Communication CommunicationontheI2Cbusrequiresfourseparatesteps,aSTARTsignal,aslavedeviceaddress transmission,adatatransmissionandfinallyaSTOPsignal.WhenaSTARTsignalisplacedonthe I2Cbus,alldevicesonthebuswillreceivethissignalandbenotifiedoftheimminentarrivalofdata onthebus.ThefirstsevenbitsofthedatawillbetheslaveaddresswiththefirstbitbeingtheMSB. Iftheaddressofthemicrocontrollermatchesthatofthetransmittedaddress,theHAASbitinthe SIMC1registerwillbesetandanI2Cinterruptwillbegenerated.Afterenteringtheinterruptservice routine,themicrocontrollerslavedevicemustfirstchecktheconditionoftheHAASbittodetermine whethertheinterruptsourceoriginatesfromanaddressmatchorfromthecompletionofan8-bit datatransfer.Duringadatatransfer,notethatafterthe7-bitslaveaddresshasbeentransmitted,the followingbit,whichisthe8thbit,istheread/writebitwhosevaluewillbeplacedintheSRWbit. Thisbitwillbecheckedbythemicrocontrollertodeterminewhethertogointotransmitorreceive mode.BeforeanytransferofdatatoorfromtheI2Cbus,themicrocontrollermustinitialisethebus, thefollowingarestepstoachievethis: Step1 WritetheslaveaddressofthemicrocontrollertotheI2CbusaddressregisterSIMAR. Step2 SettheSIMENbitintheSIMC0registerto"1"toenabletheI2Cbus. Step3 SettheEHIbitoftheinterruptcontrolregistertoenabletheI2Cbusinterrupt. |
|
링크 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 |