Пример #1
0
 def getFPGARevision() -> int:
     """Return the FPGA Revision number. The format of the revision is 3 numbers. The 12 most
     significant bits are the Major Revision. the next 8 bits are the Minor Revision. The 12 least
     significant bits are the Build Number.
     
     :returns: FPGA Revision number.
     """
     return hal.getFPGARevision()
Пример #2
0
    def getFPGARevision():
        """Return the FPGA Revision number. The format of the revision is 3
        numbers.  The 12 most significant bits are the Major Revision. the
        next 8 bits are the Minor Revision. The 12 least significant bits
        are the Build Number.

        :returns: FPGA Revision number.
        :rtype: int
        """
        return hal.getFPGARevision()
Пример #3
0
    def getFPGARevision() -> int:
        """Return the FPGA Revision number. The format of the revision is 3
        numbers.  The 12 most significant bits are the Major Revision. the
        next 8 bits are the Minor Revision. The 12 least significant bits
        are the Build Number.

        .. deprecated:: 2018.0.0
            Use :meth:`.RobotController.getFPGARevision` instead

        :returns: FPGA Revision number.
        """
        return hal.getFPGARevision()
Пример #4
0
    def getFPGARevision() -> int:
        """Return the FPGA Revision number. The format of the revision is 3
        numbers.  The 12 most significant bits are the Major Revision. the
        next 8 bits are the Minor Revision. The 12 least significant bits
        are the Build Number.

        .. deprecated:: 2018.0.0
            Use :meth:`.RobotController.getFPGARevision` instead

        :returns: FPGA Revision number.
        """
        return hal.getFPGARevision()