Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3209 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN3209
Description  Developing your M24LR64-R datalogger application for temperature acquisition
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3209 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN3209 Datasheet HTML 6Page - STMicroelectronics AN3209 Datasheet HTML 7Page - STMicroelectronics AN3209 Datasheet HTML 8Page - STMicroelectronics AN3209 Datasheet HTML 9Page - STMicroelectronics AN3209 Datasheet HTML 10Page - STMicroelectronics AN3209 Datasheet HTML 11Page - STMicroelectronics AN3209 Datasheet HTML 12Page - STMicroelectronics AN3209 Datasheet HTML 13Page - STMicroelectronics AN3209 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 42 page
background image
Component overview
AN3209
10/42
Doc ID 17419 Rev 2
Read operations
To read from the memory, the I2C master can send read commands to the M24LR64-R. The
command frame must be compliant with the format described in Figure 8.
The M24LR64-R_Datalogger_application_firmware calls the I2C_EE_BufferRead
function which reads a set of bytes from the EEPROM (see Table 3 for a description and an
example).
Figure 8.
Read I2C frame format
Table 2.
I2C page write function
Function description
Function name
I2C_EE_PageWrite(uint8_t* pBuffer, uint16_t WriteAddr,
uint8_t NumByteToWrite)
Parameters
pBuffer: pointer to the buffer containing the data to be written to the EEPROM.
WriteAddr: internal address of the EEPROM where the data must be written.
NumByteToWrite: number of bytes to be written into the EEPROM.
Return value
ErrorStatus:
SUCCEEDED
FAILED
Example
I2C_EE_PageWrite(s_data, 0x0002, 0x01)
writes the content of the
buffer pointed by sedate at address 0x01.
Table 3.
I2C buffer read function
Function description
Function
name
I2C_EE_BufferRead(uint8_t* pBuffer, uint16_t ReadAddr, uint8_t
NumByteToRead)
Parameters
pBuffer: pointer to the buffer where the data read from the EEPROM are stored.
ReadAddr:internal EEPROM address from which the read operation is performed.
NumByteToRead: number of bytes to read from the EEPROM.
Return value
ErrorStatus:
SUCCEEDED
FAILED
Example
I2C_EE_BufferRead (s_data, 0x0002, 0x01)
reads one byte from memory
address 0x01, and stores the value in the buffer pointed by s_data points.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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