| Electronic Components Datasheet Search |
|
TMP89FS60 Datasheet(PDF) 297 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP89FS60 Datasheet(HTML) 297 Page - Toshiba Semiconductor |
|
297 / 410 page ![]() Page 283 TMP89FS60 RA001 18.5.4 Stop condition generation When SBI0CR2<BB> is "1", a sequence of generating a stop condition is started by setting "1" to SBI0CR2<MST>, SBI0CR2<TRX> and SBI0CR2<PIN> and clearing SBI0CR2<BB> to "0". Do not modify the contents of SBI0CR2<MST>, SBI0CR2<TRX>, SBI0CR2<BB> and SBI0CR2<PIN> until a stop condi- tion is generated on a bus. When a SCL line on a bus is pulled down by other devices, a serial bus interface circuit generates a stop con- dition after a SCL line is released. The time from the releasing SCL line until the generating the STOP condition takes tHIGH. Figure 18-21 Stop Condition Generation 18.5.5 Restart Restart is used to change the direction of data transfer between a master device and a slave device during transferring data. The following explains how to restart the serial bus interface circuit. Clear SBI0CR2<MST>, SBI0CR2<TRX> and SBI0CR2<BB> to "0" and set SBI0CR2 <PIN> to "1". The SDA0 pin retains the high level and the SCL0 pin is released. Since this is not a stop condition, the bus is assumed to be in a busy state from other devices. Check SBI0SR2<BB> until it becomes "0" to check that the SCL0 pin of the serial bus interface circuit is released. Example :Generate the stop condition LD (SBI0CR2), 0xD8 ; Sets SBI0CR2<MST>, <TRX> and <PIN> to "1" and SBI0CR2<BB> to "0" CHK_BB: TEST (SBI0SR2).BB ;Waits until the bus is set free JR T, CHK_BB Stop condition If the SCL of the bus is pulled down by other devices, the stop condition is generated after it is released SDA0 pin SCL0 pin SCL (Bus) SBI0CR2<PIN> SBI0SR2<BB> SBI0CR2<MST>="1" SBI0CR2<TRX>="1" SBI0CR2<BB>="0" SBI0CR2<PIN>="1" |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |