X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fxfp%2F__init__.py;h=72f359505b1171f1931e6068c367da5edce8327a;hb=6cbba91f23b9f9ace75b4722c9c0776b9211008d;hp=928fbc73dff847eebff3e62749f4bf0ca76ff29b;hpb=845f0d4031780220451037e87885e1ff79670976;p=libsigrokdecode.git diff --git a/decoders/xfp/__init__.py b/decoders/xfp/__init__.py index 928fbc7..72f3595 100644 --- a/decoders/xfp/__init__.py +++ b/decoders/xfp/__init__.py @@ -14,15 +14,14 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## ''' -XFP I2C management interface structure decoder. +This PD decodes the XFP I²C management interface structures/protocol. -XFP modules include an I2C interface, used to monitor and control various -aspects of the module. The specification defines an I2C slave at address +XFP modules include an I²C interface, used to monitor and control various +aspects of the module. The specification defines an I²C slave at address 0x50 (0xa0) which returns 128 bytes of a standard structure ("lower memory"), and, after setting a table number in lower memory, a set of 256 "higher memory" tables, which can be mapped to different subdevices on the XFP. @@ -32,10 +31,8 @@ module startup. Other table are either reserved for future expansion, or available for vendor-specific extensions. This decoder supports both lower memory and table 0x01. -The XFP specification is available here: - - ftp://ftp.seagate.com/sff/INF-8077.PDF +Details: +ftp://ftp.seagate.com/sff/INF-8077.PDF (XFP specification) ''' -from .pd import * - +from .pd import Decoder