| Electronic Components Datasheet Search |
|
AN1045 Datasheet(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1045 Datasheet(HTML) 6 Page - STMicroelectronics |
|
6 / 16 page ![]() 6/16 ST7 S/W IMPLEMENTATION OF I2C BUS MASTER Figure 5. Flowchart of the transmission function The reception function is also based on a double shift: a shift of the “count” variable to call 8 times the function I2Cm_RxData (to receive the 8 bits of one data byte) and a shift of a buffer into the I2Cm_RxData function to receive the data bit by bit on the LSB (refer to Figure 6). SDA configured as output count=1 I2C_DR=buffout[j] shift of count I2Cm_TxData count overflows? yes no wait Acknowledge ACK ok? yes no AF=1 END j-- j=FF? no yes j=nb |
|
|
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 |