Electronic Components Datasheet Search |
|
AN1045 Datasheet(PDF) 5 Page - STMicroelectronics |
|
AN1045 Datasheet(HTML) 5 Page - STMicroelectronics |
5 / 16 page 5/16 ST7 S/W IMPLEMENTATION OF I2C BUS MASTER Figure 4. Buffer of transmission structure The buffer of transmission contains the EEPROM address, the sub address (the address where you want to write into the EEPROM) and then the data to transmit. In this application, a parameter called “n” allows you to modify the number of data to transmit and then to receive. The number of data is “n-1”, that means that in this application, as 3 data have to be sent, “n=4”. The transmission function is based on a double shift: a shift of the “count” variable to call 8 times the function I2Cm_TxData (to send the 8 bits of one data byte) and a shift into the I2Cm_TxData function to always send the MSB of the data (refer to Figure 5). 0 data nb-2 | | | | nb-3 data2 nb-2 data1 nb-1 sub @ nb EEPROM @ |
Similar Part No. - AN1045 |
|
Similar Description - AN1045 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |