| 数据搜索系统,热门电子元器件搜索 |
|
AN1713 数据表(PDF) 3 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1713 数据表(HTML) 3 Page - STMicroelectronics |
|
3 / 4 page ![]() 3/4 SMBus SLAVE DRIVER FOR ST7 I2C PERIPHERAL Section 3 contains the description of the SMBus driver. These functions available with the driver configure the ST7 I2C peripheral as an SMBus slave and allow it to communicate with any SMBus master. Here all SMBus v1.1 features are supported. This driver can be used in the Smart Battery System and other low-power devices. For more details about the functions please refer to the SMBS_UM.pdf file. 3 SOFTWARE The Software and user manual are available in the zip file supplied with this application note. The User manual explains how to use the SMBus slave functions. An example is also pro- vided to help the user to write an application using SMBus functions. The following lists the source files which can be used for the SMBus slave interface. They are separated into 2 types. 1. User accessible files: Following files can be modified by the user depending on the requirement. main.c: Contains the Example program for SMBus slave driver communication for Write Word, Write Block and read word protocols. Here the PEC option is not chosen. SMBS_config.h: Select the CPU frequency and Packet Error Checking option 2. Non-user accessible files: These files should not be modified by the user. SMBS.c: Contains source code for all the Slave SMBus functions SMBS.h: Contains prototypes for all the slave SMBus functions SMBS_hr.c: Contains all the I2C hardware registers SMBS_hr.h: Declares all the hardware registers as extern This software is tested only for write word, read word and write block protocols. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |