| 전자부품 데이터시트 검색엔진 |
|
AN2511 데이터시트(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2511 데이터시트(HTML) 21 Page - STMicroelectronics |
|
21 / 43 page ![]() AN2511 PMBus commands and source code Doc ID 13286 Rev 2 21/43 3.2 Source code The source code is attached in the zip file along with the application note. This source code is organized as shown below. ' Workspace directory ' Debug ' object files, list files, map files, executable files (.elf), hex code (.s19) ' Sources ' Main.c: Contains main source code. In this file, PMBus interface functions are called (refer to section 3.3). ' Main.h: Contains prototype of all functions used in Main.c. ' PMBus.c: Contains functions for PMBus write and read operation. The data length calculator function and I2C and Alert signal interrupt sub- routines are also written inside this file. ' PMBus.h: Contains prototype of all functions and enumerated data types used in PMBus.c. ' SMBus_Master.c: Contains source code for differnet SMBus master transaction bus protocols. ' SMBus_Master.h: Contains prototype of all functions and enumerated data types used in SMBus_Master.c. ' st72264g1.h: Contains register mapping for ST72F264G1 device. ' ST7_hr.h: Contains hardware register bit definitions for ST7 MCU ' ST7_Config.h: Contains compiler selection, peripheral register inclusion, header files inclusion for linking, macros for assembly instructions and Fcpu Definition. ' interrupt_vector.c: Contains general Interrupt vector table for ST7 devices Table 39. MFR_SPECIFIC_01 Command name MFR_SPECIFIC_01 Command code D1h Description The MFR_SPECIFIC_01 command provides access control for configuration register writes. SMBus transaction type Read byte Number of data bytes 1 Table 40. MFR_SPECIFIC_02 Command name MFR_SPECIFIC_02 Command code D2h Description The MFR_SPECIFIC_02 is a manufacturer defined command. SMBus transaction type Read byte Number of data bytes 1 |
|
링크 URL |
| 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 |