Electronic Components Datasheet Search
  English  ▼

X  

AN2038 Datasheet(PDF) 16 Page - STMicroelectronics

Part # AN2038
Description  I2C emulation with ST7MC in slave mode
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2038 Datasheet(HTML) 16 Page - STMicroelectronics

Back Button AN2038 Datasheet HTML 12Page - STMicroelectronics AN2038 Datasheet HTML 13Page - STMicroelectronics AN2038 Datasheet HTML 14Page - STMicroelectronics AN2038 Datasheet HTML 15Page - STMicroelectronics AN2038 Datasheet HTML 16Page - STMicroelectronics AN2038 Datasheet HTML 17Page - STMicroelectronics AN2038 Datasheet HTML 18Page - STMicroelectronics AN2038 Datasheet HTML 19Page - STMicroelectronics AN2038 Datasheet HTML 20Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 23 page
background image
Function description
AN2038
16/23
Low level routine
Function Name
Input Parameter
Return Value
Init_INT_SCK_4_I2C
void
void
Description
Initialize the external interrupt SCK (ei2 PC1). (This function is called by Init_I2C_Protocol)
This function sets PC1 as floating interrupt sensitive to falling edge.
Function Name
Input Parameter
Return Value
Init_INT_SDA_4_I2C
void
void
Description
Initialize the external interrupt SDA (ei0 PD1). (This function is called by Init_I2C_Protocol)
This function sets PD1 as floating interrupt sensitive to rising and falling edge.
Function Name
Input Parameter
Return Value
I2C_enable_SPI
void
void
Description
This function enables the SPI communication. It is enabled after a Start condition and falling of SCK.
It clear also the pending bit.
Function Name
Input Parameter
Return Value
I2C_disable_SPI
void
void
Description
This function disables the SPI communication. The ports is dedicated to sensing the edge transition
using port interrupts.
Function Name
Input Parameter
Return Value
I2C_Stop_detected
void
void
Description
This function is called when a Stop condition is detected. It disables the SPI peripheral and
reinitialize SDA and SCK interrupts.
If the communication is from master to slave (I2C_SLAVE_READ_flag set true) the flag
New_Data_Receved is set to true for high level protocol purposes (ProtoSup),
Otherwise if the communication is from slave to master (I2C_SLAVE_WRITE_flag set true) the flag
New_Data_Sent is set to true.



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


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